Topic: Increase email attachment size
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail-1.6.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi to all,
following this link https://serverok.in/iredmail-increase-attachment-size, I've tried to increase email attachment size to 20M (20971520) and I added, among other things, in /etc/postfix/main.cf "message_size_limit=20971520" (not "mailbox_size_limit=20971520" - maybe mandatory?).
Now I have a lot of warning in /var/log/maillog.
Here is a portion of warning only
Jun 30 18:05:09 mail postfix/trivial-rewrite[75047]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:09 mail postfix/smtp[75048]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:09 mail postfix/smtp[75049]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:10 mail postfix/bounce[75050]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:10 mail postfix/bounce[75051]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:33 mail postfix/postscreen[75064]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:33 mail postfix/dnsblog[75065]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:33 mail postfix/dnsblog[75066]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:05:39 mail postfix/smtpd[75084]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:06:39 mail postfix/cleanup[75105]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:06:39 mail postfix/smtp[75106]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:06:40 mail postfix/smtpd[75109]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:06:40 mail postfix/pipe[75110]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:08:02 mail postfix/smtpd[75147]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:08:09 mail postfix/smtp[75148]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:08:09 mail postfix/smtp[75151]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
Jun 30 18:08:10 mail postfix/smtp[75153]: warning: /etc/postfix/main.cf, line 371: overriding earlier entry: message_size_limit=15728640
What mistake did I make?
Thanks in advance
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.