On 12/18/20 8:38 AM, @lbutlr wrote:
> 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.


Revisiting this ...  where exactly do you apply this ruleset?  I'm
looking at implementing a rule to discard all four-letter-and-above TLDs
except whitelisted ones, because I'm tired of playing whack-a-mole.

Are you using header_checks rule, or something else?


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958

Reply via email to