Francesco Abeni schreef:
Ruud:
Francesco:
/usr/local/procmail/antispam.prc :
-----------------------------------
DROPPRIVS = yes
:0fw
* !^X-Givi: yes
| /usr/bin/spamc -s 256000
-----------------------------------
OK, but you don't seem to be doing anything with the spam score
header.
Spamassassin adds a "[SPAM]" to the subject of the message, so that i
can use a rule on my mail client to put it in a specific folder.
All other people here use procmail for that.
;)
/usr/local/procmail/block.prc :
------------------------------------
:0
* ^From:(_dot_)*f\(_dot_)abeni(_at_)mydomain\(_dot_)it
* !^TO_(_dot_)*(_at_)mydomain\(_dot_)it
* !^TO_(_dot_)*(_at_)myotherdomain\(_dot_)com
* !^TO_(_dot_)*(_at_)myanotherdomain \.it
/tmp
# EOF
------------------------------------
About combining the ^TO lines i'm sure
there are better ways but i'm still a beginner.
For example something compressed as:
* ! ^TO_.*@(((mydomain|myanotherdomain)\.it)|myotherdomain\.com)
but either style will work.
Thank you very much for your time.
OK, if you stop sending copies to my personal e-mail address. We are all
on list here.
--
Groet, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail