On 23 Oct 2019, at 15:20, lists <li...@lazygranch.com> wrote:
> 
> /\.asia$/ 510 Denied: Unacceptable TLD .asia

[Long list… removed]

smtpd_helo_restrictions = reject_invalid_helo_hostname
    check_helo_access pcre:/etc/postfix/helo_checks.pcre permit

/etc/postfix/helo_checks.pcre:
/.*\.(com|net|org|edu|gov|ca|mx|de|dk|fi|fr|uk|us|tv|info|biz|eu|es|il|it|nl|name|jp|host|au|nz|ch|tv)$/
 DUNNO
/.*\.*$/ 550 Mail to or from this TLD is not allowed


Of course your list will differ than mine, but I find this much better than 
reacting to which of these new garbage TLDs are spamming me this week.


-- 
Anybody who could duck the Vietnam war can certainly duck a couple of
shoes.

Reply via email to