2014-09-30 10:13:21 -05:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
2015-08-19 08:11:02 -05:00
< title > Amavisd + SpamAssassin not working? no mail header (X-Spam-*) inserted< / title >
2015-07-31 23:14:52 -05:00
< link rel = "stylesheet" type = "text/css" href = "./css/markdown.css" / >
2014-09-30 10:13:21 -05:00
< / head >
< body >
< div id = "navigation" >
2016-04-19 12:48:51 -05:00
< a href = "/index.html" target = "_blank" >
< img alt = "iRedMail web site"
src="./images/logo-iredmail.png"
style="vertical-align: middle; height: 30px;"
/>
< span > iRedMail< / span >
< / a >
2016-04-21 23:33:25 -05:00
// < a href = "./index.html" > Document Index< / a > < / div > < div class = "admonition note" >
< p class = "admonition-title" > This tutorial is available in other languages< / p >
2016-04-24 09:21:04 -05:00
< p > < a href = "./no.x-spam.headers-zh_CN.html" > 简体中文< / a > /< / p >
2016-04-21 23:33:25 -05:00
< / div >
< h1 id = "amavisd-spamassassin-not-working-no-mail-header-x-spam-inserted" > Amavisd + SpamAssassin not working? no mail header (X-Spam-*) inserted< / h1 >
2016-04-24 10:59:07 -05:00
< blockquote >
< p > Amavisd config file is different on different Linux/BSD distributions, you can
find the correct one for your server in this tutorial:
< a href = "./file.locations.html#amavisd" > Locations of configuration and log files of major components< / a > < / p >
< / blockquote >
2014-09-30 10:13:21 -05:00
< p > Amavisd has below setting in its config file < code > /etc/amavisd/amavisd.conf< / code > by default:< / p >
< pre > < code > $sa_tag_level_deflt = 2.0;
< / code > < / pre >
2015-08-19 08:11:02 -05:00
< p > That means Amavisd will insert < code > X-Spam-Flag< / code > and other < code > X-Spam-*< / code > headers when
email score > = 2.0. If you want Amavisd always insert these headers, please
set it to a low score, for example:< / p >
2014-09-30 10:13:21 -05:00
< pre > < code > $sa_tag_level_deflt = -999;
< / code > < / pre >
2015-08-19 08:11:02 -05:00
2016-04-24 10:59:07 -05:00
< p > Restarting Amavisd service is required after changed setting.< / p > < p style = "text-align: center; color: grey;" > All documents are available in < a href = "https://bitbucket.org/zhb/iredmail-docs/src" > BitBucket repository< / a > , and published under < a href = "http://creativecommons.org/licenses/by-nd/3.0/us/" target = "_blank" > Creative Commons< / a > license. If you found something wrong, please do < a href = "http://www.iredmail.org/contact.html" > contact us< / a > to fix it.< script >
2015-02-05 07:02:53 -06:00
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-3293801-21', 'auto');
ga('send', 'pageview');
2014-10-13 19:28:43 -05:00
< / script >
< / body > < / html >