1

Topic: 限流邮件通知

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Oct  2 14:42:58 gz journal: iredapd Sent notification email to admin(s) to report quota exceed: user=adc@acb.com, max_msgs=50. 
我在日志里看到当邮件发送超出限额管理员会受到通知邮件,但是我的管理员邮箱并没有收到通知,请问是什么问题。

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 限流邮件通知

- 检查一下 Postfix 的日志文件里报什么错。
- iRedAPD 的配置文件(/opt/iredapd/settings.py)可以定义 smtp 发件人和验证相关的参数(这些参数可以在 /opt/iredapd/libs/default_settings.py 里找到默认值),可以根据自己的需要添加到 settings.py 然后重启 iredapd 服务。

# Recipients of notification email
NOTIFICATION_RECIPIENTS = ['root']

# SMTP server address, port, username, password used to send notification mail.
NOTIFICATION_SMTP_SERVER = 'localhost'
NOTIFICATION_SMTP_PORT = 587
NOTIFICATION_SMTP_STARTTLS = True
NOTIFICATION_SMTP_USER = 'no-reply@localhost.localdomain'
NOTIFICATION_SMTP_PASSWORD = ''
NOTIFICATION_SMTP_DEBUG_LEVEL = 0

# The short description or full name of this smtp user. e.g. 'No Reply'
NOTIFICATION_SENDER_NAME = 'No Reply'