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

Handle bounce notifications from email providers #269

Open
stephank opened this issue Jul 13, 2021 · 1 comment
Open

Handle bounce notifications from email providers #269

stephank opened this issue Jul 13, 2021 · 1 comment

Comments

@stephank
Copy link
Member

Some email providers can notify us when an email has bounced or otherwise been rejected. For example, AWS SES does this. We could act on these notifications to temporarily block addresses or even domains.

I feel like this may be best done in a separate process, with Redis as the communication channel. Then the broker just has to do a simple Redis call to check for these temporary entries. (Because we otherwise only check config / files.)

(Idea from #96)

@stephank
Copy link
Member Author

Additional goal: provide user feedback. I'm leaning towards a generic 'mail delivery failed' type of notice to the user, because I'm not sure if there are security implications to displaying the SMTP error to the (at the point untrusted) user.

Displaying feedback in the email loop would also require some notification mechanism between the browser and broker, so we can actually display the delivery error when it happens. Could just be a polling type of thing.

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

No branches or pull requests

1 participant