Topic: How to make Amavis send notification to local domain only
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 OPENLDAP edition.
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP / Microsoft Active Directory
- Web server (Apache or Nginx): Apache 2
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi!
I've managed to make Amavis send notifications to users about blocked attachments, editing the file /etc/amavis/conf.d/50-user. What was strange is that when the option
$final_banned_destiny was = D_BOUNCE; it wasn't sending any notification, but when I changed it to $final_banned_destiny = D_REJECT; it started to send.
Now, the problem is: I want to send this notification to the users of our domain only. Outside users don't need to know it, in particular spamers.
So, is it simple? What's the catch, please?
Thank you
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.