[ietf-smtp] Valid RFC5322 address

Hector Santos <hsantos@isdg.net> Sun, 03 May 2020 14:52 UTC

Return-Path: <hsantos@isdg.net>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 54B613A0DF8 for <ietf-smtp@ietfa.amsl.com>; Sun, 3 May 2020 07:52:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.201
X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isdg.net header.b=CpwN9VUV; dkim=pass (1024-bit key) header.d=beta.winserver.com header.b=QdnDdCZ/
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id 5_kQvW3JFHxC for <ietf-smtp@ietfa.amsl.com>; Sun, 3 May 2020 07:52:04 -0700 (PDT)
Received: from mail.winserver.com (pop3.winserver.com []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D34C3A0DF7 for <ietf-smtp@ietf.org>; Sun, 3 May 2020 07:52:03 -0700 (PDT)
DKIM-Signature: v=1; d=isdg.net; s=tms1; a=rsa-sha1; c=simple/relaxed; l=905; t=1588517512; atps=ietf.org; atpsh=sha1; h=Received:Received:Received:Received:Message-ID:Date:From: Organization:To:Subject:List-ID; bh=YW6ZfHM/SRaKRT4Dz8m2Owkf+8k=; b=CpwN9VUVvAACKFVRzI1DpItyHv87je0AlJcVTawyhGEOetHr8wQdUSsT1g94Wl CjJi5W02AiMitccOP+yrM1SW4+pNMYxdHVcjMSkmRaBr56bTkEwLXrroHEnR+wdM 3O34a8f4U+ovzMIbi/LvfVFB3O+oFWpSOKrm1FDsd8wDA=
Received: by winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Sun, 03 May 2020 10:51:52 -0400
Authentication-Results: dkim.winserver.com; dkim=pass header.d=beta.winserver.com header.s=tms1 header.i=beta.winserver.com; dmarc=pass policy=reject author.d=isdg.net signer.d=beta.winserver.com (atps signer);
Received: from beta.winserver.com ([]) by winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 3539824641.8770.4708; Sun, 03 May 2020 10:51:51 -0400
DKIM-Signature: v=1; d=beta.winserver.com; s=tms1; a=rsa-sha256; c=simple/relaxed; l=905; t=1588517157; h=Received:Received: Message-ID:Date:From:Organization:To:Subject:List-ID; bh=WCn+yzc E3Gzsf+UuPZqzyCTUuZ/b4gTykvL09wPS88I=; b=QdnDdCZ/ACPagOBF+5BZOXz bmiE2XocnVdm3jm7FtqrThGiKaQrGgR748ZOhNfO4AiYloP1WfmQULxnXddcp3mc ER5wsZxlQ5C4wh8ZfYZ2tbG10sjHBwr7pS5n/tVRia/TeY7vdLhlwLhJwFobmY1C WBVPR7LGfHIlyuXTViNo=
Received: by beta.winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Sun, 03 May 2020 10:45:57 -0400
Received: from [] ([]) by beta.winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 251231765.3.5028; Sun, 03 May 2020 10:45:57 -0400
Message-ID: <5EAEDA84.1050408@isdg.net>
Date: Sun, 03 May 2020 10:51:48 -0400
From: Hector Santos <hsantos@isdg.net>
Reply-To: hsantos@isdg.net
Organization: Santronics Software, Inc.
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.8.1
MIME-Version: 1.0
To: SMTP Interest Group <ietf-smtp@ietf.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/sywsU-zl2BJobpD602i0OIyaMyg>
Subject: [ietf-smtp] Valid RFC5322 address
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 May 2020 14:52:06 -0000

Is this a valid address?

08:04:33.934 C: MAIL 
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.