I need a recipe that will do the following:
If the Return-Path: is a specified email address
AND the From: address matches one of a set list of domain names
OR the To: address does _not_ match one of a set list of addresses
-> send it to /dev/null
otherwise let it pass...
The list of domain names to match the From: address with can (and probably
will) be rather large. As for the To: address, that won't be a lot.
I can do simple matching on From:, but I don't have a clue where to start
on making this beast.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley(_at_)pcraft(_dot_)com> . 303.442.6410
x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail