![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Deal intelligently with bouncing email addresses
Title:
Deal intelligently with bouncing email addresses
Area:
email notifications, email address validation, not spamming users
Summary:
When an email sent to a user is rejected or bounces, do something intelligent instead of just ignoring it.
Description:
Currently, when emails Dreamwidth sends to one of its users start bouncing (being rejected, or undeliverable because that email address no longer exists), the Dreamwidth email servers just ignore this, instead of using it as a hint not to deliver more emails to that email address. This behavior was inherited from LiveJournal, and has caused in the past much distress to users, ops people, support volunteers, and email providers, and occasionally drastic reactions by email providers, such as refusing or silently discarding all emails from LiveJournal, thus making the problem worse. LiveJournal recently committed a code change (http://community.livejournal.com/changelog/8801455.html) that changes that, but its approach may no be the best (http://bugs.dwscoalition.org/show_bug.cgi?id=2759). (Specifically, it makes that email address unconfirmed for all user accounts associated with it - http://www.dreamwidth.org/support/faqbrowse?faqid=3.)
Other, less drastic ways to deal with delivery problems include notifying the user via their inbox instead of disabling delivery, only acting on the specific account for which the email was sent, only acting if more than a threshold number of emails bounced, or only stopping emails to that address temporarily, instead of until the user takes action. (Or of course, keeping the current approach of ignoring all such reports.)
This suggestion:
Should be implemented as-is.
31 (75.6%)
Should be implemented with changes. (please comment)
7 (17.1%)
Shouldn't be implemented.
0 (0.0%)
(I have no opinion)
2 (4.9%)
(Other: please comment)
1 (2.4%)
no subject
no subject
no subject
no subject
no subject
But that's a usability issue that I know's slowly being worked through, and frankyl if someone's email address is faulty then they ought to check their inbox when notifications fail. Perhaps a different category in the inbox for DW announcements and this sort of thing?
no subject
If in the future DW has a DW Jabberbot, it can and should notify people if their mail is bouncing also.
no subject
no subject
no subject
no subject
no subject
no subject
no subject
1) When a bounce is detected, put the address on automatic timeout -- queue all emails to be sent to that address (for all associated accounts), for a system-determined amount of time. This prevents loss. Retry later.
2) Notify via inbox and to all other previously-validated addresses (if still on account) that the validated address on the account is bouncing (without specifying the address in case of compromise on the old addresses).
3) Test with a single email to the bouncing address before sending the queued mail.
4) If it keeps bouncing after a certain amount of time and number of trials, declare that address Stopped Until User Action.
5) Create the ability for a user to create a fallback address, to which email will be sent as normal, in case of primary email bouncing. (This is different than sending a notification to a previously validated email address, in that a previously validated address not specified for fallback would not get the other regular notifs).
no subject
no subject
no subject
And that does remind me to go make sure my old email addresses are deleted from LJ, don't own that domain anymore...
+1.5 -3.5
If the former, you are supposed to assume the mailbox no longer exists and that mail cannot be delivered. If you keep retrying, you are likely to get your mail server blocked as a spam originator.
If the latter, the transmitting MTA is supposed to retry later in any case.
2) That'll be very spammy, and what do you do with bounces from those notifications? Treat them as bounces? Problematic.
3) "Test" email is exceedingly annoying. If you are going to retry, you might as well retry with the email that's in the queue. And in fact, your MTA will retry it for you, if it is allowed to (i.e. soft-bounce).
4) Yes. See the link above to how mailman does it.
5) This one is maybe useful - it's opt in. However, it also needs to be verified and regularly tested itself somehow... Monthly email, maybe. If done that way, please make it rolling somehow, don't copy Mailman's 1st of the month "here's all your subscriptions" method - it's bad for MTAs.