procmail
[Top] [All Lists]

Re: [Procmail] Help with recipes

1997-01-09 11:30:56
Hi Charles Gagnon!  I'm a UNIX administrator and I like to fight spam!
I want to be able to forward all messages sent to a specific account to 
another one
(exemple, forward from user1 to user2 account). It gets a bit more complicated
cause I'd like to add a comment in the body of the message mentionning the
mail as been forwarded.

        Try:

:0 E:
* ^From:(_dot_)*someuser(_at_)purple_vomit(_dot_)com
* !^X-Loop: charles(_at_)Grafnetix(_dot_)COM
| ($formail -rt -A"X-Loop: charles(_at_)Grafnetix(_dot_)COM"; \
echo "This message is forwarded from user 1; \
echo "because someone at purple_vomit.com sent it) |$SENDMAIL -oi -t

        Regards,

-- 
<Doug Muth>--<dmuth+225660109199713134437823666308132(_at_)ot(_dot_)com> - Spam 
me and die!
Think your homepage sucks?  You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
-=-=-=-=- Send a spammer to the slammer! * http://www.vix.com/spam -=-=-=-=

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