about header address parsing

Timo Sirainen timo at sirainen.com
Tue Sep 1 10:59:02 EEST 2020


On 1. Sep 2020, at 6.24, TACHIBANA Masashi <tachibana at qualitia.co.jp> wrote:
> 
> Hi,
> 
> Is this expected or not?
> 
> From: user1 at fuga.example.com <user1 at example.com>
> To: user2 at hoge.example.com <user2 at example.com>
>> a uid fetch 43055 (envelope)
> * 1860 FETCH (UID 43055 ENVELOPE ("Thu, 30 Jul 2020 13:52:59 +0900" "test1" ((NIL NIL "user1" "fuga.example.com")) ((NIL NIL "user1" "fuga.example.com")) ((NIL NIL "user1" "fuga.example.com")) ((NIL NIL "user2" "hoge.example.com")) NIL NIL NIL "<WLXvFmpAZFNeQbPPITjRwimDyamnBm1 at test>"))

This is an invalid email address, so it's neither correct nor incorrect to have this output. But this reminded me that I was going to discuss about this with other IETF people. Lets see what others think: https://mailarchive.ietf.org/arch/msg/extra/sqRTdsV_DGBhHu2ghdCDFo_pM8Q/ <https://mailarchive.ietf.org/arch/msg/extra/sqRTdsV_DGBhHu2ghdCDFo_pM8Q/>
> From: "user1 at fuga.example.com" <user1 at example.com>
> To: "user2 at hoge.example.com" <user2 at example.com>
>> a uid fetch 43056 (envelope)
> * 1861 FETCH (UID 43056 ENVELOPE ("Thu, 30 Jul 2020 13:53:59 +0900" "test1" (("user1 at fuga.example.com" NIL "user1" "example.com")) (("user1 at fuga.example.com" NIL "user1" "example.com")) (("user1 at fuga.example.com" NIL "user1" "example.com")) (("user2 at hoge.example.com" NIL "user2" "example.com")) NIL NIL NIL "<WLXvFmpAZFNeQbPPITjRwimDyamnBm2 at test>"))

This is a valid email address, and ENVELOPE reply is correct.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200901/44f4c915/attachment-0001.html>


More information about the dovecot mailing list