Professional Software Engineering wrote:
Better yet, add an X-Loop, and reconsider forwarding Mailer messages
(which _could_ be a mail loop in waiting):
:0c
* ^(To|Cc):(_dot_)*rmiller(_at_)mdah\(_dot_)state\(_dot_)ms\(_dot_)us
* ! ^FROM_MAILER
* ! ^X-Loop:[ ]*rmiller_mdah
| formail -A "X-Loop: rmiller_mdah" | $SENDMAIL millerono(_at_)gmail(_dot_)com
This would forward a copy of the message so long as it was cleartexted
to to the user but didn't come from a mailer, and didn't contain a
reference to the X-Loop which would have been inserted on forwarded
messages.
Probably also don't want to re-forward anything else he may send himself
from his gmail account
:0c
* ^(To|Cc):(_dot_)*rmiller(_at_)mdah\(_dot_)state\(_dot_)ms\(_dot_)us
* ! ^FROM_MAILER
* ! ^X-Loop:[ ]*rmiller_mdah
* ! ^From:(_dot_)*millerono(_at_)gmail\(_dot_)com
| formail -A "X-Loop: rmiller_mdah" | $SENDMAIL millerono(_at_)gmail(_dot_)com
Gerald
____________________________________________________________
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