Ed W: > Wietse Venema wrote: > > If you don't want to receive mail for domain-less addresses then > > say so, instead of coming up with the wrong solution for the wrong > > problem. > > > > OK, "I want to accept most emails over smtp and then later bounce emails > with domain-less addresses"
That will not be supported. Adding a separate code path for domain-less envelope adresses would open a giant hole in the defenses. Instead, you can try to 1) configure Postfix smtpd to use an "invalid" myorigin value, 2) configure Postfix smtpd with a non-default rewrite_service_name setting that invokes a trivial-rewrite server that also uses that "invalid" myorigin value and no transport map, 3) configure the normal trivial-rewrite server with a transport map that routes mail for the invalid domain to "error: pebcak". Wietse