On 09.06.20 23:41, Nathan Ward wrote:
I am trying to figure out the best way to reject RCPT TO addresses with no
domain part - i.e. "RCPT TO: <test>" or similar. I do not want to rewrite
to $myhostname or $mydomain or similar.

I am on postfix 2.10.

put "reject_non_fqdn_recipient" into your smtpd_recipient_restrictions
- if you want to deny everyone from doing that, put it before common 
permit_mynetworks
and permit_sasl_authenticated

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watkins.  -- Daffy Duck & Porky Pig

Reply via email to