Topic #2743 (no title)

Image

(Click to enlarge)

#1423 - Cannot configure the Newsletter bounce filter

This is a spacer post for a website comment topic. The content this topic relates to: #1423 - Cannot configure the Newsletter bounce filter
PHP has a silly behaviour where it returns an error code if nothing is found in that folder. So treat this as "found no messages".

We will workaround this (and I have done on your server). But ultimately Composr is just going to give a no-entries response.

You need to make sure that you either point to the folder where bounce e-mails will naturally go, or a folder into which you have moved bounce e-mails.

"readonly" is because Composr has requested that folder option. I haven't seen it list folders with all the options before, so I've just patched it to strip all that and just leave the folder labels.
Hi Chris,

Just revisiting this as I never managed to get it to work.

Even when I have a couple of bounced emails in the folder that I select I still get the error I initially described.

I may be misunderstanding this here. Am I setting the location that Composr will put bounced emails in if it detects the bounce ?

Cheers
Ade
Apparently according to HostGator there is no way to route bounced emails to a specific folder, they will always get returned to the folder of the sender. Which in our case is the INBOX of vwgolfm, which is the top one of the list returned by Composr.

I cannot seem to set it to that inbox, is it hard coded to [email protected] ?

Cheers
Ade
It auto-selects one if it finds "bounce" in the name, but that's just a niceity. It then tries to decide what of the emails it finds, are bounce emails, and it pre-ticks them.

So if you select INBOX you get this "IMAP error: <blank>" stack trace?

I can't test without having the IMAP details you put into there, but I did test with my own IMAP server and got it to work.
Hi Chris,
I can see that you have made some changes - thanks.
Is it now working as intended ?
Why are some of them ticked and others not ?


Ignore these if you have not finished debugging it:
If I check on the chairman and design boxes I get a bail out
If I check the webmaster one then I get ones that are not bounces
Cheers
Ade
It is/was working as intended.

They are only ticked if Composr recognises an email as something matching a bounce email. Otherwise an address is detected, but not ticked. I have written some docs...

There is a feature for removing newsletter subscribers that bounce e-mails (i.e. dead e-mail accounts). This stops noise coming back when you send out a newsletter, and increases the efficiency of future sends.

The removal process also removes the "allow staff e-mails" setting from members who have a matching e-mail address.

For this tool to work, you must have the PHP IMAP extension on your server.

You should manually move anything sent to your website e-mail address that looks like a bounce e-mail into a new bounces folder, and then run the tool upon that folder:
- Go to the Admin Zone, then the Tools section, then the Newsletter icon
- Select the Bounce filter icon.
- Enter your server IMAP details.
- Select your bounces folder (if Composr can see one that matches the word "bounce", it will be auto-selected)

Composr will then show e-mail addresses found within e-mails in the selected folder, where it can find a matching newsletter/member account for an e-mail address. Any e-mail address attached to an e-mail that looks like a bounce e-mail will be auto-ticked (auto-checked). If you are confident the IMAP folder only contained bounces, you can tick (check) the remaining addresses.

If you proceed through, all ticked (checked) e-mails will be removed from the newsletter / have their "allow staff e-mail" member setting disabled.






Regarding the error you just saw, I checked your log and it was due to running out of memory scanning a large folder. If you're running it on a large IMAP folder then that's probably not correct, because the intended function is for you to only run it on the folder where you've moved only bounces into.

I will document this too though.
0 guests and 0 members have recently viewed this.