2014-09-30 10:13:21 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
< title > Completely disable Amavisd + ClamAV + SpamAssassin< / title >
< link href = "./css/markdown.css" rel = "stylesheet" > < / head >
< / head >
< body >
< div id = "navigation" >
< a href = "http://www.iredmail.org" target = "_blank" > iRedMail web site< / a >
// < a href = "./index.html" > Document Index< / a >
< / div > < h1 id = "completely-disable-amavisd-clamav-spamassassin" > Completely disable Amavisd + ClamAV + SpamAssassin< / h1 >
< p > In iRedMail, Amavisd provides below features:< / p >
< ul >
< li > content-based spam scanning (invoke SpamAssassin)< / li >
< li > Virus scanning (invoke ClamAV)< / li >
< li > DKIM singing< / li >
< li > DKIM verification (through SpamAssassin + Perl module)< / li >
< li > SPF verification (through SpamAssassin + Perl module)< / li >
< li > Disclaimer (throught AlterMIME)< / li >
< / ul >
< h3 id = "stop-virusspam-scanning-keep-dkim-signingverification-and-disclaimer" > Stop virus/spam scanning, keep DKIM signing/verification and Disclaimer< / h3 >
< p > If you want to disable virus and spam scanning, but keep DKIM signing and disclaimer, please try this:< / p >
< ul >
< li >
< p > Keep < code > content_filter = smtp-amavis:[127.0.0.1]:10024< / code > in Postfix config file < code > /etc/postfix/main.cf< / code > .< / p >
< / li >
< li >
< p > Find below lines in /etc/amavisd/amavisd.conf:< / p >
< / li >
< / ul >
< pre > < code class = "perl" > # @bypass_virus_checks_maps = (1); # controls running of anti-virus code
# @bypass_spam_checks_maps = (1); # controls running of anti-spam code
< / code > < / pre >
< p > Uncomment above lines (removing "# " at the beginning of each line), and restart Amavisd service.< / p >
< h3 id = "completely-disable-all-features" > Completely disable all features< / h3 >
< p > If you want to completely disable spam and virus scanning services, steps:< / p >
< ul >
< li > Comment out below two lines in Postfix config file < code > /etc/postfix/main.cf< / code > , then restart Postfix service.< / li >
< / ul >
< pre > < code class = "perl" > content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
< / code > < / pre >
< ul >
< li > Disable network services: Amavisd, ClamAV.< / li >
< / ul >
< p > Notes:< / p >
< ul >
< li > ClamAV and SpamAssassin will be invoked by Amavisd, so if you disable Amavisd, those two are disabled too.< / li >
< li > SpamAssassin doesn't have daemon service running in iRedMail solution, so there's no need to stop SpamAssassin service.< / li >
2014-12-04 07:30:08 -06:00
< / ul > < p style = "text-align: center; color: grey;" > Document published under a < a href = "http://creativecommons.org/licenses/by-nd/3.0/us/" target = "_blank" > CC BY-ND 3.0< / a > license. If you found something wrong, please do < a href = "http://www.iredmail.org/contact.html" > contact us< / a > to fix it.<!-- Google Analytics -->
2014-10-13 19:28:43 -05:00
< script type = "text/javascript" >
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
< / script >
< script type = "text/javascript" >
try {
var pageTracker = _gat._getTracker("UA-3293801-14");
pageTracker._trackPageview();
} catch(err) {}
< / script >
< / body > < / html >