Hi all, i set this rule to fail2ban and modified failregex for some smtp codes, recepie is from fail2ban wiki page.
550 relayng
450 mailbox isnt on server
554 relayng transaction
now i testing this in my env.
Code:
failregex = reject: RCPT from (.*)\[<HOST>\]: 550 5.1.1
reject: RCPT from (.*)\[<HOST>\]: 450 4.7.1
reject: RCPT from (.*)\[<HOST>\]: 554 5.7.1