procmail
[Top] [All Lists]

Mail filtering

1997-12-21 22:14:39
Hi, Everyone:

I tried to setting mail filtering to avoid junk mails.
I read some basic filtering rc files, but coundn't find
exactly what I need.

Here is what I want to do:

Mail specifically addressed to me: zhenhua(_at_)megapro(_dot_)com
Accept, do not do anything

Mail specifically addressed to a maillist I subscribed to:
        procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Accept, do not do anything

Other mails (addressed to: free(_at_)public(_dot_)com, 
junk(_at_)hotmail(_dot_)com
  ... etc but with my emailed embeded in it)
Do not accept, send them to: /dev/null

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.

Is this possbible?

Thanks.

Zhenhua





<Prev in Thread] Current Thread [Next in Thread>