haraka / node-address-rfc2822

Parser for RFC2822 (Header) format email addresses
https://www.npmjs.com/package/address-rfc2822
52 stars 16 forks source link

Parsing failed with HTAB? #41

Closed shurli closed 3 years ago

shurli commented 4 years ago

Hi, I'm using the lib with haraka 2.8.23. Normally we use the headers.get_decoded for further processing. Now we found some mails where the from headersfield is empty.

Searching the logfiles and the originalmail source we found that maybe the htab is a problem in email parsing.

this is in the mailsource: grafik

this is the log message: grafik

decoding of base64 and utf8 seems to work, but parsing not. I think the mail source is allowed by rfc, as CFWS.

msimerson commented 4 years ago

@shurli, did haraka/Haraka#2705 fix this?

msimerson commented 3 years ago

closing, due to non-response.