主题: Result: REJECT Quota exceeded (number of mails in total)

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.7
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):Pro-LDAP-3.0
- 使用的 Linux/BSD 发行版名称及版本号:CentOS7
- 与您的问题相关的日志信息:
====

web server 重起fail2ban ; 在mail server 端得到
"REJECT Quota exceeded (number of mails in total)"

1).
web server  fail2ban 啟動的jail 有12個 ; fail2ban 重新啟動會寄出通知信給 mail server 的 alert@ 帳號 .
剛寄出信件, 會被mail server bounce 掉 ;

maillog

11456:Sep 26 16:03:31 web postfix/smtp[15687]: 94A14248062: to=<alert@mydoamin.com>, orig_to=<root>, relay=mail.mydomain.com[xx.xx.xx.59]:25, conn_use=3, delay=0.06, delays=0/0/0/0.05, dsn=5.7.1, status=bounced (host mail.mydomain.com[xx.xx.xx.59] said: 554 5.7.1 <alert@mydomain.com>: Recipient address rejected: Quota exceeded (number of mails in total) (in reply to RCPT TO command))

大約5秒 系統自動重新連線傳送, 則可正常傳送.
這算正常嗎?
若是外部網域一次傳送20多個內部網域的接收者,
是否會照成以上結果?

iRedApd  max_msgs default 為20 , current: 21  才造成的?

2).
mail server 端
iredapd.log:

2017-09-26 16:03:31 DEBUG [SQL] Query result:
[(190L, 1L, 'alert@mydomain.com', 21, 11895L, 1506413000L, 1506413011L)]
2017-09-26 16:03:31 DEBUG Tracking IDs: {(1L, 'alert@mydomain.com'): 190L}
2017-09-26 16:03:31 INFO [xx.xx.xx.60] [alert@mydomain.com] Exceeds recipient throttle for max_msgs, current: 21. (msg_size=100000000 (bytes)/id=1/account=@mydomain.com; max_msgs=20/id=1/account=@mydomain.com; )
2017-09-26 16:03:31 DEBUG <-- Result: REJECT Quota exceeded (number of mails in total)
2017-09-26 16:03:31 DEBUG Session ended.

maillog

15092:Sep 26 16:03:31 mail postfix/smtpd[16436]: NOQUEUE: reject: RCPT from xx-xx-xx-60.HINET-IP.hinet.net[xx.xx.xx.60]: 554 5.7.1 <alert@mydomain.com>: Recipient address rejected: Quota exceeded (number of mails in total); from=<Fail2Ban_Web@web.mydomain.com> to=<alert@mydomain.com> proto=ESMTP helo=<web.mydomain.com>
15093:Sep 26 16:03:31 mail postfix/smtpd[16440]: NOQUEUE: reject: RCPT from xx-xx-xx-60.HINET-IP.hinet.net[xx.xx.xx.60]: 554 5.7.1 <alert@mydomain.com>: Recipient address rejected: Quota exceeded (number of mails in total); from=<Fail2Ban_Web@web.mydomain.com> to=<alert@mydomain.com> proto=ESMTP helo=<web.mydomain.com>

回复: Result: REJECT Quota exceeded (number of mails in total)

rain6966 写道:

iRedApd  max_msgs default 為20 , current: 21  才造成的?

这个是你的 iredapd throttle 设置导致的。可以适当增加允许发送的邮件数量。

回复: Result: REJECT Quota exceeded (number of mails in total)

ZhangHuangbin 写道:

iredapd throttle 设置导致

倒忘記以前的設定了!
更改: 主控台/Profile of domain/Throttling/Number of max inbound emails
把20加大 即可.

感謝回覆.