• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Drop Script do DDoS on Postfix Mail Server

L

LucasB

Guest
Hi Folks.

I create a new perl script to block very high traffic in postfix smtp 25 port when have authentication problems. It's very interesting to fight against spam etc.

The script is poor written, and all changes and improvements are welcome

script download site
http://suporte.ampernet.com.br/~lucas/plesk/see.py

Requeriments needed
* run using root environment
* create a fifo file and redirect the syslog to it
To do this
# mkfifo /var/log/verpy
# vi /etc/rsyslog.conf

insert this line
mail.* |/var/log/verpy

run and see the log on /var/log/messages

Tks for all reply, and sorry the bad english and the poor programming!
 
Back
Top