I'm looking for a way to both receive emails and then store them in s3 at the same time while using ses, i found out that it can't be done unless i do some way of forwarding, so, what i did was that i created an additional subdomain "ses.example.com" and Linked it in DNS (MX) to inbound-smtp.us-east-1.amazonaws.com, and then created an email adress called firstname.lastname@example.org and configured it under ses to store s3 (using rule sets), in addition to this, i used "always_bcc" configuration to forward all mails to the address email@example.com, by doing so, i managed to receive and store only locally sent mails, mails coming from outside will not be stored, i think that is happening because when the mails are forwarded, the "from" header stays the same, but, i'm not really sure, is there a way around this ?
I just need to know if there is a way to use ses to both store emails in S3 and receive them to my mailserver at the same time.
tell me if you need more information please.
I'm using Zimbra mail server with postfix.
This is how my dns looks like :
Example.com MX 10 mail.example.com. ses.example.com 10 MX inbound-smtp.us-east-1.amazonaws.com