Topic: Amazon SES email forwarding
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====
Hi, this isn't strictly about iredmail although i hoped someone might be able to shed some light on it anyway. Here is my problem;
Im using Amazon SES to send all or my email via SMTP & postfix. Amazon SES requires all sending addresses (or domains) to be verified in the amazon SES dashboard or they are automatically rejected. This is great for security and spam prevention in general but i have recently encountered a problem which i cant seem to find a workaround for.
Basically, lets say i have at inbox (ben@domain.com) which has a forwarding address set up (ben@gmail.com) so that all mail is automatically forwarded to that external inbox. If i send an email from another external address (ben@yahoo.com) it sucesfully arrives in the ben@domain.com inbox (since 'incoming' mail does not pass through SES) but then the forwarded message never sends/arrives because the server keeps the from address as ben@yahoo.com and attempts to forward the email on via SES to ben@gmail.com.
The reason it fails of course is that amazon thinks i am trying to send an email from ben@yahoo.com to ben@gmail.com and the yahoo.com address (or anything else for that matter) is obviously not in my verified sending domains list.
This seems like a relatively minor and quite specific issue but it actually means that email forwarding is completely broken for us currently, and a lot of the domains we are hosting belong to clients who like to forward all of their mail to their preferred webmail provider. Like i said, this isnt a flaw or a fault with iredmail in any way, i am just after some potential suggestions
Any one got any ideas on a way around this? Im thinking some way to modify the email headers pre-forwarding might work but its outside my skill level to know how to do this.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.