Topic: 邮件大小怎么也修改不了
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail-1.6.2
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: CentOS 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? postmaster@
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====CentOS Stream 9安装了iRedMail-1.6.2
邮件大小怎么也修改不了,怎么修改也最大到11m
修改的方法如下1:步骤:
1.先修改 postfix 的值:
postconf -e message_size_limit='254857600'
postconf -e mailbox_size_limit='254857600'
2.systemctl restart posfix # 重启postfix服务
3.修改php.ini的几个参数: /etc/php.ini步骤:
1.先修改 postfix 的值:
postconf -e message_size_limit='254857600'
postconf -e mailbox_size_limit='254857600'
2.systemctl restart posfix # 重启postfix服务
3.修改php.ini的几个参数: /etc/php.ini
memory_limit = 1250M;
upload_max_filesize = 250M;
post_max_size = 250M;
max_input_time = 900
max_execution_time = 900
4.systemctl restart php-fpm # 重启php-fpm进程
5.修改nginx的参数:/etc/nginx/conf-enabled/client_max_body_size.conf
client_max_body_size 250m;
6.systemctl restart nginx # 重启nginx服务
memory_limit = 1250M;
upload_max_filesize = 250M;
post_max_size = 250M;
max_input_time = 900
max_execution_time = 900
4.systemctl restart php-fpm # 重启php-fpm进程
5.修改nginx的参数:/etc/nginx/conf-enabled/client_max_body_size.conf
client_max_body_size 250m;
6.systemctl restart nginx # 重启nginx服务
方法2:1. 修改/etc/php.ini文件
在730行左右,将post_max_size = 12M; 8M 改为 post_max_size = 100M;
在879行左右,将upload_max_filesize = 10M; 改为 upload_max_filesize = 100M;
2. 修改/etc/postfix/main.cf文件
将message_size_limit = 15728640 改为 message_size_limit = 104857600
并添加 mailbox_size_limit = 104857600
安装官网邮件附件方法也设置了,也是不行。请问有啥办法能解决这个问题吗,非常感谢你的答复。
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.