我有一个使用Postfix作为邮件系统的服务器.我遇到的问题是我无法发送或接收电子邮件.如果我发送电子邮件,我会收到服务器的即时回复,上面写着:
Subject: test Sent: 16/05/2011 19:08 The following recipient(s) could not be reached: 'myemail@mydomain.com' on 16/05/2011 19:08 452 4.3.1 Insufficient system storage
我检查了以下内容:
磁盘空间,所有分区上都有数GB的可用空间.
邮箱配额,任何邮箱都没有配置.
我清除了所有邮件日志并重新启动了服务器,但我仍然无法发送电子邮件.有没有人有任何指示让我看下.
我查看了main.cf文件,结果如下:
virtual_mailBox_domains = $virtual_mailBox_maps,hash:/var/spool/postfix/plesk/virtual_domains virtual_alias_maps = $virtual_maps,hash:/var/spool/postfix/plesk/virtual virtual_mailBox_maps = hash:/var/spool/postfix/plesk/vmailBox transport_maps = hash:/var/spool/postfix/plesk/transport smtpd_tls_cert_file = /etc/postfix/postfix_default.pem smtpd_tls_key_file = $smtpd_tls_cert_file smtpd_tls_security_level = may smtpd_use_tls = yes smtp_tls_security_level = may smtp_use_tls = no smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists,permit_sasl_authenticated,check_client_access pcre:/var/spool/postfix/plesk/non_auth.re smtp_send_xforward_command = yes smtpd_authorized_xforward_hosts = 127.0.0.0/8 smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_mynetworks,check_client_access pcre:/var/spool/postfix/plesk/no_relay.re,reject_unauth_destination virtual_mailBox_base = /var/qmail/mailnames virtual_uid_maps = static:110 virtual_gid_maps = static:31 virtual_transport = plesk_virtual plesk_virtual_destination_recipient_limit = 1 smtpd_client_restrictions = myhostname = mydomain.com message_size_limit = 2048000000
解决方法
将你的message_size_limit设置为一个合理的值,你会没事的.
使用当前值,您将需要大约3Gb的可用空间来接收邮件.
如果要将其设置为非常大的数字,请将其设置为:
message_size_limit = 104857600
这允许大约100Mb大小(由于远程限制将更小,所以没有人会发送给你).