procmail
[Top] [All Lists]

Re: Can procmail deliver to mbox and maildir for the same user?

2005-01-14 03:47:07
On 13 Jan 2005 Del Stoliker (dstoliker(_at_)alphagraphics(_dot_)com) wrote:
I'd like to configure procmail to
deliver mail to both the user's mbox located at /var/spool/mail/$user and
maildir located at ~/Maildir for a while in case I need to fail back over to
the original server setup.  Is this possible? Practical? Crazy?

It's not crazy at all and should be straightforward. Something like this should work:

:0 c:
/var/spool/mail/$LOGNAME

:0
$HOME/Maildir/


The 'c' on the first recipe means 'continue processing this message even if it is delivered by this recipe'

Hope this helps,
Nancy

--
Infinite Ink: <http://www.ii.com/>
Procmail Quick Start: <http://www.ii.com/internet/robots/procmail/qs/>

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail