1

Topic: Amavis, /etc/amavisd/amavisd.conf - emails to postmaster

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.7
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
-Amavis blocked mail with xlsx.
-when i tried send this file, it was sent ok (I changed mail body a bit)
- no info about BANNED MAIL !!!

Question:
what/where to change in /etc/amavisd/amavisd.conf to receive mail about blocked mails. It is important type address correctly  (i mean with "  ", or '  ', etc) becouse system stops sending mails. Now I have:

$VAR=  undef;


Dec 28 10:55:54 mail amavis[11647]: (11647-10) Blocked BANNED (.image,.pcx,IM,J OA_usÂługa_skÂładu listopad_2017.xlsx) {NoBounceInternal}, ORIGINATING/MYNETS LOCAL [192.168.1.1]:56483 <s.asd@xxx.pl> -> , Queue-ID: 88A7A40BD870, Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAIl1ob/86Z1OqLXdM4AQRrbigAAAEAAAAKddIM4ILotKrAa2udO4H2QBAAAAAA==@xx.pl>, mail_id: QzjiUVmioHeY, Hits: -, size: 31890, 371 ms
Dec 28 10:55:55 mail postfix/smtp-amavis/smtp[13144]: 88A7A40BD870: to=<a.ss@xx.pl>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.51, delays=0.07/0.03/0/0.4, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=11647-10, DISCARD(bounce.suppressed))

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Amavis, /etc/amavisd/amavisd.conf - emails to postmaster

Check spam policy stored in SQL table "amavisd.policy".