Note to the procmail-list folks, the mutt list grew this thread that
spawned the question, how to deliver to Maildirs safely from an old,
musty, non-maildir-supporting procmail. Various suggestions were
bashed back and forth, and after I read the thread it looked to me
like we were closing in on something actually [potentially] useful.
Supposing a user's ISP won't upgrade their procmail, or allow them
to install a nice tight efficient compact maildir.c executable, how
about something like:
# Needed only once, in the preamble of the procmailrc
XXX=`date +%S`.$$.$HOST
# other recipes may come here
:0
* ^Sender: owner-mutt-users(_at_)mutt(_dot_)org
{
:0 fw
|cat >mutt/tmp/$XXX
:0 a
|mv mutt/tmp/$XXX mutt/new/$XXX
}
-Bennett
pgpuNnUsvcz4C.pgp
Description: PGP signature