procmail
[Top] [All Lists]

Re: procmail and mail file locking

2020-05-17 08:09:17


On 5/17/20 8:00 AM, Andreas Schamanek wrote:

On Sun, 17 May 2020, at 07:37, Robert Moskowitz wrote:

Does procmail default lock the local delivery mail file as I have been told postfix and other MTAs do?
In case of files, yes.
Just to be sure, you are talking about the mbox mail file.  Your last comment seems to assure me that you mean writing to an mbox file.

Procmail has by default locking support for writing to any file as long as it is (at least) a regular file, that includes mbox and maildir, of course.

Se also https://linux.die.net/man/5/procmailrc
which mentions using lock files.

I am piping the output of a formail command into procmail. No receipts.

Piping formail also doesn't change the fact that procmail has its default locking when delivering to files. But I did not get your remark about receipts.

I am not using receipts where I see the use of lockfile in the examples.  I have a 'simple' formail command that is then piped into procmail.

My procmailrc(5) does not mention "receipt". Maybe you mean "recipe"? But then, almost everything in procmailrc is a recipe :)

ARGH!!!  Mr. Malaprop strikes again.  Rudd has nothing over me in using the wrong word.

Yes, at some point it would be nice to work out how recipes work, outside of the kitchen.  But for now I am doing this all in the command line.

____________________________________________________________
procmail mailing list -- procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de   
Procmail homepage: http://www.procmail.org/
To unsubscribe send an email to 
procmail-leave(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://lists.rwth-aachen.de/postorius/lists/procmail.lists.rwth-aachen.de

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