Topic: Postfix splits multi recipient email into multiple emails
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0
- Deployed with iRedMail Easy or the downloadable installer?downloadable installer
.- Linux/BSD distribution name and version: Centos 7.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello.
Today I noticed very huge load on our mail server, caused by Amavis.
After some debugging we noticed that one of our customer sent one mail with multiple recipients (500 recipients). Postfix has split those mail into 500 copies and send each on of them to amavis for scanning.
Is this happening because I have this setting in postfix: smtp-amavis_destination_recipient_limit = 1 ?
What will break if I increase smtp-amavis_destination_recipient_limit = 100 for example?
If i understand correctly, this will case amavis to scan mail with 500 recipients only 5 times instead of 500 times? If this correct?
Will this affect per-user policy logic?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.