Skip to content

Commit

Permalink
fix: added bounce attack check
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 14, 2024
1 parent 3b85267 commit 5122857
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions helpers/get-bounce-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,15 @@ function getBounceInfo(err) {
if (bounceInfo.category === 'spam' && err.truthSource === 'posteo.de')
bounceInfo.category = 'blocklist';

// bounce attack
// > 550 Suspected bounce attacks
// <https://service.mail.qq.com/detail/122/57>
if (
response.includes('bounce attack') ||
response.includes('misdirected bounce')
)
bounceInfo.category = 'spam';

return bounceInfo;
}

Expand Down

0 comments on commit 5122857

Please sign in to comment.