On 2019-06-29 15:24, Frank Watt wrote: > My question is: how do I know what type of file locking that has been > in use all these years of using fetchmail?
AFAIK the default mode for fetchmail is not to touch the mailbox file itself at all, but either deliver the message via SMTP to port 25 on localhost, or pipe it to a MDA such as procmail. So your question may be a bit confused and you should have asked about _procmail_, not fetchmail. I happen to know that procmail tries to lock the file in _all_ the ways available on the system, for instance on Linux with a dotlock temporary file, with flock, and with fcntl. This is a bit overkill but it means procmail is safe to use as long as the other program accessing the mailbox uses any locking at all. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.