Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when parsing an email message #94

Closed
James-Hudson3010 opened this issue Jun 15, 2021 · 2 comments
Closed

Issue when parsing an email message #94

James-Hudson3010 opened this issue Jun 15, 2021 · 2 comments

Comments

@James-Hudson3010
Copy link

James-Hudson3010 commented Jun 15, 2021

When parsing the attached email message, I received the following messages:

More than one match found for (?:by\s+(?P<by>.+?)(?:\s*[(]?envelope-from|\s*[(]?envelope-sender|\s+from|\s+with(?! cipher)|\s+id|\s+for|\s+via|;)) in majordomo@vger.kernel.org by vger.kernel.org via listexpand id S230171AbhFJIbY ORCPT <rfc822;bruce@untroubled.org> ; Thu, 10 Jun 2021 04:31:24 -0400

More than one match found for (?:by\s+(?P<by>.+?)(?:\s*[(]?envelope-from|\s*[(]?envelope-sender|\s+from|\s+with(?! cipher)|\s+id|\s+for|\s+via|;)) in majordomo@vger.kernel.org by vger.kernel.org via listexpand id S230171AbhFJIbY ORCPT <rfc822;bruce@untroubled.org> ; Thu, 10 Jun 2021 04:31:24 -0400

This email message came from a spam archive ( http://untroubled.org/spam/ ) -- http://untroubled.org/spam/2021-06.7z

@James-Hudson3010
Copy link
Author

Attached wrong message...here is the correct one.

1623336582.1677509_17.txt

@fedelemantuano
Copy link
Contributor

It's not an issue. There isn't a standard to parse the received headers, so I print this message to tuning this regex. Thanks for submission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants