1

Topic: Fail2ban on Port 587

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS
- Related log if you're reporting an issue:
====

HI All,

Quick question on whether I have to configure Fail2ban to monitor Port 587. Should I add the value '587' to the Postfix section of Jail.local? Or does the value 'smtp' already cover it?

Snippet from Jail.local:
action = iptables-multiport[name=postfix, port="http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve", protocol=tcp]

Thanks!

2

Re: Fail2ban on Port 587

Fail2ban monitors log files, not port.

3

Re: Fail2ban on Port 587

Understood, thanks!