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

Some emails coming through with headers in content, leading to parse failures #41

Open
turt2live opened this issue Jul 11, 2017 · 1 comment
Labels
Milestone

Comments

@turt2live
Copy link
Member

turt2live commented Jul 11, 2017

Emails and names redacted for privacy.

[ Fragment {
    _content: '',
    _isHidden: true,
    _isSignature: false,
    _isQuoted: false },
  Fragment {
    _content: 'From: Tom <tom@redacted>\nSubject: Re: [LIST] Subject line\nDate: Tue, 11 Jul 2017 21:43:36 GMT\nTo: Mailing List <list@redacted>\n\nwut\n',
    _isHidden: true,
    _isSignature: false,
    _isQuoted: true },
  Fragment {
    _content: 'On Tue, Jul 11, 2017 at 11:43 PM, Tom <tom@redacted> wrote:\n\n> always be knolling!\n>\n> On Tue, Jul 11, 2017 at 11:40 PM, Fred <\n> list@redacted> wrote:\n>\n>> _______________________________________________\n>> LIST mailing list\n>> list@redacted\n>> https://link/to/list\n>>\n>>\n>> ---------- Forwarded message ----------\n>> From: Fred <list@elsewhere>\n>> To: Mailing List <list@redacted>\n>> Cc:\n>> Bcc:\n>> Date: Tue, 11 Jul 2017 23:41:52 +0200\n>> Subject: Subject line\n>>\n>> We had some e-mail issues lately, mostly due to misconfiguration.\n>>\n>> If any list email lands in your spam folder, please report it.\n>>\n>> Thanks.\n>>\n>>\n>',
    _isHidden: true,
    _isSignature: false,
    _isQuoted: true },
  Fragment {
    _content: '',
    _isHidden: true,
    _isSignature: false,
    _isQuoted: false },
  Fragment {
    _content: '_______________________________________________\n LIST mailing list\nlist@redacted\nhttps://link/to/list\n',
    _isHidden: true,
    _isSignature: true,
    _isQuoted: false } ]

Here's what the email bot got:
image

Full .eml available in private location.

@turt2live turt2live added this to the v1.1.0 milestone Jul 11, 2017
@turt2live
Copy link
Member Author

TravisR: We have configured mailman to wrap the sender's e-mail into a new one as a message/RFC822 attachement.
A
TravisR: That was the only way to pass valid DKIM and DMARC signatures and not end up as spam with gmail.

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

No branches or pull requests

1 participant