Safe list for disarmed emails for MailScanner (with Postfix)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Safe list for disarmed emails for MailScanner (with Postfix)
Hi all, my first post here. Recently i just installed Postfix with MailScanner (which control SpamAssassin and ClamAV) for the content filtering. Everything looks good now, however, i think MailScanner is so good that it {Disarmed}-ing most of our HTML emails.
So the question is, how to add safe list, (can be domain based or email address based?) to the MailScanner setup (or Postfix)?
Hi all, my first post here. Recently i just installed Postfix with MailScanner (which control SpamAssassin and ClamAV) for the content filtering. Everything looks good now, however, i think MailScanner is so good that it {Disarmed}-ing most of our HTML emails.
So the question is, how to add safe list, (can be domain based or email address based?) to the MailScanner setup (or Postfix)?
I'm not sure you want to add these sites to the whitelist, as someone could spoof the addresses. Additionally, there is another field you would need to check, especially, if you are having issues with mailing lists in MailScanner.conf:
That field is: Ignore Spam Whitelist If Recipients Exceed = 100
You may want to check out the Allow IFrame Tags, Allow Form Tags, Allow Script Tags, Allow WebBugs, and Allow Object Codebase Tags directives in MailScanner.conf. You may want to use files here, rather than the standard "yes", "no", and "disarm". This way you could allow these tags for certain domains/email addresses, but they would still be scanned for spam.
I *believe* you can point all of these to the same filename, so you only have one file to modify.
You may want to use files here, rather than the standard "yes", "no", and "disarm". This way you could allow these tags for certain domains/email addresses, but they would still be scanned for spam.
What do you mean by use files? Are you saying that we can set, let say block 'Allow Form Tags' for particular domains, but allow for any source than the ones in /etc/MailScanner/rules/spam.whitelist.rules?
What do you mean by use files? Are you saying that we can set, let say block 'Allow Form Tags' for particular domains, but allow for any source than the ones in /etc/MailScanner/rules/spam.whitelist.rules?
Actually, I think it would work better the other way; that is, block all domains except the ones you want to allow. But either way will work.
For example, you might set up your file--let's call it, formtags.rules--like this:
From: mydomain.com yes
From: virusorspamdomain.com no
From: default disarm
Actually, I think it would work better the other way; that is, block all domains except the ones you want to allow. But either way will work.
For example, you might set up your file--let's call it, formtags.rules--like this:
From: mydomain.com yes
From: virusorspamdomain.com no
From: default disarm
If you use this, make sure that you use tabs bwtewen arguments, not spaces. E.g.,
From:<tab>mydomain.com<tab>yes
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.