From 1f63d97423916666d6cce2d91a4b0914e02d0dad Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 3 Aug 2017 09:32:39 +0800 Subject: [PATCH] Add new iRedAPD rejection message: SMTP AUTH is required for users under this sender domain. --- en_US/faq/1-errors.md | 23 +++++++++++++++++++++++ html/errors.html | 29 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/en_US/faq/1-errors.md b/en_US/faq/1-errors.md index 1cfaf4f8..a3e4dbf4 100644 --- a/en_US/faq/1-errors.md +++ b/en_US/faq/1-errors.md @@ -87,6 +87,29 @@ this issue. then enable it in iRedAPD config file `/opt/iredapd/settings.py` (`plugins = `), restart iRedAPD service. That's all. +### Recipient address rejected: SMTP AUTH is required for users under this sender domain + +> Old error message was: `SMTP AUTH is required, or it is a spam with forged sender domain` + +Sender domain is hosted locally on your iRedMail server, but sender doesn't +perform SMTP AUTH to send email. + +* If this is not sent by a server or device under your control, most likely this + email is spam with forged sender address. + +* If this is sent by a server or device under your control and you want to + allow it, please add the IP address of this server/device in 2 config files + (NOTE: parameter names are case SeNsItIvE): + + * `/opt/iredapd/settnigs.py`, parameter `MYNETWORKS =` (doesn't exist by + default, feel free to add it). For example: + + `MYNETWORKS = ['192.168.0.10', '192.168.0.20', '192.168.0.30']` + + * `/etc/postfix/main.cf`, parameter `mynetworks =`. For example: + + `mynetworks = 127.0.0.1 192.168.0.10 192.168.0.20 192.168.0.30` + ### Recipient address rejected: Sender is not same as SMTP authenticate username #### case #1 diff --git a/html/errors.html b/html/errors.html index 8578c5e5..4ef9d604 100644 --- a/html/errors.html +++ b/html/errors.html @@ -24,6 +24,7 @@
  • Sender address rejected: not logged in
  • Helo command rejected: need fully-qualified hostname
  • Sender address rejected: not owned by user user@domain.ltd
  • +
  • Recipient address rejected: SMTP AUTH is required for users under this sender domain
  • Recipient address rejected: Sender is not same as SMTP authenticate username