procmail
[Top] [All Lists]

Re: Procmail & elm lock interaction

1996-07-26 09:46:41


On Wed, 24 Jul 1996, David W. Tamkin wrote:

The problem is that Elm is not locking the folder at all.  Procmail freely
adds new mail to that folder, and since procmail files mail by writing the
"F" of "From", waiting one second, and then continuing with "rom " and the
rest of the From_ line, during that second Elm finds that the folder is
corrupt: it suddenly is one byte longer than Elm expects and doesn't end
in two newlines (or even one).

Ah HA! The above 'write a character, wait a second' action by Procmail
explains EXACTLY what was happening to mail files that are also handled by
IPOP3D on our campus-wide mail host.

I kept seeing mailfiles with 'corrupted' "From:" headers in the first two
notes. The 1st one would be "FFrom:" and the 2nd one would be "rom:".

Between Sendmail, Bellmail, Procmail, IPOP3D, IMAP, Eudora, and Pine, I
couldn't figure out how just that one header record was getting mangled,
but suspected that it was because of something that Procmail was doing.

Now I just need to find a cooperative way to prevent such Procmail
results, and I can try using it again.

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