This commit is contained in:
Zhang Huangbin 2015-06-11 20:17:20 +08:00
parent 076c5731f8
commit 99c81b2346
6 changed files with 27 additions and 26 deletions

View File

@ -1,5 +1,6 @@
# TODO
* http://doc.samplezone.ch/iredmail/version-0-9-1/programs/program-sockets/
* http://doc.samplezone.ch/iredmail/
* How to install and configure SOGo groupware

View File

@ -153,6 +153,7 @@
<li><a href="translate.iredadmin.html">iRedAdmin-Pro: Translate iRedAdmin to your local language</a></li>
<li><a href="backup.restore.html">Backup and restore</a></li>
<li><a href="file.locations.html">Locations of configuration and log files of mojor components</a></li>
<li><a href="manage.wblist.html">Manage white/blacklists</a></li>
</ul><p style="text-align: center; color: grey;">Document published under a <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">CC BY-ND 3.0</a> license. If you found something wrong, please do <a href="http://www.iredmail.org/contact.html">contact us</a> to fix it.<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

View File

@ -404,16 +404,16 @@ ignoreregex =
<ol>
<li>Open file <code>/etc/fail2ban/filter.d/dovecot.iredmail.conf</code> or
<code>/usr/local/etc/fail2ban/filter.d/dovecot.iredmail.conf</code> (on FreeBSD), append
below line under <code>[Definition]</code> section:</li>
<code>/usr/local/etc/fail2ban/filter.d/dovecot.iredmail.conf</code> (on FreeBSD), replace
its content by below text:</li>
</ol>
<pre><code> Aborted login \(no auth attempts in .* rip=&lt;HOST&gt;
</code></pre>
<p>After modification, the whole content is:</p>
<pre><code>[Definition]
failregex = (?: pop3-login|imap-login): .*(?:Authentication failure|Aborted login \(auth failed|Aborted login \(tried to use disabled|Disconnected \(auth failed).*rip=(?P&lt;host&gt;\S*),.*
failregex = Authentication failure.* rip=&lt;HOST&gt;
Aborted login \(no auth attempts in .* rip=&lt;HOST&gt;
Aborted login \(auth failed.* rip=&lt;HOST&gt;
Aborted login \(tried to use disallowed .* rip=&lt;HOST&gt;
Aborted login \(tried to use disabled .* rip=&lt;HOST&gt;
ignoreregex =
</code></pre>

View File

@ -356,12 +356,12 @@ below line under <code>[Definition]</code> section:</li>
<h3 id="fixed-catch-all-support-doesnt-work-with-email-address-which-contains-address-extension">Fixed: catch-all support doesn't work with email address which contains address extension</h3>
<p>In iRedMail-0.9.1 and earlier versions, there's a known bug that per-domain
catch-all support doesn't work with email address which contains address
extension. for example, email address <code>username+extension@domain.com</code>. This
is fixed with below steps.</p>
extension. for example, email address <code>username+extension@domain.com</code>. Below
command fixes this issue.</p>
<p>Notes:</p>
<ul>
<li>Open file <code>/etc/postfix/ldap/catchall_maps.cf</code> (on Linux/OpenBSD) or
<code>/usr/local/etc/postfix/ldap/catchall_maps.cf</code> (on FreeBSD), replace all
<code>@%d</code> by <code>%s</code>:</li>
<li>on Linux/OpenBSD, it's <code>/etc/postfix/ldap/catchall_maps.cf</code>.</li>
<li>on FreeBSD, it's <code>/usr/local/etc/postfix/ldap/catchall_maps.cf</code></li>
</ul>
<pre><code># perl -pi -e 's#@%d#%s#g' /etc/postfix/ldap/catchall_maps.cf
</code></pre>

View File

@ -399,19 +399,17 @@ ignoreregex =
```
2. Open file `/etc/fail2ban/filter.d/dovecot.iredmail.conf` or
`/usr/local/etc/fail2ban/filter.d/dovecot.iredmail.conf` (on FreeBSD), append
below line under `[Definition]` section:
```
Aborted login \(no auth attempts in .* rip=<HOST>
```
After modification, the whole content is:
`/usr/local/etc/fail2ban/filter.d/dovecot.iredmail.conf` (on FreeBSD), replace
its content by below text:
```
[Definition]
failregex = (?: pop3-login|imap-login): .*(?:Authentication failure|Aborted login \(auth failed|Aborted login \(tried to use disabled|Disconnected \(auth failed).*rip=(?P<host>\S*),.*
failregex = Authentication failure.* rip=<HOST>
Aborted login \(no auth attempts in .* rip=<HOST>
Aborted login \(auth failed.* rip=<HOST>
Aborted login \(tried to use disallowed .* rip=<HOST>
Aborted login \(tried to use disabled .* rip=<HOST>
ignoreregex =
```

View File

@ -367,12 +367,13 @@ Restarting Fail2ban service is required.
In iRedMail-0.9.1 and earlier versions, there's a known bug that per-domain
catch-all support doesn't work with email address which contains address
extension. for example, email address `username+extension@domain.com`. This
is fixed with below steps.
extension. for example, email address `username+extension@domain.com`. Below
command fixes this issue.
* Open file `/etc/postfix/ldap/catchall_maps.cf` (on Linux/OpenBSD) or
`/usr/local/etc/postfix/ldap/catchall_maps.cf` (on FreeBSD), replace all
`@%d` by `%s`:
Notes:
* on Linux/OpenBSD, it's `/etc/postfix/ldap/catchall_maps.cf`.
* on FreeBSD, it's `/usr/local/etc/postfix/ldap/catchall_maps.cf`
```
# perl -pi -e 's#@%d#%s#g' /etc/postfix/ldap/catchall_maps.cf