dovecot: add fail2ban jail
I tested this patch on a production server. When trying to authenticate with Thunderbird, the program will try to log in three times, then disconnect from the server. This means that one failed login attempt will be logged as four attempts. For this reason, set maxretry to be 30.
The IP block only affects dovecot, other services are still reachable.
Signed-off-by: nbenedek contact@nbenedek.me