On Tue, 24 Sep 2002, Boniforti Flavio wrote:
BF> Here I am!
BF>
BF> I'd like to use this piece of code for my /root/.procmailrc. How should
BF> I modify it for getting it to work when somebody sends an E-Mail to
BF> root's alias "abuse"?
BF> My SENDMAIL = /usr/sbin/sendmail.
BF>
BF> Here the script, how do I change it?
BF>
BF> :0 h c
BF> * ! ^FROM_DAEMON
BF> * ! ^X-Loop: $LOGNAME(_at_)company(_dot_)whatthehell
BF> | (formail -r -A"Precedence: junk" \
BF> -A"X-Loop:$LOGNAME(_at_)whatthehell" ; \
BF> echo "";cat $HOME/.sig) | $SENDMAIL -t
BF>
Surely mail to an alias for root will be delivered to root, hit the
root/.procmailrc and hit your recipe.
Alan
( Please do not email me AS WELL as replying to the list. Personal
email is welcome but may invoke a password autoresponder. )
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail