Michele Cerioni wrote:
I set procmailrc in this way:
.....
STORIA=pippo(_at_)ptnet(_dot_)it
:0 cw
* $ !^X-Loop: $STORIA
{
:0 fw
| ( formail -A"X-Loop: $STORIA" -I"To: $STORIA" ) \
| $SENDMAIL -oi -t
}
I want send a copy of the mail at $STORIA.
I noted that if pippo(_at_)ptnet(_dot_)it doesn't exist I receive the mail
twice.
Why?
Wodn't something a bit simpler work better, like this?
STORIA=pippo(_at_)ptnet(_dot_)it
:0 c
* $ !^X-Loop: $STORIA
| ( formail -A"X-Loop: $STORIA" -I"To: $STORIA" ) \
| $SENDMAIL -oi -t
(Un-tested, of course.)
-- Mr. Wade
--
Linux: The Choice of the GNU Generation
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail