System Support:
> Changinig from WPNY to w...@maila.myserver.com did fix the problem.
> I have not had to add the domain in the past, but I was not relaying
> to Amazon, and Amazon does verify the source
> address, and I guess that they require a fully qualified name.
> And,  based on your other response, I gather that it is not possible
> to have a rewrite rule to do this automatically.

Amazon was objecting to this SMTP command:

    RCPT TO:<m...@gmail.com> ORPT=rfc822;WPNY

That is, the problem was not with the recipient address, but with
the ORPT parameter for delivery status notifications.

The alternative would be to disable Postfix DSN support with:

/etc/postfix/main.cf:
    smtp_discard_ehlo_keywords = dsn, silent_discard

so that it would send:

    RCPT TO:<m...@gmail.com>

but that would be a blunt tool.

        Wietse

Reply via email to