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

Council of the EU responses always go to holding pen #76

Open
garethrees opened this issue Oct 24, 2018 · 0 comments
Open

Council of the EU responses always go to holding pen #76

garethrees opened this issue Oct 24, 2018 · 0 comments

Comments

@garethrees
Copy link
Member

garethrees commented Oct 24, 2018

Council of the EU: it seems to me that answers from the council always go into the holding pen. No idea why. But maybe we can look at this systemic problem?

Could be that these are Bcc'd, which we explicitly don't auto-deliver.

Alaveteli 0.32 includes mysociety/alaveteli#4529, which makes Bcc headers more obvious.

I'm not sure if the config is different for AskTheEU, but it doesn't look like the raw emails contain an Envelope-to or Bcc headers:

m = Mail.read './tmp/18956.txt'

m.smtp_envelope_to
# => []

m.bcc
# => nil

We are able to extract these in WDTK.

m = Mail.read './tmp/356158.eml'

m.smtp_envelope_to
# => ["[email protected]", "[email protected]", "[email protected]"]

m.bcc
# => ["[email protected]"]

These code examples were run on develop (mysociety/alaveteli@46d46f334), so it doesn't seem like an alaveteli version difference causing the problem.

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

1 participant