Typo in en_US/howto/2-no.x-spam.headers.md.
This commit is contained in:
parent
fb3b574d24
commit
d7b2dfc097
|
@ -4,22 +4,31 @@
|
|||
> find the correct one for your server in this tutorial:
|
||||
> [Locations of configuration and log files of major components](./file.locations.html#amavisd)
|
||||
|
||||
To understand whether Amavisd + SpamAssassin are working, you can add this
|
||||
setting to Amavisd config file:
|
||||
If you just want to know whether Amavisd + SpamAssassin are working, you can
|
||||
add setting below to Amavisd config file, then restart Amavisd service. Amavisd
|
||||
will log verbose message for each processed message in its log file.
|
||||
|
||||
```
|
||||
$log_templ = $log_verbose_templ;
|
||||
```
|
||||
|
||||
Then restart Amavisd service, it will log verbose message in log file. For
|
||||
example:
|
||||
Sample log:
|
||||
|
||||
> May 18 09:54:15 ob amavis[24548]: (24548-01) Passed CLEAN {RelayedInbound}, [127.0.0.1] /ESMTP <root@...mail.org> -> <bugs@...bsd.org>, (), Message-ID: <20160518015301.B2A741344D@...mail.org>, mail_id: JcfAanaWAP-2, b: efIM2W-Q-, Hits: -, size: 161634, queued_as: 4756B13453, Subject: "ldapd(8) doesn't correctly handle MOD_DELETE operation", From: <zhb@...mail.org>, helo=...mail.org, 160 ms
|
||||
```
|
||||
Oct 12 21:26:34 d8 amavis[1389]: (01389-01) Passed CLEAN {RelayedInternal},
|
||||
ORIGINATING/MYNETS LOCAL [172.16.100.1]:54180 ESMTP/ESMTP <postmaster@a.cn> ->
|
||||
<amavis@d8.iredmail.org>, (), Queue-ID: 2F322E003E, mail_id: 47G-u3kjLkOz, b:
|
||||
3tnIDXRGW, Hits: -0.428, size: 316, queued_as: 58A90DFC34, Subject: "mail subject",
|
||||
From: <postmaster@a.cn>, helo=test.com, Tests: [ALL_TRUSTED=-1,INVALID_DATE=0.432,
|
||||
MISSING_MID=0.14], autolearn=no autolearn_force=no, autolearnscore=0.572,
|
||||
dkim_new=dkim:a.cn, 19162 ms
|
||||
```
|
||||
|
||||
If you really want `X-Spam-*` headers in email, please decrease Amavisd setting
|
||||
`$sa_tag_level_deflt` to a very low score, e.g. `-999`, then restart Amavisd
|
||||
service. it will always insert `X-Spam-*` headers in email:
|
||||
The "Tests:" flag includes spam scanning result from SpamAssassin.
|
||||
|
||||
If you want Amavisd to insert `X-Spam-*` headers in each email, please decrease
|
||||
Amavisd setting `$sa_tag_level_deflt` (in Amavisd config file )to a very low
|
||||
score, e.g. `-999`, then restart Amavisd service:
|
||||
|
||||
```
|
||||
$sa_tag_level_deflt = -999;
|
||||
|
|
|
@ -25,25 +25,29 @@
|
|||
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>
|
||||
<p>To understand whether Amavisd + SpamAssassin are working, you can add this
|
||||
setting to Amavisd config file:</p>
|
||||
<p>If you just want to know whether Amavisd + SpamAssassin are working, you can
|
||||
add setting below to Amavisd config file, then restart Amavisd service. Amavisd
|
||||
will log verbose message for each processed message in its log file.</p>
|
||||
<pre><code>$log_templ = $log_verbose_templ;
|
||||
</code></pre>
|
||||
|
||||
<p>Then restart Amavisd service, it will log verbose message in log file. For
|
||||
example:</p>
|
||||
<blockquote>
|
||||
<p>May 18 09:54:15 ob amavis[24548]: (24548-01) Passed CLEAN {RelayedInbound}, [127.0.0.1] /ESMTP <a href="mailto:root@...mail.org">root@...mail.org</a> -> <a href="mailto:bugs@...bsd.org">bugs@...bsd.org</a>, (), Message-ID: <a href="mailto:20160518015301.B2A741344D@...mail.org">20160518015301.B2A741344D@...mail.org</a>, mail_id: JcfAanaWAP-2, b: efIM2W-Q-, Hits: -, size: 161634, queued_as: 4756B13453, Subject: "ldapd(8) doesn't correctly handle MOD_DELETE operation", From: <a href="mailto:zhb@...mail.org">zhb@...mail.org</a>, helo=...mail.org, 160 ms</p>
|
||||
</blockquote>
|
||||
<pre><code>
|
||||
If you really want `X-Spam-*` headers in email, please decrease Amavisd setting
|
||||
`$sa_tag_level_deflt` to a very low score, e.g. `-999`, then restart Amavisd
|
||||
service. it will always insert `X-Spam-*` headers in email:
|
||||
|
||||
<p>Sample log:</p>
|
||||
<pre><code>Oct 12 21:26:34 d8 amavis[1389]: (01389-01) Passed CLEAN {RelayedInternal},
|
||||
ORIGINATING/MYNETS LOCAL [172.16.100.1]:54180 ESMTP/ESMTP <postmaster@a.cn> ->
|
||||
<amavis@d8.iredmail.org>, (), Queue-ID: 2F322E003E, mail_id: 47G-u3kjLkOz, b:
|
||||
3tnIDXRGW, Hits: -0.428, size: 316, queued_as: 58A90DFC34, Subject: "mail subject",
|
||||
From: <postmaster@a.cn>, helo=test.com, Tests: [ALL_TRUSTED=-1,INVALID_DATE=0.432,
|
||||
MISSING_MID=0.14], autolearn=no autolearn_force=no, autolearnscore=0.572,
|
||||
dkim_new=dkim:a.cn, 19162 ms
|
||||
</code></pre>
|
||||
|
||||
<p>The "Tests:" flag includes spam scanning result from SpamAssassin.</p>
|
||||
<p>If you want Amavisd to insert <code>X-Spam-*</code> headers in each email, please decrease
|
||||
Amavisd setting <code>$sa_tag_level_deflt</code> (in Amavisd config file )to a very low
|
||||
score, e.g. <code>-999</code>, then restart Amavisd service:</p>
|
||||
<pre><code>$sa_tag_level_deflt = -999;
|
||||
</code></pre>
|
||||
|
||||
<p>$sa_tag_level_deflt = -999;
|
||||
```</p>
|
||||
<p>That means Amavisd will insert <code>X-Spam-Flag</code> and other <code>X-Spam-*</code> headers when
|
||||
email score >= <code>-999</code>.</p><div class="footer">
|
||||
<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. You can <a href="https://bitbucket.org/zhb/iredmail-docs/get/tip.tar.bz2">download the latest version</a> for offline reading. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
|
||||
|
|
Loading…
Reference in New Issue