WKD lookup
Peter Lebbing
peter at digitalbrains.com
Mon Nov 7 11:37:59 CET 2016
On 04/11/16 21:16, Werner Koch wrote:
> Strip everyting up to and including the first '@' from the (UTF_8
> encoded) addr-spec.
This is perhaps not as RFC 5321 specifies e-mail addresses[1]. I see:
-----------------------8<--------------->8-----------------------
Mailbox = Local-part "@" ( Domain / address-literal )
Local-part = Dot-string / Quoted-string
; MAY be case-sensitive
Dot-string = Atom *("." Atom)
Atom = 1*atext
Quoted-string = DQUOTE *QcontentSMTP DQUOTE
QcontentSMTP = qtextSMTP / quoted-pairSMTP
quoted-pairSMTP = %d92 %d32-126
; i.e., backslash followed by any ASCII
; graphic (including itself) or SPace
qtextSMTP = %d32-33 / %d35-91 / %d93-126
; i.e., within a quoted string, any
; ASCII graphic or space is permitted
; without blackslash-quoting except
; double-quote and the backslash itself.
-----------------------8<--------------->8-----------------------
atext is defined in RFC 5322: [2]
-----------------------8<--------------->8-----------------------
atext = ALPHA / DIGIT / ; Printable US-ASCII
"!" / "#" / ; characters not including
"$" / "%" / ; specials. Used for atoms.
"&" / "'" /
"*" / "+" /
"-" / "/" /
"=" / "?" /
"^" / "_" /
"`" / "{" /
"|" / "}" /
"~"
-----------------------8<--------------->8-----------------------
This seems to suggest the following e-mail addresses:
"Peter at work"@example.org
"Unmatched\"@messing-with-you"@example.org
It would also seem to suggest that people doing this deserve not being
able to receive e-mail ;-).
HTH,
Peter.
[1] https://tools.ietf.org/html/rfc5321#section-4.1.2
[2] https://tools.ietf.org/html/rfc5322#section-3.2.3
--
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
More information about the Gnupg-devel
mailing list