Add new iRedAPD rejection message: SMTP AUTH is required for users under this sender domain.

This commit is contained in:
Zhang Huangbin 2017-08-03 09:32:39 +08:00
parent 0a7d324616
commit 1f63d97423
2 changed files with 52 additions and 0 deletions

View File

@ -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

View File

@ -24,6 +24,7 @@
<li><a href="#sender-address-rejected-not-logged-in">Sender address rejected: not logged in</a></li>
<li><a href="#helo-command-rejected-need-fully-qualified-hostname">Helo command rejected: need fully-qualified hostname</a></li>
<li><a href="#sender-address-rejected-not-owned-by-user-userdomainltd">Sender address rejected: not owned by user user@domain.ltd</a></li>
<li><a href="#recipient-address-rejected-smtp-auth-is-required-for-users-under-this-sender-domain">Recipient address rejected: SMTP AUTH is required for users under this sender domain</a></li>
<li><a href="#recipient-address-rejected-sender-is-not-same-as-smtp-authenticate-username">Recipient address rejected: Sender is not same as SMTP authenticate username</a><ul>
<li><a href="#case-1">case #1</a></li>
<li><a href="#case-2">case #2</a></li>
@ -114,6 +115,34 @@ instead (requires iRedAPD-1.4.4 or later releases).</p>
then enable it in iRedAPD config file <code>/opt/iredapd/settings.py</code> (<code>plugins =</code>),
restart iRedAPD service. That's all.</p>
</div>
<h3 id="recipient-address-rejected-smtp-auth-is-required-for-users-under-this-sender-domain">Recipient address rejected: SMTP AUTH is required for users under this sender domain</h3>
<blockquote>
<p>Old error message was: <code>SMTP AUTH is required, or it is a spam with forged sender domain</code></p>
</blockquote>
<p>Sender domain is hosted locally on your iRedMail server, but sender doesn't
perform SMTP AUTH to send email.</p>
<ul>
<li>
<p>If this is not sent by a server or device under your control, most likely this
email is spam with forged sender address.</p>
</li>
<li>
<p>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):</p>
<ul>
<li>
<p><code>/opt/iredapd/settnigs.py</code>, parameter <code>MYNETWORKS =</code> (doesn't exist by
default, feel free to add it). For example:</p>
<p><code>MYNETWORKS = ['192.168.0.10', '192.168.0.20', '192.168.0.30']</code></p>
</li>
<li>
<p><code>/etc/postfix/main.cf</code>, parameter <code>mynetworks =</code>. For example:</p>
<p><code>mynetworks = 127.0.0.1 192.168.0.10 192.168.0.20 192.168.0.30</code></p>
</li>
</ul>
</li>
</ul>
<h3 id="recipient-address-rejected-sender-is-not-same-as-smtp-authenticate-username">Recipient address rejected: Sender is not same as SMTP authenticate username</h3>
<h4 id="case-1">case #1</h4>
<p>If the smtp authenticate username is different than the address in mail header