As far as I can tell a lot of my bounces which got a soft bounce score meet this rule (around line 908 in DADA/App/BounceHandler/Rules.pm): -
- Code: Select all
{
postfix_5dot0dot0_error => {
Examine => {
Message_Fields => {
Status => [qw(5.0.0)],
Guessed_MTA => [qw(Postfix)],
Action => [qw(failed)],
#said_regex => [(qr/550\-Mailbox unknown/)],
},
Data => {
Email => 'is_valid',
List => 'is_valid',
}
},
Action => {
#unsubscribe_bounced_email => 'from_list',
add_to_score => 'hardbounce_score',
},
}
},
in that they have a status=5.0.0, Guessed_MTA=Postfix, a Action=failed, with a valid email & list.
How can they have scored only a soft bounce score if they meet this rule?
Also, if a bounce meets more than one rule, is the order in that file important (i.e. the first match is taken)? For example I'm thinking of a broad matching: -
- Code: Select all
{
my_wide_net => {
Examine => {
Message_Fields => {
Action => [qw(failed)],
std_reason => [qw(user_unknown)],
},
Data => {
Email => 'is_valid',
List => 'is_valid',
},
},
Action => {
add_to_score => 'hardbounce_score',
},
}
},
would this be best placed before or after all the other rules if I want it to take priority?
I think it would help for trouble-shooting if in the bounce handler report (after clicking on an email in the scorecard) gave the label for the matching rule (e.g. postfix_5dot0dot0_error or my_wide_net for the above examples).