mirror of
https://github.com/Pro/dkim-exchange.git
synced 2026-04-25 08:55:52 +03:00
[GH-ISSUE #77] Cannot use dots in the selector field #59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RostKost on GitHub (Jan 29, 2015).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/77
Error message: The selector should only contain characters, numbers and underscores.
So, I cannot use hostname feb2009.myesp._domainkey.example.com
http://dkimcore.org/specification.html
A selector is a string of no more than 63 lower-case alphanumeric characters (a-z or 0-9) followed by a period “.”, followed by another string of no more than 63 lower-case alphanumeric characters.
Rostislav.
@Pro commented on GitHub (Jan 29, 2015):
Oh, yes. That's a bug, namely this check is wrong:
https://github.com/Pro/dkim-exchange/blob/master/Src/Configuration.DkimSigner/MainWindow.cs#L234
The regex should be something like
^[a-z0-9_]{1,63}(?:\.[a-z0-9_]{1,63})?$Until this is fixed in the next release, you can just add the selector without a point, then open the config file and edit the selector to contain a point (see https://github.com/Pro/dkim-exchange#manual-configuration)