back to phpList.org

$bounce_unsubscribe_threshold not working


#1

I discover the variable $bounce_unsubscribe_threshold wich are set to 5 in my config
But
user still marked as confirmed even with 25 bounce?


#2

Same here. nothing is changed!


#3

Many should i give more detail.

So this are my configuration

$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 0;
$bounce_unsubscribe_threshold = 5;
define('USE_ADVANCED_BOUNCEHANDLING', 1);

And some contact got 25 message/25 bounce and still confirm


#4

The setting does work so I guess that you are misunderstanding what phplist is actually doing.

The bounce processing looks for consecutive campaigns sent to the subscriber that have bounced. Having the same campaign bounce more than once will usually be detected as duplicate bounces.
Having one campaign not bounce will break that sequence of consecutive bounces.


#6

@duncanc I understand that was matter of consecutive bounced but that’s not the point.
Even after 25 consecutive bounce user still confirm.
I create user which bounce everytime, and still confirm

After checking code I understood that processbounces.php was looking user from phplist_user_message_bounce

But my table phplist_user_message_bounce is almost empty,

And if I understood, as I am using advanced rule, where most of rule are
deletebounce or
blacklistuseranddeletebounce or
unconfirmuseranddeletebounce
in any case bounce are delete,
so phplist_user_message_bounce are ~ empty, So system cannot track treshold bounce?


#7

@amsa I don’t understand what you are doing. If a subscriber was made unconfirmed or blacklisted by a bounce rule how can they then have been sent further emails that also bounced?

The consecutive bounces processing applies only to those bounces that are not deleted by a bounce rule.


#8

Of course I am not talking about a subscribers which have been unconfirmed or blacklist.

Let’s try to give you an example.

As “mailbox full” is not a hard bounce we cannot unsubscribe or blacklist, it could be only temporary

So today i got a advanced rule.
“mailbox full” --> "deletebounce"
So it cannot be process by consecutive bounces processor.

Maybe i misunderstood advanced rule,
So for what kind of bounce “deletebounce” is useful? have you an example?


#9

hi @duncanc i don’t know if you see my answer.

Can you help me?
because I think I got problem in my configuration.

Consecutive bounce process is useful to remove contact with X consecutive soft bounce.
If a mailbox bounce once “mailbox full” is temporary error, but if the bounce come every time the mailbox must be remove from list

as you said

The consecutive bounces processing applies only to those bounces that are not deleted by a bounce rule.

I guess I shouldn’t delete those kind of bounce

So for what kind of bounce the rule “deletebounce” is useful? have you an example?
Further more, if I don’t delete unprocess (soft bounce) the database will grow so fast!?


#10

@amsa On the View Bounces page you can delete bounces that are older than 2 months.

You can use the delete bounce rule to remove any bounce that you really want to ignore. Some servers send a “unable to deliver so far but we will keep trying” type of email, that isn’t a bounce as such.


#11

thank you very so ducanc,

Thanks to your help I notice that I misused Bounce rules for years.
My rules date from several years ago and come from the old forum, where someone share his rules?

Whatever it is, I will completely rework my rules,
Too bad the documentation is not more explicit.

In fact the best is
Hard bounce --> blacklistuseranddeletebounce

  • User unknown
  • Unknown Recipient
  • Recipient unknown
  • not listed in public Name
  • mailbox unavailable
  • account has been disabled
  • Invalid recipient
  • invalid address
  • invalid user
  • innactive user

infomational --> deletebounce

  • unable to deliver so far but we will keep trying
  • Temporary local problem
  • please try later
  • Connection not authorised
  • Network is unreachable
  • server rejected
  • Error_connection_broken
  • connection broken
  • DNS_Server_error
  • name server reports that it is having technical problems

soft bounce --> no rule to be catch by consecutive bounce, or delete after 2month

  • out of the office
  • I will be back
  • I am away
  • as soon as I return
  • on vacation
  • we will reply
  • En vacances
  • box full

#12

@duncanc For me the $bounce_unsubs… function is not working either, I have set the threshold to be 1, tested it with the messages received to bounce mailbox and it still does not unsubscribe subscriber thus it shows more than one bounce at subscribers profile. These bounces were definitely consecutive.


#13

@Vytautasber did you also set BLACKLIST_EMAIL_ON_BOUNCE ?


#14

Yes, the same. The bounce is calculated but no action by phplist is done.


#15

after resetting as @duncanc says its work.