Whitelist Server IP for connect to SMTP

Open:

/etc/fail2ban/jail.local

And edit:

Uncomment and add your IPs and or domains to the Whitelist

#[DEFAULT]
#ignoreip = 111.111.111.111 222.222.222.222 subdomain.example.tld example.tld 333.333.333.333
1 Like