Community discussions

MikroTik App
 
ajay
just joined
Topic Author
Posts: 12
Joined: Thu May 17, 2012 12:48 pm

Block Spammers

Sun Oct 09, 2016 9:27 am

Hi Guys

I want to block the email spammers and below are the two rules I have implemented in Mikrotik Firewall.

********************

22 ;;; BLOCK SPAMMERS OR INFECTED USERS
chain=forward action=drop protocol=tcp src-address-list=spammer dst-port=25,587 log=no log-prefix=""

23 ;;; Detect and add-list SMTP virus or spammers
chain=forward action=add-src-to-address-list protocol=tcp address-list=spammer address-list-timeout=1d connection-limit=30,32 dst-port=25,587 limit=30/1m,0:packet
log=no log-prefix=""

********************

It seems to be working however I am not sure about limit=30/1m,0:packet parameter. I basically want to limit 30 emails per min per ip. Will this work??

Thanks