Question
Can I use cPanel's SRS feature to forward messages as a Verified Email Address for use with AWS SES?
Answer
No, it is not possible to use cPanel's SRS feature to forward mail as a Verified Email Address for use with Amazon SES.
cPanel's SRS feature will not work for this purpose because it only adds a Return-Path header to the message when forwarding the message with the explicit and sole purpose of allowing SPF verification to pass. It will not modify any other part of the message.
The Return-Path header is only one of the headers that Amazon uses to check for the Verified Email Address as is described in their documentation here:
Amazon SES email sending errors
Email address is not verified. The following identities failed the check in region region: identity1, identity2, identity3—You are trying to send email from an email address or domain that you have not verified with Amazon SES. This error could apply to the "From", "Source", "Sender", or "Return-Path" address.
Additionally, the Return-Path header that cPanel's SRS feature adds to the message contains randomly generated characters for each message that is forwarded. It is impossible for cPanel's SRS-generated Return-Path header to match any predetermined email address.
If you need to be able to forward messages on behalf of an SES-verified email address, you must reach out to a systems administrator with the skills, training, and expertise required to create a custom Exim configuration that is capable of doing this for you.
Additional resources
How does cPanel's SRS (Sender Rewriting Scheme) feature work?
Comments
0 comments
Article is closed for comments.