FWIW, I keep an xyz tld for test purposes. Point dot com to production and dot 
xyz for test. Yes I know there are ways to do this with a subdomain, but dot 
xyz is really cheap.

I never investigated if there production users of xyz.  
  Original Message  
From: Viktor Dukhovni
Sent: Monday, November 16, 2015 10:35 PM
To: postfix-users@postfix.org
Reply To: postfix-users@postfix.org
Subject: Re: rejecting email from specific domains

On Mon, Nov 16, 2015 at 11:31:23PM -0600, Chris Boylan wrote:

> So if I build a one line /etc/postfix/access with
> .xyz  REJECT

http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains

If smtpd_acces_maps is included, then the key is "xyz" not ".xyz".
You can always list both, but I think it rather risky to block an
entire gTLD.

-- 
Viktor.

Reply via email to