Thanks. Already done it (using the access file), but I was getting way a
few thousand connection attempts a day. I am now to 100 - 200.
On 28/02/2019 16:11, Yassine Chaouche wrote:
On 2/28/19 4:28 PM, Nick Howitt wrote:
[...] I am currently under a spam attack with all mails coming from
[email protected].
root@messagerie[10.10.10.19] ~ # grep reject_senders /etc/postfix/main.cf
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/maps/reject_senders
root@messagerie[10.10.10.19] ~ # cat /etc/postfix/maps/reject_senders
qq.comĀ REJECT
uscourtsgov.com REJECT
root@messagerie[10.10.10.19] ~ #
A bit drastic, but no more mail from qq.com nor uscourtsgov.com for me !
Yassine.
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users