Z
ZaNaToS
Guest
I/ve red the following article in the kb of swsoft about blocking emails in spamassassin depending on what they contain in the subject : http://kb.swsoft.com/article_123_1038_en.html
Custom filter rules can be defined in /etc/mail/spamassassin/local.cf, for example:
header CUSTOM_SUPERSPAM Subject =~ /.*spam subject.*/i
describe CUSTOM_SUPERSPAM Superspam messages
score CUSTOM_SUPERSPAM 100.0
I've tried that, for example with this:
header CUSTOM_SUPERSPAM Subject =~ /.*viagra.*/i
and it worked fine, my question is, how can I add multiple different subjects? (many words or phrases ?)
Custom filter rules can be defined in /etc/mail/spamassassin/local.cf, for example:
header CUSTOM_SUPERSPAM Subject =~ /.*spam subject.*/i
describe CUSTOM_SUPERSPAM Superspam messages
score CUSTOM_SUPERSPAM 100.0
I've tried that, for example with this:
header CUSTOM_SUPERSPAM Subject =~ /.*viagra.*/i
and it worked fine, my question is, how can I add multiple different subjects? (many words or phrases ?)