Hello Alxander,
This log entry seems to show that spam checking was done :
Nov 28 16:33:16 messagerie amavis[46130]: (46130-07) Passed SPAMMY
{RelayedOpenRelay}, [101.55.71.90]:53783 [101.55.71.90]
<[email protected]> -> <[email protected]>,
Queue-ID: 738D73A80088, Message-ID:
<[email protected]>, mail_id: lBrIu_4QeHCa, Hits:
11.386, size: 46197, queued_as: 6609E3A8008E, 736 ms
And here is 15-content_filter_mode
root@messagerie[10.10.10.19] /etc/amavis/conf.d # removeblanks
15-content_filter_mode
use strict;
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
1; # ensure a defined return
root@messagerie[10.10.10.19] /etc/amavis/conf.d #
Should they be commented out ?
Also, both spamd and amavis are running :
root@messagerie[10.10.10.19] ~ # pgrep -a amavis
24785 /usr/bin/perl -T /usr/sbin/amavis-mc
root@messagerie[10.10.10.19] ~ # pgrep -a spamd
5575 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs
--max-children 5 --helper-home-dir
5583 spamd child
5584 spamd child
root@messagerie[10.10.10.19] ~ #
Yassine.
On Thursday, November 30, 2017 4:44 PM, Alexander Wirt
<[email protected]> wrote:
On Thu, 30 Nov 2017, chaouche yacine wrote:
>
> Dear list,
>
> I received an email for raybans, which was 300% spam (14.0 score, threshold
> set at 5.0), and it didn't get marked by amavis.
>From the debian package README:
Antivirus and spam-checking
---------------------------
amavisd-new does not depend on any antivirus, so antivirus checking is not
enabled by default. It also does not depend on spamassassin, so spam checking
is not enabled by default. They are turned off in
/usr/share/amavis/conf.d/20-package. To enable them, edit
/etc/amavis/conf.d/15-content_filter_mode.
Alex