Topic: Amavisd blacklist action config
==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.8
- Linux/BSD distribution name and version: CentOS Linux release 7.4.1708 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Active Directory
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No , v0.9 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Our domain users can login with SOGO and testing mail with gmail successfully, I want to test Amavisd blacklist feature, so I did :
python wblist_admin.py --account user1@mydomain --add --blacklist my@gmail.com
When my@gmail.com send emails to user1@mydomain , they move to Junk folder, I want they must be rejected with "error code something ..." or discard, what should I do ?
This is mail log when add blacklist:
from=<my@gmail.com>, size=3531, nrcpt=1 (queue active)
Apr 12 10:57:03 webmail amavis[26287]: (26287-01) Passed SPAM {RelayedTaggedInbound}, [209.85.215.53]:34079 [209.85.215.53] <my@gmail.com> -> <user1@mydomain>, Queue-ID: 78C1D8A4C, Message-ID: <CAFUv7NTuhz5GnWb3DyGaJT_HRsPy_F620ejZN=+VuSecJreaBw@mail.gmail.com>, mail_id: 2SgTz3PkSKHS, Hits: -, size: 2682,
queued_as: 47DC08A53, dkim_sd=20161025:gmail.com, 178 ms
Passed SPAM, <my@gmail.com> -> <user1@mydomain>, Hits: -, tag=2, tag2=6.2, kill=6.9, que
ued_as: 47DC08A53, L/Y/Y/Y
This is mail log when remove blacklist:
from=<my@gmail.com>, size=3319, nrcpt=1 (queue active)
Apr 12 10:59:55 webmail amavis[26291]: (26291-01) Passed CLEAN {RelayedInbound}, [209.85.215.65]:44257 [209.85.215.65] <my@gmail.com> -> <user1@mydomain>, Queue-ID: 308768A4C, Message-ID: <CAFUv7NSjsEa3eMK21tJ+mS_WtZ3VhR-rMtS9326fD1KHmK5f5g@mail.gmail.com>, mail_id: SqhreVVO5h8n, Hits: -0.014, size: 2698,
queued_as: 9FBC57A154, dkim_sd=20161025:gmail.com, 4819 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.001,FROM_EXCESS_BASE64=0.105,HTM
L_MESSAGE=0.001,RCVD_IN_DNSWL_NONE=-0.0001,RCVD_IN_MSPIKE_H3=-0.01,RCVD_IN_MSPIKE_WL=-0.01,SPF_PASS=-0.001]
Passed CLEAN, <my@gmail.com> -> <user1@mydomain>, Hits: -0.014, tag=2, tag2=6.2, kill=6.
9, queued_as: 9FBC57A154, L/0/0/0
Can you give me document about how to use amavisd , clamv , SpamAssassin integrate with iRedmail ?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.