Hello!
I have been using a shell accounts on Linux machines for some years now
but haven't gotten into Procmail until recently.
I was wondering if one of you could help me with a problem.
Let's say I want allow only certain people to contact me via a particular
email account.
In my .procmailrc file, I wrote:
:0:
*
!(^From:(_dot_)*email1(_at_)hotmail(_dot_)com|^From:(_dot_)*email2(_at_)hotmail(_dot_)com|\
^From:(_dot_)*email3(_at_)yahoo(_dot_)com|^From:(_dot_)*somebody(_at_)yahoo(_dot_)com|\
^From:(_dot_)*friend(_at_)aol(_dot_)com|^From:(_dot_)*friend(_at_)hotmail(_dot_)com|\
^From:(_dot_)*brother(_at_)serv(_dot_)net|^From:(_dot_)*sister(_at_)qwest(_dot_)net|\
^To:(_dot_)*procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE|^Subject:.*[CyberDojo]|\
^From:(_dot_)*(_at_)somemailinglist(_dot_)com)
Spam
As I understand from reading the various FAQs and tutorials, this should
be saying that if the email is:
NOT From one of the following: email1(_at_)hotmail(_dot_)com,
email2(_at_)hotmail(_dot_)com,
email3(_at_)yahoo(_dot_)com, somebody(_at_)yahoo(_dot_)com,
friend(_at_)aol(_dot_)com, friend(_at_)hotmail(_dot_)com,
brother(_at_)serv(_dot_)net, sister(_at_)qwest(_dot_)net, somemailinglist.com
-or-
NOT sent to: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
-or-
does NOT have a Subject containing: [CyberDojo]
then send it to the Spam folder.
Am I correct in this? What can I do to make it better?
Many thanks!
--
Phuc Tram
Master Pivot - Wielder of the Coherent Light Bokken
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
pivot(_at_)CrystalTokyo(_dot_)com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail