[Top] [All Lists]

[ietf-smtp] Valid RFC5322 address

2020-05-03 09:52:17
Is this a valid address?

08:04:33.934 C: MAIL FROM:<github.agent:.github-hookshot/7431eee(_at_)winserver(_dot_)com>
08:04:34.712 S: 250 2.1.0 Ok

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

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

This is related to a new project of handling a GitHub Webhook HTTP notifications sent to my web server. The handler will the payload as a local message using the address:

From: github agent: github-hookshot/7431eee

That comes from an operator defined macro:

From: github agent: {GITHUB-AGENT}

Which is read from the JSON payload.

If the setup happens to send the notification to an email address, then the mail is exported for SMTP to sent out.

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.



ietf-smtp mailing list