Syntax to add Google Workspace as a SMPT Sender by editing SPF Text Record?

0

I was trying to get Outbound mail working for my Bitnami Wordpress Website using WP Mail SMTP. I have my domain register with Route 53 and have WorkMail Inbox all set up. But I need it Outbound mail from within WordPress so I sign up for SES and set it up by verifying my domain and email, Send a test and it worked but only with verified emails since I am still in the SandBox. I tried to get out of the Sand box by applying but I was denied ( I guess AWS doesn't like newbies like myself to used their fancy tools) anyways, I was able to get SMPT credentials for SES to enter in to WP Mail SMTP but again, it only works with verified emails so is quite the limitation. So now I am trying to use Google Workspace and I set up SMPT there as well, and got the credentials to enter in to WP Mail SMTP. It works but now I am getting the mail send to the SPAM folder since I get an error that there is no SPF record for Google, only amazonses.com ~all. Since you can't have 2 SPF with the same domain, I am trying to add the spf for Google as follow:

The original record is: "v=spf1 include:amazonses.com ~all"

I tried: v=spf1 include:amazonses.com ~all include:_spf.google.com ~all

and

"v=spf1 include:amazonses.com ~all include:_spf.google.com ~all"

Neither one works, so does anybody know the correct syntax to add the spf for google or any other third party email service?

Edit: I also tried: "v=spf1 include:amazonses.com include:_spf.google.com ~all"

but once it Syncs I end up with:

""v=spf1 include:amazonses.com" "include:_spf.google.com ~all""

Thanks.

2 Risposte
1
Risposta accettata

Hello.

It seems that you have already tried it, but I think the following records are correct for setting multiple SPF records.

v=spf1 include:amazonses.com include:_spf.google.com ~all

With Route53, you can use it by entering and saving as shown below.
a

After setting it up, I think it's a good idea to check the settings on a site that allows you to check SPF records.
https://mxtoolbox.com/spf.aspx

If the setting is successful, it will be "Pass" as shown in the image below.
If you are editing an existing record, it may take some time for the changes to be reflected due to TTL etc.
b

profile picture
ESPERTO
con risposta 3 mesi fa
  • Thank you, I guess I was adding quotation marks around them, " " which didn't need them, so now I just copy your syntax and it worked. Thank you again.

0

So now I have a new issue and I wonder if its related to the way I added and edited the SPF Record. So right now is set to

v=spf1 include:amazonses.com include:_spf.google.com ~all

But for some reason only some mail gets pushed to the Google Client All the email is at my WorkMail.

I also added a TXT Record, with a google Domain Key for Spoofing which seem to work fine.

Any ideas where I can start looking?

thanks

con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande