Remove "via" from emails sent to Gmail from Amazon SES

When sending emails from Amazon SES, gmail shows "sent via amazonses.com". How do I remove this?

According to Google,

I'm a sender and I don't want my recipients to see the "via" link. What can I do? Gmail checks whether emails are correctly authenticated. If your messages are sent by a bulk mailing vendor or by third-party affiliates, please publish an SPF record2 that includes the IPs of the vendor or affiliates which send your messages and sign your messages with a DKIM3 signature that is associated with your domain.

I have added both SPF and DKIM records. When looking at the original email, it shows both passed.

Received-SPF: pass
Authentication-Results: mx.google.com; spf=pass ...; dkim=pass ...

Any ideas?


Once DKIM was setup (for help, see this guide) and verified successfully on my domain I still had to enable it in the AWS console at SES -> Domains -> DKIM

dkim enabled

Once that was done mails to Gmail no longer show up with the via bounces address.

dkim sending result

You can see it still shows as mailed by: amazonses.com when you view details of the sender but that's OK since it's true.

Importantly, it shows as signed by our domain.

Hope that it's as simple as enabling DKIM for you.


Along with verifying the domain and enabling DKIM on the domain, I also had to enable DKIM on the verified email address I was sending from.


If your 'from' description contains certain special characters it can fail even with everything set up correctly.

eg. having a registered trademark in my 'from' screwed everything up

var toAddress = new System.Net.Mail.MailAddress("[email protected]",
                                                "Example.com® Customer Support");

This gave me headers of :

 Authentication-Results: mx.google.com;
      dkim=fail [email protected];
      dkim=fail [email protected];

I'm not sure exactly why - but probably related to character encoding or something like that. So I would expect this may fail for accented characters or other special symbols.

(Where example.com is my own domain that I am sending from, and [email protected] is the address enabled for DKIM in Amazon SES)