mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.98k stars 1.44k forks source link

On AWS: CharacterStringTooLong #1544

Open binarykitchen opened 5 years ago

binarykitchen commented 5 years ago

When I try to add a DKIM TXT record on Amazon Route 53 Domain Management using the suggested value off Mailinabox' External DNS page, this error comes up

CharacterStringTooLong (Value is too long) encountered with '"v=DKIM1; h=sha256; k=rsa; s=email; p=(removed"']

Upon research turns out max length is 255. Yours goes beyond that it seems. See https://aws.amazon.com/premiumsupport/knowledge-center/characterstringtoolong-error/

Possible to adjust DKIM generation?

just4t commented 5 years ago

Did you try to split the given value as a CUSTOM DNS entry? here a HOWTO

binarykitchen commented 5 years ago

ah, thanks for the link.

why not split DKIM signature already by default? this to save us some seconds?