1

Topic: Documentation error

Hello,

Just noticed a small issue in the documentation to upgrade from iredmail.0.9.7 to 0.9.8

https://docs.iredmail.org/upgrade.iredm … hese-steps

Fail2ban: new jail postfix-pregreet

The file to be created is documented as "Create new file /etc/fail2ban/jail.d/postfix-pregreet.local" ... thus the filter rule appears to have two errors:

[postfix-pregreet-iredmail]
enabled     = true
filter      = postfix-pregreet.iredmail   <====This filter name seems wrong
logpath     = /var/log/maillog
maxretry    = 1
action      = iptables-multiports[name=postfix, port="25", protocol=tcp]  <=== There is an extra "s" in iptables-multiport

I believe the filter should be "postfix-pregreet" or the new file in /etc/fail2ban/jail.d/ should be named postfix-pregreet.iredmail.conf otherwise fail2ban will fail to load this filter.

Best,

Rafael

----

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

2

Re: Documentation error

rafaelr wrote:

filter      = postfix-pregreet.iredmail   <====This filter name seems wrong

I will keep this filter name, and create file "/etc/fail2ban/filter.d/postfix-pregreet.iredmail.conf".

rafaelr wrote:

action      = iptables-multiports[name=postfix, port="25", protocol=tcp]  <=== There is an extra "s" in iptables-multiport

Fixed.