Explan new Postfix error message: unreasonable virtual_alias_maps map expansion size.

This commit is contained in:
Zhang Huangbin 2015-02-12 21:39:44 +08:00
parent 4aa730b56c
commit 9f7b18e586
4 changed files with 40 additions and 3 deletions

View File

@ -28,11 +28,31 @@ this issue.
> to send as their alias addresses, or allow member of mail list/alias to send
> as mail list/alias, you should try iRedAPD plugin `reject_sender_login_mismatch`
> instead (requires iRedAPD-1.4.4 or later releases).
>
>
> Read comments in file `/opt/iredapd/plugins/reject_sender_login_mismatch.py`,
> then enable it in iRedAPD config file `/opt/iredapd/settings.py` (`plugins = `),
> restart iRedAPD service. That's all.
### unreasonable virtual_alias_maps map expansion size for user@domain.com
Error message in Postfix log file:
> Feb 11 19:59:06 mail postfix/cleanup[30575]: warning: 23C334232FB3:
> unreasonable virtual_alias_maps map expansion size for user@domain.com
> -- deferring delivery
It means the maximal number of addresses that virtual alias expansion produces
from each original recipient exceeds hard limit, please either increase the
hard limit (default is 1000), or reduce alias members.
To increase the limit to, for example, 1500, please add below setting in
Postfix config file `/etc/postfix/main.cf`:
```
virtual_alias_expansion_limit = 1500
```
Reference: [Postfix Configuration Parameters](http://www.postfix.org/postconf.5.html#virtual_alias_expansion_limit)
## Amavisd

View File

@ -5,7 +5,7 @@
### Why iRedMail doesn't enable SMTPS (SMTP over SSL) by default
SMTPS is deprecated, so iRedMail disable it by default.
Quote from (wikipedia.org)[http://en.wikipedia.org/wiki/SMTPS]
Quote from [wikipedia.org](http://en.wikipedia.org/wiki/SMTPS)
> Originally, in early 1997, the Internet Assigned Numbers Authority registered 465 for SMTPS. By the end of 1998, this was revoked when STARTTLS has been specified. With STARTTLS, the same port can be used with or without TLS. SMTP was seen as particularly important, because clients of this protocol are often other mail servers, which can not know whether a server they wish to communicate with will have a separate port for TLS. The port 465 is now registered for Source-Specific Multicast audio and video.

View File

@ -24,7 +24,7 @@
</div>
<h3 id="why-iredmail-doesnt-enable-smtps-smtp-over-ssl-by-default">Why iRedMail doesn't enable SMTPS (SMTP over SSL) by default</h3>
<p>SMTPS is deprecated, so iRedMail disable it by default.
Quote from (wikipedia.org)[http://en.wikipedia.org/wiki/SMTPS]</p>
Quote from <a href="http://en.wikipedia.org/wiki/SMTPS">wikipedia.org</a></p>
<blockquote>
<p>Originally, in early 1997, the Internet Assigned Numbers Authority registered 465 for SMTPS. By the end of 1998, this was revoked when STARTTLS has been specified. With STARTTLS, the same port can be used with or without TLS. SMTP was seen as particularly important, because clients of this protocol are often other mail servers, which can not know whether a server they wish to communicate with will have a separate port for TLS. The port 465 is now registered for Source-Specific Multicast audio and video.</p>
</blockquote>

View File

@ -16,6 +16,7 @@
<li><a href="#errors-you-may-see-while-maintaining-iredmail-server">Errors you may see while maintaining iRedMail server</a><ul>
<li><a href="#postfix">Postfix</a><ul>
<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="#unreasonable-virtual_alias_maps-map-expansion-size-for-userdomaincom">unreasonable virtual_alias_maps map expansion size for user@domain.com</a></li>
</ul>
</li>
<li><a href="#amavisd">Amavisd</a><ul>
@ -52,6 +53,22 @@ 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>
</blockquote>
<h3 id="unreasonable-virtual_alias_maps-map-expansion-size-for-userdomaincom">unreasonable virtual_alias_maps map expansion size for user@domain.com</h3>
<p>Error message in Postfix log file:</p>
<blockquote>
<p>Feb 11 19:59:06 mail postfix/cleanup[30575]: warning: 23C334232FB3:
unreasonable virtual_alias_maps map expansion size for user@domain.com
-- deferring delivery</p>
</blockquote>
<p>It means the maximal number of addresses that virtual alias expansion produces
from each original recipient exceeds hard limit, please either increase the
hard limit (default is 1000), or reduce alias members.</p>
<p>To increase the limit to, for example, 1500, please add below setting in
Postfix config file <code>/etc/postfix/main.cf</code>:</p>
<pre><code>virtual_alias_expansion_limit = 1500
</code></pre>
<p>Reference: <a href="http://www.postfix.org/postconf.5.html#virtual_alias_expansion_limit">Postfix Configuration Parameters</a></p>
<h2 id="amavisd">Amavisd</h2>
<h3 id="connect-to-12700112700110024-connection-refused">connect to 127.0.0.1[127.0.0.1]:10024: Connection refused</h3>
<p>This error means Amavisd service is not running, please try to start it first.</p>