This message also sent to the procmail mailing list because I hope to either
get an answer from them or an answer to them...
Briefly: 'appnmail' is a program used by NeXTStep to update the
table_of_contents file used with the Mail.app. It does it's own locking and
is used in the following manner:
:0
* ^TOluomat\+urlminder
| appnmail Computer-Stuff/URL-Minder
and that would append the message to
~/Mailboxes/Computer-Stuff/Url-Minder.mbox/mbox and update the
~/Mailboxes/Computer-Stuff/Url-Minder.mbox/table_of_contents file as well.
I just had this happen:
appnmail:
/Users/luomat/Mailboxes/Computer-Stuff/Computer-Stuff/URL-Minder.mbox: No
such file or directory
because I had this:
:0
* ^TOluomat\+urlminder
| appnmail Computer-Stuff/Computer-Stuff/URL-Minder
obviously a copy & pastepaste rather than paste ;-)
procmail ignored this, and therefore the mail was "lost" (of course I had a
backup)
However, had I been using this:
:0w
* ^TOluomat\+urlminder
| appnmail Computer-Stuff/Computer-Stuff/URL-Minder
procmail would have seen the error and NOT quit trying to deliver, and it
would have ended up in a different folder or my mailspool.
Is there ANY reason why I should NOT use the 'w' flag with all my recipes
which use 'appnmail' which has good exitcodes?
(I understand this behavior not the default for the reason
that some programs do not exit with zero even when they
should. I happen to think it is a bad reason personally,
but that is besides the point.)
Thanks
TjL