Skip to content

Commit

Permalink
fix: added bounce PTR check
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Feb 26, 2025
1 parent dc1da5e commit 4729ae3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helpers/get-bounce-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ function getBounceInfo(err) {
bounceInfo.action = 'defer';
}

if (response.includes('PTR record') && response.includes(IP_ADDRESS)) {
bounceInfo.action = 'defer';
bounceInfo.category = 'network';
}

if (
// WHM/cPanel generic country error
response.includes('Your country is not allowed to connect to this server')
Expand Down

0 comments on commit 4729ae3

Please sign in to comment.