procmail
[Top] [All Lists]

Re: error writing to

2004-09-08 13:22:41
On Wed, 2004-09-08 at 17:47, Travel Jadoo wrote: 
On Wed, 2004-09-08 at 16:50, Dallman Ross wrote:
On Wed, Sep 08, 2004 at 03:38:57PM +0200, Travel Jadoo wrote:
I have been trying to work out why I do get this error:
Error while writing to "/var/spool/mail/_TSC.LWwPBB.terminator.odysse"

where could possibly the _TSC.LWwPBB come from? terminator.odyssey is
the localhost as you guess

Am I goofing up? btw I use Fedora core 2.

That is a typical thing that happens sometimes with NFS (networked
fileshares) where a process did not shut down cleanly leaving a
temp file in place.  Check your process tables.  Could also be
a permissions problem so that the temp file can't close out
because the target is unwriteable.

dman (has no idea what Fedora" is)

I don't use NFS so I guess it's a permission issue.


Procmail uses the same user permissions as the home user (in this case
admin) so what's wrong with this?

[root(_at_)terminator root]# ls -l /var/spool/mail/admin
-rw-rw----  1 admin mail 0 Sep  8 17:36 /var/spool/mail/admin

Thanks,
Alfred

Actually I just noticed that the directories /var and /var/spool both
have
drwxr-xr-x  18 root root   4096 Jul 20 10:09 spool

But if I just set lockfile=$HOME/.procmail.lock to avoid any problems in
the root I get the same errors. As a matter of fact it still tries to
lock /var/spool/mail/admin

procmail: Unlocking "/home/admin/.procmail.lock"
procmail: [4575] Wed Sep  8 22:09:17 2004
procmail: Assigning "SENDER=<>"
procmail: Assigning "SHIFT=1"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)(_dot_)waardeloos(_at_)xs4all(_dot_)nl"
procmail: No match on
"^(To|Cc|Bcc|From).*(fieo|JISCMAIL.AC.UK|ecs.soton.ac.uk|postgresql.org|ososs.nl|Aachen.de)"
procmail: No match on "^X-Spam-Flag: YES"
procmail: No match on "^Subject:.*SPAM*"
procmail: Match on !
"^(To|Cc|Bcc|From).*(res|accounts|admin)@(odysseyindia.com|abc.com)"
procmail: Match on !
"^(To|Cc|Bcc|From).*(webmaster|admin|trade)@(abc.com|abc.net|odysseyindia.com)"
procmail: No match on !
"^(To|Cc|Bcc|From).*(announce|mita|jadoo|alfredtuinman)@xs4all.nl"
procmail: Locking "/var/spool/mail/admin.lock"
procmail: Error while writing to
"/var/spool/mail/_fHB,tb2PBB.terminator.odysse"
procmail: Lock failure on "/var/spool/mail/admin.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/admin"
procmail: Opening "/var/spool/mail/admin"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "admin(_at_)0:/var/spool/mail/admin"
From jadoo(_at_)xs4all(_dot_)nl  Wed Sep  8 22:09:17 2004
 Subject: test
  Folder: /var/spool/mail/admin                                            2295
procmail: Unlocking "/home/admin/.procmail.lock"

Sorry but I must be overlooking something?

Thanks,
Alfred

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>