* Jerry Feldman
This is surely an RTFM, but I was not able to locate it in the FAQs. KMail uses a lock file (or fcntl) to lock a local mailbox when incorporating email. Procmail(1) uses /var/spool/mail/$LOGNAME.lock. However, since Postfix does not use procmail I was wondering if it followed the same convention that procmail does?
IF you use procmail as the lda, postfix *does* use procmail. Postfix default delivers to /var/mail/$USER. If you set postfix to use procmail, procmail accepts mail from postfix (before delivery to $USER) and delivers mail according to your recipies, and utilizes locks *only* where you have placed them in your recipies.
Also, AFAIK, fetchmail simply pipes its output into postfix via the sendmail interface, so the only guys updating /var/spool/mail/$LOGNAME are postfix and kmail.
If I used kmail, I would turn off kmail's fetching (both local and externall) and allow procmail to deliver. Remember to set locks when writing to mbox files (the trailing ':' as :0:), not necessary to maildir files. Kmail and procmail should each honor the locks of the other and not cause any problem other than a delay. But why utilize two lda's? Pick one or the other and do not make a potential problem. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos