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.... .....

gefragt vor 2 Monaten108 Aufrufe
1 Antwort
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
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen