Bounced email handling
|
Posted
#82568
(In Topic #17229)
|
|
|---|---|
|
Community saint |
7.1.6When an email (or newsletter) is sent out to an non-existent address, how does the ocP software handle the bounced email? I just sent out two newsletter test issues, one to a valid address and one to a non-valid address. The non-valid was never delivered and no bounce notice showed up in the email queue/log. I then tested my server to make sure I was receiving bounce notices by sending an email to the same non-valid address and did indeed receive a notice. I need to know which email addresses are non-valid so I can process them in some way. Should I have seen a bounce notice in the queue/log? The non-valid address email never appeared in the queue/log as being sent either.
Steve
|
|
Posted
|
|
|
ocStaff (admin) |
The newsletter module does have a facility to read an email account for bounce messages and then remove those subscribers from the list. Looking at it now I can see it is not actually linked in properly. Whoops. But you will find it on the sitemap, under the Admin Zone newsletter module. You need the PHP IMAP extension for it to work. Essentially bounces will go back the configured "Website e-mail address" in the configuration. You should set up a mail client to have that as one of your inboxes. Then when you send a newsletter, some bounces will stream in, along with lots of other junk (like people asking you to fill in CAPTCHAs, or people saying "do not spam me" Then the ocPortal feature can be told to look in that folder and asks you to confirm which email addresses references in there that you want to delete. Note that many non-delivered mails don't result in bounces at all, they just silently fail. This is because some mails servers don't want to reveal whether addresses exist or not. Some newsletter systems add tracking code to emails but that is very unreliable and not very friendly to recipients. Also theoretically read-receipt notification can be used, but again that annoys people (plus Apple Mail doesn't support it). If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Already aware of that. Found it, thanks! I set up IMAP awhile back. Unfortunately, when ocPortal sends out an email to a known bad address there is no bounce notice, but when I send an email directly through my mail server to the same address, I receive a bounce notice to my IMAP box. This is why I was wondering how ocPortal handled bounces because it appears as though only valid address mailings are sent and non-valid address are never sent. Once the bounce notices show up this is exactly what I'm needing since I have about 1500 members and I wouldn't be surprised if at least 33% of those addresses are probably non-working.
Steve
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
I enabled that option, but no change. I've populated the IMAP box with bounce notices so I have something to test with. When I access the bounce filter it tells me "there are no entries at this time" and I get a stack trace but it appears (to me anyway) to be a false positive.
I didn't include the parameters that were at the end of the stack trace since it exposes sensitive info, but I can email that info if you need it.
Steve
|
|
Posted
|
|
|
ocStaff (admin) |
I'll have a shot at debugging if you like, but I'd need lots of access to test (I don't actually even have the IMAP extension myself here anymore). Send the IMAP login details I'd need to test to chris@ocportal.com Also FTP details to the site. Also I'd need the e-mail headers to a mail sent through your server since the "Pass website e-mail address to 'sendmail'" option was enabled, to debug where the mails might be going back to. I could generate myself, but it'll save me some time if you could get that. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Email sent. Subject: Re: Bounced email handling
Steve
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
Thanks, Chris, for taking the time to look into this. So, the bounce filter only works on newsletter subscribers? I was under the impression it worked against any group(s) available to send newsletters to. I think the bounce filter should work against the whole member database. I have members who have not logged on in several years. This past Saturday night I did a one-time mass mailing (first time in the 7-year history of the forum) to all members using the newsletter function to announce our new newsletter and to use the newsletter signup form to continue receiving newsletter notices. This allowed me to know which members had non-functioning email addresses (about 12%), who was interested in receiving future newsletter notices (as of now - very few), and to provide links and a notice our domain name had changed (activity is way up). It all worked out quite well, except for the bounce function, lol! I guess I'm off now to write an app to deal with the 160 bounced emails…
Steve
|
1 guests and 0 members have just viewed this: None
Control functions:







