How do I block and not deliver Blacklisted emails?
Kevin Miller
kevin.miller at juneau.org
Mon Dec 23 18:38:05 UTC 2019
Block that at the MTA level. I.e., reject them in postfix, sendmail, exim, or whatever you use. No point in accepting the mail and wasting CPU cycles passing it to MailScanner if it's in a blacklisted TLD.
...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357
-----Original Message-----
From: MailScanner <mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info> On Behalf Of Hedley Phillips
Sent: Monday, December 23, 2019 3:23 AM
To: mailscanner at lists.mailscanner.info
Subject: How do I block and not deliver Blacklisted emails?
EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS
________________________________
Hi,
I'm blacklisting a few .tld's that are known sources of spam and currently blacklisted emails are being delivered as High Scoring spam as per these two
settings:
Is Definitely Spam = %rules-dir%/spam.blacklist.rules
Spam Blacklist:
Make this point to a ruleset, and anything in that ruleset whose value is "yes" will *always* be marked as spam. This value can be over-ridden by the "Is Definitely Not Spam" setting. This can also be the filename of a ruleset.
Definite Spam Is High Scoring = yes
Setting this to yes means that spam found in the blacklist is treated as "High Scoring Spam" in the "Spam Actions" section below. Setting it to no means that it will be treated as "normal" spam. This can also be the filename of a ruleset.
I have a customer who has set High Scoring Spam to be delivered to their spam account as they don't want High Scoring spam to be deleted but also doesn't want to receive any blacklisted tld's.
Is there a way to block blacklisted emails without marking them as High Scoring spam and delivering them?
Thanks
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
More information about the MailScanner
mailing list