(I sent this a few days ago, but screwed up my subscription, so I don't
think it got through.)
My local delivery agent is procmail: v3.22 on Mac OS X 10.2.8.
A couple times a day I wind up with one or another Unix mbox file which
doesn't have a blank line between the end of one message and the From_ line
of the next message. I wrote a chkmail script which runs periodically to
tell me how many new messages await my attention in each of my mailboxes.
It detects this situation and alerts me.
Until today, all these failures had turned up in spam mailboxes (I run
SpamBayes' sb_filter.py script from my procmailrc file to score incoming
mail) so I wasn't all that concerned that I might miss a spam. I'd just add
a blank line in a text editor. Today, chkmail alerted me to a missing blank
line in my main mbox, which is filled from my last procmailrc rule:
# everything else falls through to here.
:0
mbox
I see nothing in my procmail logfile which would suggest a failure. In
fact, no new output has found its way to that file in a couple weeks. The
last one was a Python traceback. I have a fairly long procmailrc file, but
it's also pretty straightforward.
It would seem this sort of problem has to be due to some sort of locking
failure between multiple procmail instances. Is procmail supposed to insure
there's a blank line after every message it adds to a mailbox or is the mail
supposed to end with "\n\n" when procmail gets it? I'd welcome any clues to
its cause.
Addendum: This morning I found a missing blank line between messages in two
mailboxes. The interesting thing is the first message in both cases is the
same message. (The same message being in two mailboxes is by design.) That
would suggest that procmail does nothing to insure that there is a blank
line after each message. Is that the case? Is there a way to get it to
enforce that requirement?
Thx,
--
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://spambayes.sf.net/
skip(_at_)pobox(_dot_)com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail