On 2019-11-18 23:05 GMT, Gregory Heytings wrote:
> In lines 5-9 your server checks that the recipient address of the email the
> client would like to send, namely "*******@gmail.com", is deliverable. This
> happens because you have "reject_unverified_recipient" in
> "smtpd_recipient_restrictions" (see
> http://www.postfix.org/ADDRESS_VERIFICATION_README.html ).  The SMTP session
> ends with "2.1.5 status=deliverable", not with "2.0.0 status=sent", so no
> email is actually sent.
> 
> In lines 10-12 the client tries to actually send the email, but it is
> rejected because, as you wrote, "gmail.com" is not in relay_domains.

But postconf(5) says "smtpd_recipient_restrictions ... applies in the
context of a client RCPT TO command, after smtpd_relay_restrictions."

If smtpd_relay_restrictions applies first, why didn't its
reject_unauth_destination cause rejection before anything in
smtpd_recipient_restrictions was consulted?
-- 
Nick

Reply via email to