Amazon SES not working for forwarded mails/copy mails

Discussion in 'General' started by Cheecoh, Sep 5, 2019.

  1. Cheecoh

    Cheecoh New Member

    Hello everybody :)

    First of all I have a working ISPConfig-Setup with Amazon SES for normal outgoing mails. What does it mean?

    Sender X does a regular login on webmail client and sends a mail to someone.
    Sender X does a has an email client and sends a mail directly via smtp to someone.

    Aparrently as soon as I configure a "Send copy to" for this mailbox the forwading does not work. This is because SES bounces my mail because postfix seems not to replace the "MAIL FROM" automatically.

    Here are some log lines:

    Code:
    Sep  5 11:54:08 mx postfix/smtp[12838]: 17AEA216CE: to=<[email protected]>, relay=email-smtp.eu-west-1.amazonaws.com[52.214.66.138]:587, delay=0.75, delays=0.01/0.03/0.36/0.35, dsn=5.0.0, status=bounced (host email-smtp.eu-west-1.amazonaws.com[52.214.66.138] said: 554 Message rejected: Email address is not verified. The following identities failed the check in region EU-WEST-1: Some Stranger <[email protected]>, [email protected] (in reply to end of DATA command))
    [CODE]
    
    [CODE]
    Sep  5 11:54:09 mx postfix/smtp[12838]: D48C9230BF: to=<[email protected]>, relay=email-smtp.eu-west-1.amazonaws.com[52.16.208.210]:587, delay=0.38, delays=0/0/0.35/0.02, dsn=5.0.0, status=bounced (host email-smtp.eu-west-1.amazonaws.com[52.16.208.210] said: 501 Invalid MAIL FROM address provided (in reply to MAIL FROM command))
    
    I found the following articles which explain how to set it up for a single address but I'm still quite puzzled how to set it up to automatically replace it depending on the customers mailbox's email.

    https://serverfault.com/questions/4...ress-is-not-verified-error-with-postfix-relay
    https://serverfault.com/questions/681278/forwarding-email-with-postfix-via-aws-ses

    Does someone stumbled upon this already or am I missing some configuration in ISPConfig?

    Best Regards
    Chris
     

Share This Page