Re: underscore in domains

2016-02-17 Thread Viktor Dukhovni
> On Feb 17, 2016, at 5:18 AM, Tobi wrote: > > use a regexp on recipient and/or sender domain to reject such messages. > postfix accepts underscore in domain names as this is a common mistake > by many legitimate admins There's little reason to do this. If the domain is resolvable, accept it,

Re: underscore in domains

2016-02-17 Thread Tobi
Am 17.02.2016 um 09:30 schrieb Suuuper: > > I tried to add reject_non_fqdn_recipient in > smtpd_recipient_restrictions, but it doesn't work. > use a regexp on recipient and/or sender domain to reject such messages. postfix accepts underscore in domain names as this is a common mistake by many l

underscore in domains

2016-02-17 Thread Suuuper
Hi, if i read RFC 2821 (paragraph 2.3.5), the domain can contain only letters, digits, and hyphen but if i try to write an email with _, postfix accepts the mails. Es: telnet 10.0.8.141 25 ehlo example.com 250-fe.example.org 250-PIPELINING 250-SIZE 220200960 250-ETRN 250-STARTTLS 250-ENHANCEDSTAT