At 02:44 AM 11/5/00 -0200, Hermann Wecke wrote:
:0
* ^TO:.*(1|2|3|4|5|6|7|8|9)@
/dev/null
I don't know if it will work... or even if it is valid... :-(
It is valid, but you still have the problem that legitimate Email sent to
hermann(_at_)rodeios(_dot_)com will get wrongly trashed if a copy of the message also
goes to someone whose address matches the condition. That is, if there is
an address such as Billg3(_at_)foo(_dot_)com (in addition to the valid
hermann(_at_)rodeios(_dot_)com) in the To: or Cc: header then the message will be lost.
How about the following:
:0:
* ^TO_[0-9](_at_)rodeios\(_dot_)com
# Your choice whether to include `0' in the list. Also, replace `rodeios'
# with whatever domain you are searching on.
trashfile
# Change the above to /dev/null only at your own risk.
# Also, I added the automatic lock file for trashfile. It
# will not be necessary for /dev/null.
--
Michael
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail