• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue I am under SMTP attack

Jimlee3

Basic Pleskian
I checked my maillog today and saw a lot of SASL LOGIN authentication failed: authentication failure messages. It appears that I am under SMTP brute force attack. Fail2ban is enabled yet same person tried to login many times. Any ideas how to avoid this?
 
Hi Jimlee3,

Fail2ban is enabled yet same person tried to login many times. Any ideas how to avoid this?
if you experience issues by non-blocking fail2ban intruders, consider posting the fail2ban - log and it's corresponding fail2ban - configurations ( jails ) for mail - filters and actions. Be ware that you might set up the allowed attempts to a lower level and consider using an additional "recidive" - jail, to ban repeat offenders for a longer time.
 
Hi Jimlee3,


if you experience issues by non-blocking fail2ban intruders, consider posting the fail2ban - log and it's corresponding fail2ban - configurations ( jails ) for mail - filters and actions. Be ware that you might set up the allowed attempts to a lower level and consider using an additional "recidive" - jail, to ban repeat offenders for a longer time.

The problem is that the IP is changing every single time, I have enabled plesk-postfix and reduced login attempted to 1 and increased the time but still under attack
is there anyway I can disable SMTP remote access so people are enable to connect to SMTP remotely?
 
Hi Jimlee3,

is there anyway I can disable SMTP remote access so people are enable to connect to SMTP remotely?
You could find the answer to your question in your very own thread: => https://talk.plesk.com/threads/is-there-an-smtp-restrictions-in-plesk.340332/


To check, whether a Fail2Ban jail will fit ( and ban existent scripts/bots/intruders ) your current configuration, you could use for example the ssh - command ( logged in as user "root" ):

Code:
fail2ban-regex /var/log/maillog /etc/fail2ban/filter.d/postfix-sasl.conf --print-all-matched
 
Back
Top