this one works fine for me*, it's yours to put what you want in
$HOME/{auto-reply,.signature}
(* thanks to this mailing list.)
LOGFILE=$HOME/procmaillog
:0
* !^FROM_DAEMON
* !^X-Loop: test(_at_)test(_dot_)org
{
:0Whc
|(formail -rI "Precedence: Junk" \
-A "X-Loop: test(_at_)test(_dot_)org"; \
cat $HOME/auto-reply; \
cat $HOME/.signature \
)| $SENDMAIL -oi -t
:0
/dev/null
}
Pawe³ Krawczyk a écrit :
How to generate an artificial bounce from withing procmailrc,
so that some messages are bounced back to the sender with
"no such user" message for example.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail