dont add the part of a domain name to blacklist

General eFa discussion
Post Reply
dunizia
Posts: 2
Joined: 01 Nov 2017 06:35

dont add the part of a domain name to blacklist

Post by dunizia » 01 Nov 2017 07:29

Hi! :)
I get spam from different subdomains *.date (for example 1.date, 2.date...). I need to add to the blacklist a domain "date" or zone. What is the syntax correct?
".date" not working

Thank you!

Zwabber
Posts: 60
Joined: 14 Feb 2016 21:26

Re: dont add the part of a domain name to blacklist

Post by Zwabber » 06 Nov 2017 14:44

Just add a rule to /etc/postfix/header_checks

/^From:.*\@*.date/ DISCARD

Post Reply