procmail
[Top] [All Lists]

Re: Redirect to two persons

2006-01-31 13:01:50
Professional Software Engineering escreveu:

First, WHERE is your procmail rule - in a personal ~/.procmailrc, or in 
/etc/procmailrc ?  

/etc/procmailrc

# note DOT is escaped, and headers are ANCHORED and have trailing colons
:0
* ^To:(_dot_)*sector1(_at_)internal
* ^From:(_dot_)*(_at_)external\(_dot_)com
!sector2,sector3

This forwards the message to the other two mailboxes.  If they're likely to 
bounce mail back into the sector1 mailbox, you should add loop checking, 
for example:

This configuration produces loops and the message "Folder: 
/usr/sbin/sendmail -oi sector2,sector3".

Thanks!


____________________________________________________________
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

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