[Top] [All Lists]

Re: [ietf-smtp] Valid RFC5322 address

2020-05-03 10:11:44
On Sun, May 03, 2020, Hector Santos wrote:


Not valid in 5321.

with the ':' and also '/' ??

':' is not valid in a local part (unless quoted).

It appears to be accepted by various servers, including my own.

Well, most mail servers accept all kind of garbage ("be liberal ... ").

Mine doesn't:
Mail from:<github.agent:.github-hookshot/7431eee(_at_)winserver(_dot_)com>
501 5.1.7 Bad sender's mailbox address syntax.

Just quote it and you're ok:

So I need to know if the address is valid. Its hard to decipher whether it
is or not from the RFC5322/RFC5321 BNF. It seems to read the ':' and '/'
characters are valid.

Where do you see an unquoted ':' as valid in "Local-part"?  ':' is
used to separate "At-Domain" parts.

ietf-smtp mailing list