Amavis on Alma Linux 8 with Quarantined issue.

Indunil Jayasooriya indunil75 at gmail.com
Mon Sep 25 08:01:06 CEST 2023


Hi Users,

I have set up amavisd ( amavis-2.12.1-5.el8.noarch ) on ALmaLinux 8 with
mariadb 10.11.

I have referred to the below url.

http://gogs.info/books/debian-mail/chunked/antispam.amavis.html

I have used below lines in amavisd-new-schema.sqlfile.

INSERT INTO policy (id, policy_name,  virus_lover, spam_lover,
banned_files_lover, bad_header_lover,  bypass_virus_checks,
bypass_spam_checks,  bypass_banned_checks, bypass_header_checks,
spam_modifies_subj,  spam_tag_level, spam_tag2_level, spam_kill_level)
VALUES  (1, 'Non-paying',    'N','N','N','N', 'Y','Y','Y','N', 'Y',
3.0,   7, 10),  (2, 'Uncensored',    'Y','Y','Y','Y', 'N','N','N','N',
'N', 3.0, 999, 999),  (3, 'Wants all spam','N','Y','N','N',
'N','N','N','N', 'Y', 3.0, 999, 999),  (4, 'Wants viruses',
'Y','N','Y','Y', 'N','N','N','N', 'Y', 3.0, 6.9, 6.9),  (5, 'Normal',
      'N','N','N','N', 'N','N','N','N', 'Y', -999, 6.2, 6.6),  (6,
'Trigger happy', 'N','N','N','N', 'N','N','N','N', 'Y', 3.0,   5, 5),
(7, 'Permissive',    'N','N','N','Y', 'N','N','N','N', 'Y', 3.0,  10,
20);

Please pay attention to this line.

(5, 'Normal',        'N','N','N','N', 'N','N','N','N', 'Y', -999, 6.2, 6.6),


I have added the below line as well.

INSERT INTO users VALUES ( NULL, 5, 5, '@mydomain.net
<no-reply at mydomain.net>',      NULL, 'Y');


According to this, spam kill level is 6.6. But, When I send mails,
they will be quarantined whenever it gets "HITS" with a PLUS score.

Please see the log below. this has Hits: 2.144 ( i.e  - it is a PLUS Score )

Sep 25 07:33:12 mailgw amavis[60390]: (60390-07) Blocked SPAM
{DiscardedInbound,Quarantined}, [127.0.0.1] /ESMTP
<no-reply at mydomain.net> -> <admin at mydomain.net>, (), quarantine:
KHruPy38ggLj, Message-ID:
<20230925053311.2A54812 at mailgw.mydomain.net>, mail_id: KHruPy38ggLj,
b: _cfhJXAG_, Hits: 2.144, size: 862,


Note:  Anyway I have used the same settings on CentOS 7 with
amavis-2.12.0-10.el7.noarch rpm where
MariaDB-server-10.4.17-1.el7.centos.x86_64 rpm is installed.

It works fine there.

Could you please come up with your ideas?













Sep 25 07:33:12 mailgw amavis[60390]: (60390-07) Blocked SPAM
{DiscardedInbound,Quarantined}, [127.0.0.1] /ESMTP <no-reply at mydomain.net>
-> <admin at mydomain.net>,
(), quarantine: KHruPy38ggLj, Message-ID: <
20230925053311.2A54812 at mailgw.mydomain.net>, mail_id: KHruPy38ggLj, b:
_cfhJXAG_, Hits: 2.144, size: 862,




-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20230925/e0c76b8c/attachment.htm>


More information about the amavis-users mailing list