• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

fail2ban notifications?

Azurel

Silver Pleskian
In my mail queue are hundreds mails with "[email protected]" from fail2ban (plesk12 module). Here I have a few questions:

1. How I can set "my" custom mail address here?

2. How I can disable this notification?

3. How I clear the "[email protected]" from mail queue?
Answer:
# postqueue -p | tail -n +2 | awk 'BEGIN { RS = "" } /fail2ban@example\.com/ { print $1 }' | tr -d '*!' | postsuper -d -



Thanks ;)

I have this jails enabled, but the only first of it have: "[email protected]".
Must I remove this line or comment out? How?

[ssh-iptables]
enabled = true
filter = sshd
action = iptables[name=SSH, port=ssh, protocol=tcp]
sendmail-whois[name=SSH, dest=[COLOR=#ff0000][email protected][/COLOR], sender=[email protected], sendername="Fail2Ban"]
logpath = /var/log/secure
maxretry = 5

------

[nginx-http-auth]
enabled = true
filter = nginx-http-auth
action = iptables-multiport[name=nginx-http-auth,port="80,443"]
logpath = /var/log/nginx/error.log
maxretry = 2

[plesk-apache]
enabled = true
filter = apache-auth
action = iptables-multiport[name=apache, port="http,https,7080,7081"]
logpath = /var/www/vhosts/system/*/logs/error_log
/var/log/httpd/*error_log
maxretry = 6

[plesk-apache-badbot]
enabled = true
filter = apache-badbots
action = iptables-multiport[name=BadBots, port="http,https,7080,7081"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
maxretry = 1

[plesk-courierimap]
enabled = true
filter = plesk-courierlogin
action = iptables-multiport[name="plesk-courierimap", port="imap,imap3,imaps,pop3,pop3s"]
logpath = /var/log/maillog
maxretry = 5

[plesk-panel]
enabled = true
filter = plesk-panel
action = iptables-multiport[name="plesk-login", port="8880,8443"]
logpath = /var/log/plesk/panel.log
maxretry = 5

[plesk-postfix]
enabled = true
filter = postfix-sasl
action = iptables-multiport[name="plesk-postfix", port="smtp,smtps,submission"]
logpath = /var/log/maillog
maxretry = 5

[plesk-proftpd]
enabled = true
filter = proftpd
action = iptables-multiport[name="plesk-proftpd", port="ftp,ftp-data,ftps,ftps-data"]
logpath = /var/log/secure
maxretry = 5
 
Last edited:
Back
Top