I've got a recipe to deliver certain invalid messages to a new
recipient. It works correctly, but I'd like the old headers to show in
the body of the new message. Currently they are being turned to
Old-whatever and hidden in the true headers. This will be so that Tech
Support can easily spot who is using the invalid address with their
virtual domains. Here is what I have so far:
SENDMAIL=/usr/sbin/sendmail
:0H:
* ! ^TO_sales@(mail2\.wcc\.net|wcc\.net|angelofleet\.com)
| formail -i"Subject: Attempt to send to sales(_at_)invalid \
domain" -i"To: support(_at_)wcc(_dot_)net" | $SENDMAIL -oi -t
-froot(_at_)wcc(_dot_)net
Thanks,
--
===============================================
Kip Turk phone: 915.234.5678
Systems Administrator or 800.695.9016
Killer of Spam/Writer of Code/Jack of No Trades
West Central Net fax: 915.656.0071
===============================================
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail