How to set a DKIM record for a domain hosted within Route 53 when the mail server is not in AWS

0

I have a domain that is managed in Route 53, but the servers are somewhere else.

My emails from that domain are being rejected for not having SPF and DKIM. I was able to set SPF within Route 53, but not DKIM. The key i brought from the mail server hosting is being rejected for being too long (as a TXT record) and it is not clear or evident solution is being offered by Route 53.

Error occurred Bad request. (InvalidChangeBatch 400: CharacterStringTooLong (Value is too long) encountered with '"default._domainkey 14400 IN TXT "v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9LPp1DUrKuStMOP9c1SU1mK.... .....

已提問 2 個月前檢視次數 106 次
1 個回答
2

You need to split your TXT record value to multiple strings as described in this post

This is because of the protocol limitation of 255 characters (not Route 53 limitation).

AWS
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南