On Sun, 21 Dec 1997, zhenhua wrote:
Basically, I want to email addressed to me whose To: field specifies:
zhenhua(_at_)megapro(_dot_)com to go to my regular mailbox, not a folder. Other
mails go to: /dev/null since they are sending to me with a faked To:
field.
Making this as simple as possible, I think this would do it. The address
of the procmail mailinglist would get caught by the "^FROM_DAEMON" token.
I haven't tested this, but it is fairly standard code. Instead of sending
rejected mail to /dev/null, I suggest you send it to a folder that you
browse from time to time, to make sure you aren't losing mail that you
want to keep. If you do that, then change the ":0" to ":0:".
:0
* ! ^FROM_DAEMON
* ! ^TO_zhenhua
/dev/null
David Hunt