procmail
[Top] [All Lists]

New User: Locking file issue and other bits [Part 2]

2003-02-05 03:13:23
Thanks to the previous advice I have made some progress.

My global procmailrc works, my ~/.procmailrc files are gone and
~/.forward files are no longer required. Amazing how it works as
documented when you actually do it correctly!

To help debug it is listed here:

PMDIR=/etc/procmail
LOGFILE=/var/log/procmail.log
LOG="
"
VERBOSE=yes
##LOGABSTRACT=no
MAILDIR=$HOME/evolution
##DEFAULT=/var/spool/mail/rachel  (commented out due to locking prob)
INCLUDERC=$PMDIR/rc.daddy

I am still having problems delivering to the mail spool directory of
users.

Based on my last email, if I put a test through this filter, in this
case, testing on my LAN, sending an email to logan(_at_)monaro(_dot_)local, with
Redhat as the subject:

:0:
* ^Subject:.*Redhat
/var/spool/mail/roland

I get the following in my log (verbose on)

procmail: [3593] Wed Feb  5 22:27:47 2003
procmail: Assigning "MAILDIR=/home/logan/evolution"
procmail: Assigning "INCLUDERC=/etc/procmail/rc.daddy"
procmail: Match on "^Subject:.*Redhat"
procmail: Locking "/var/spool/mail/roland.lock"
procmail: Error while writing to "/var/spool/mail/_J4.TkNQ-.rrl03" 
   (# rrl03 is host name of my Linux PC)                    ^^^^^  
procmail: Lock failure on "/var/spool/mail/roland.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/roland"
procmail: Opening "/var/spool/mail/roland"
procmail: Error while writing to "/var/spool/mail/roland"
procmail: Assigning
"PATH=/home/logan/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
procmail: Bypassed locking "/var/spool/mail/logan.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/logan"
procmail: Opening "/var/spool/mail/logan"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "logan(_at_)2145:/var/spool/mail/logan"
From root(_at_)monaro(_dot_)local  Wed Feb  5 22:27:47 2003
 Subject: Redhat 2227
  Folder:
/var/spool/mail/logan                                             520

Do I have a permissions issue? Guess I don't fully understand the log.

/etc/procmailrc has root.root ownership and 755 permissions

Thanks for your time.

Roland Hill

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail