imapd.conf

add rule to fail2ban for imapd
pop3d.conf

add rule to fail2ban for pop3d