Foudil(_dot_)Bretel(_at_)inria(_dot_)fr writes:
We are using procmail 3.22 on a Linux (2.4.16) to deliver mail via sendmail
8.11.1
to users' homedirs under AFS.
Locking strategies: dotlocking
We have a /etc/mail/procmailrc wich contains one line :
ORGMAIL=/var/spool/mail/$LOGNAME
So that when delivery to DEFAULT fails, it still delivers to ORGMAIL (this
works fine)
Here is the problem : the ORGMAIL never gets locked.
(with or without a ~/.procmailrc)
The implicit delivery to $ORGMAIL, performed if delivery to $DEFAULT
fails and $ORGMAIL and $DEFAULT are different, is done without dotlocking.
The only way to change this behavior is to alter the source and reinstall.
You would need to change line 506 of src/procmail.c from:
if(writefolder(chp2,(char*)0,themail.p,filled,0,0)) /* don't panic */
to:
if(writefolder(chp2,(char*)0,themail.p,filled,0,1)) /* don't panic */
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail