Bounce Processing false negatives

More
1 month 1 week ago #160234 by 412837
412837 created the topic: Bounce Processing false negatives
Hi!

I am installing LS and just got to test the bounce processing.

I add a participant with a known invalid email, such as This email address is being protected from spambots. You need JavaScript enabled to view it..

I can see the bounce email arrive to the pop account for bouce emails, however when I do process bounces the popup reads:

1 unread messages were scanned, none were marked as bounce by the system.You can now close this modal box.



what does: "None were marked as bounce by the system" means?

Is it that postfix is not generating a valid return email?

Is it that LimeSurvey did not detect it as a bounce email?

What could be going on?

How can I debug it?

Please Log in to join the conversation.

More
1 month 1 week ago #160239 by DenisChenu
DenisChenu replied the topic: Bounce Processing false negatives
Hi,

Bounce system track only unread message, maybe you read it before ?

Else, after bounce was done : look at header (show+complete+mail+header in your search tool), bounce system use it to track donw the token and the survey id.
Some server broke totally this header.

If you are sure it broken : copy/paste the header here.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 month 5 days ago #160337 by 412837
412837 replied the topic: Bounce Processing false negatives
I know what is going on now.

The problem is that I expected the bounces to show in the Central Participant Database (where I picked the users from).

I took me a while to find the list of responder of my survey, where it is reflected.

Another problem is that the bounce processing system is not marked my bounce message as read, then after the first time, it keeps saying that 1 message has been processed but it is not a bounce.

I guess it was just a bit confusing, but I think it is working.

Please Log in to join the conversation.

More
4 weeks 8 hours ago #160558 by LouisGac
LouisGac replied the topic: Bounce Processing false negatives
Here the code:
github.com/LimeSurvey/LimeSurvey/blob/ma...admin/tokens.php#L76


the concept is very simple:
1. it open the inbox of the "bounce email address" (the email you provided for that task)
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L184

3. it get the unread mails:
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L191

4. it choose the mails related to LimeSurvey (with a survey id and a token id in the header )
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L200
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L205

5. For those mail, it checks if the status is "bounced"
github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L212

Of course, not all the mail providers reject the email with a "bounced" status. Some of them just reject them silently. There is nothing you can do about that.

Please Log in to join the conversation.

More
4 weeks 6 hours ago #160561 by DenisChenu
DenisChenu replied the topic: Bounce Processing false negatives
Bounce system put READ by default (or delete the email) : github.com/LimeSurvey/LimeSurvey/blob/ma...dmin/tokens.php#L225
Then ONLY email by limesurvey are set as read. Spam for example are not set as READ (or deleted) by LimeSurvey.

Else : false positive can be done by another reason :
- “out-of-office message” because in fact : it's a bounce …
It's the reason you can choose to not delete the email, but control the real final message.

I think the 'long delay' didn't sent a Bounce (can be tested with sending an email to This email address is being protected from spambots. You need JavaScript enabled to view it.).

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!