{Definitely Spam?} {Filename?}

whyoffice

Active Member
Aug 22, 2004
32
0
156
Italy
Hi
I have mailscanner/clamav/spamassasin on my server, I need that all the email that now arrive to the email in this server with in the object {Definitely Spam?} {Filename?} must be deleted by the server and not delivery to the clients, what I must do?
Thanks to all.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
You need to look into setting up rulesets to delete high scoring spam and/or viruses. A search on the forums should kick up a few posts of mine on the subject.

If you use my MailScanner installer it automatically creates those rulesets for you to simply edit:
http://www.configserver.com/free/mailscanner.html
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
To delete Definitely Spam (which is high scoring spam) you should change the word "deliver" to "delete" in the ruleset:

/usr/mailscanner/etc/rules/spamhigh.action.rules

Do delete infected files, change "yes" to "no" (usually already is) in:

/usr/mailscanner/etc/rules/virus.delivery.rules

Then reload MailScanner

service MailScanner reload