procmail
[Top] [All Lists]

Bypassed locking ...

2001-06-05 07:23:35
Hello,
  I helkped someone to install procmail as a user on Sun machine, so
calles procmail form his .forward. He's using it to forward some e-mail to
a mobile via the :0c block. All his e-mail should get delivered at 
the end of .procmailrc by procmail itself (i.e. they are not
explicitly saved during procmail processing the script).

However, he gets some e-mails delivered only to the mobile and not to his
local account into /var/mail/kamil. Here's one of the e-mails which he
read only via mobile.

procmail: Bypassed locking "/var/mail/kamil.lock"
procmail: Assigning "LASTFOLDER=/var/mail/kamil"
procmail: Opening "/var/mail/kamil"
procmail: Acquiring kernel-lock
procmail: No match on "=\?[^?]+\?[qb]\?[^?]+\?="
  From aaa(_at_)bbb(_dot_)cz  Mon May 21 10:56:28 2001
  Subject: RE: Upozorneni
   Folder: /var/mail/kamil

$ ls -lad /var/mail
drwxrwxrwt   3 root     mail       35840 Jun  5 16:01 /var/mail
$ grep Mlocal /etc/mail/sendmail.cf
Mlocal,         P=/usr/lib/mail.local, F=lsDFMAw5:/|@qSXfmnz9, S=10/30, R=20/40,
$

The manpage says

     Bypassed locking "x"   The mail spool directory was not  ac-
                            cessible to procmail, it relied sole-
                            ly on kernel locks.

The question is:
  would be of help if he puts at the end of his .procmailrc
line like:

:0:
/var/mail/kamil

The system is running sendmail and mail.local as LDA. Choosing a different
lockfile outside /var/mail is also useless I think. Why do some of his
e-mail get lost, when as LDA is in his case called procmail? Procmail
3.15.1, compiled by me on this machine. I think only pop3 daemon is
touching the mailfile in the meantime-as far as I can image something.

TIA
-- 
Martin Mokrejs - PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
<mmokrejs(_at_)natur(_dot_)cuni(_dot_)cz> Faculty of Science, The Charles 
University




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

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