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

BT emails delivery issue #116

Open
JimKillock opened this issue Feb 17, 2021 · 8 comments
Open

BT emails delivery issue #116

JimKillock opened this issue Feb 17, 2021 · 8 comments
Assignees
Labels

Comments

@JimKillock
Copy link
Member

JimKillock commented Feb 17, 2021

BT Categorisation report that:

"We have recently noticed that when we reply back to emails from blocked.org.uk we intermittently received undeliverable messages from the mail servers. I have attached a few mails whereby we have replied back and received either a Delivery Delayed or Undeliverable."

Can you check to see what has happened?

EDIT

Change how forwarding works, so that we work as a "man in the middle" changing the From and Reply to as @blocked.org.uk for the blocked user and BT, eg:

  1. Send reports to BT as [email protected]
  2. BT returns email to [email protected]
  3. We forward BT email using a From: header that belongs to us eg [email protected]
  4. User replies to the same From: header, eg [email protected] and we route that back to [email protected] via blocked.org.uk, sending to BT using From: [email protected] ;
  5. The BT reply to should consistent with the original review request, eg [email protected] so any threads can be preserved.
@JimKillock
Copy link
Member Author

JimKillock commented Feb 17, 2021

You will have seen the emails and chat: can you change the way we forward emails so that the email:

  1. Send reports to BT as [email protected]
  2. Uses a From: header that belongs to eg [email protected]
  3. Allows the user to reply to the same From: header, eg [email protected] and route that back to [email protected] via blocked.org.uk, send to BT using [email protected] ;
  4. The BT reply to should consistent with the original review request so any threads can be preserved.

It may make sense to treat all of the response emails in this way to avoid any other DMARC issues?

@dantheta
Copy link
Contributor

We can do (1) and (2) pretty easily, we'd just need to set up a fixed reply- alias for each of the ISPs. Capturing subsequent ISP replies (3) is slightly harder, as we won't have the original ISP report alias available after their reply in (2), since that reply will have used the user's own email address. Looking up the correct alias based on the subject line and ISP should be possible.

@JimKillock
Copy link
Member Author

I think I see what you mean!

Nevertheless with (3) the user would reply with their own email address, rather than [email protected] but the reply-to, eg [email protected] would be the same as the email sent "as if" BT, so should match that way? You'd need a unique "User Alias" and a unique "BT Alias" on our end?

@JimKillock
Copy link
Member Author

(I've edited the comment and the task to make this a bit clearer. I think my descrption wasn't quite clear.)

@JimKillock
Copy link
Member Author

Does this make sense @dantheta ? We should be able to play 'man in the middle' and rewrite the "from" in both directions, in essence.

@dantheta
Copy link
Contributor

dantheta commented Feb 19, 2021 via email

@dantheta
Copy link
Contributor

The site now adds a reply-isp-xxxxxx From: address to email coming from the ISPs. BT still include a reply-to header in their outgoing mail, so we might not be able to capture all of the user -> ISP replies (though there haven't been many of those).

It's been tested reasonably well, but if it causes any problems we can revert the change quite easily.

@JimKillock
Copy link
Member Author

Sounds good Daniel; can we consider changing the reply-to header as well?

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

3 participants