On 16 Dec 2020, at 04:14, Dominic Raferd <domi...@timedicer.co.uk> wrote:
> /etc/postfix/reject_domains:
> 
> /@abcd\.biz$/ DUNNO
> /\.bid$/ REJECT We reject all .bid domains
> /\.biz$/ REJECT We reject all .biz domains

I do this:

/.*automators\.fm$/ DUNNO
/.*counter\.social/ DUNNO
/.*ometria.email/ DUNNO
/.*\.(com|net|org|edu|gov|ca|mx|de|dk|fi|fr|uk|us|tv|info|eu|es|il|it|nl|name|jp|host|au|nz|ch|tv)$/
 DUNNO
/.*\.*$/ 550 Mail to or from this TLD is not allowed

Fourth line passes all the "good" TLDs that I accept mail from, based on my 
server's mail. The first three accept specific domains. The last tells everyone 
else to go away, and why.

This means I do not need to keep track of the new TLDs that are being created 
every day to firehose more spam, they simply get dropped almost immediately.

-- 
IT'S POTATO, NOT POTATOE Bart chalkboard Ep. 7F01

Reply via email to