Topic: Banned attachment notification for user
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.1
- Deployed with iRedMail Easy or the downloadable installer? Download
- Linux/BSD distribution name and version: CentOS Linux release 7.9.2009 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello there !
I would like have a Banned attachment notification for user.
I added in amvisd.conf
$policy_bank{'MYNETS'} = {
...
warnbannedsender => 1,
...
};
$policy_bank{'ORIGINATING'} = {
...
warnbannedsender => 1,
...
};
$final_banned_destiny = D_BOUNCE;
- Log Mail
Jul 11 13:26:00 mailserver02 postfix/submission/smtpd[13689]: EA83910A8B0E: client=mailserver02.xxxx.com.br[127.0.0.1], sasl_method=LOGIN, sasl_username=xxxx@xxxxx.br
Jul 11 13:26:00 mailserver02 postfix/cleanup[9836]: EA83910A8B0E: message-id=<1e48909c9230d6083c23a75211d79199@xxxx.br>
Jul 11 13:26:01 mailserver02 postfix/qmgr[1495]: EA83910A8B0E: from=<xxxx@xxxx.br>, size=1089806, nrcpt=1 (queue active)
Jul 11 13:26:01 mailserver02 postfix/smtp[12663]: EA83910A8B0E: to=<rlljorge@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.39, delays=0.11/0/0.01/0.26, dsn=2.5.0, status=sent (250 2.5.0 Ok, id=17952-01, DISCARD(bounce.suppressed))
Jul 11 13:26:01 mailserver02 postfix/qmgr[1495]: EA83910A8B0E: removed
The sender didn't receive the notification.
I forgot anything ?
Thank you !
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.