FIX: auto-reply to VERP should be considered as hard boucne

This commit is contained in:
Régis Hanol 2016-05-16 09:01:15 +02:00
parent 21ce674546
commit 341d5e10b3

View File

@ -148,6 +148,8 @@ module Email
elsif @mail.error_status.start_with?("5.") elsif @mail.error_status.start_with?("5.")
update_bounce_score(email_log.user.email, HARD_BOUNCE_SCORE) update_bounce_score(email_log.user.email, HARD_BOUNCE_SCORE)
end end
elsif is_auto_generated?
update_bounce_score(email_log.user.email, HARD_BOUNCE_SCORE)
end end
end end
end end