Skip to content

Commit

Permalink
fix: added greylist and envelope to ignored messages
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 9, 2024
1 parent 7c1db8f commit de2a537
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helpers/on-data-mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,9 @@ async function checkBounceForSpam(bounce, headers, session) {
if (
session.isAllowlisted &&
sendCountEmail &&
!['network', 'blocklist'].includes(bounce.err.bounceInfo.category)
!['envelope', 'network', 'greylist', 'blocklist'].includes(
bounce.err.bounceInfo.category
)
) {
const err = new TypeError(
`${config.views.locals.emoji(
Expand Down

0 comments on commit de2a537

Please sign in to comment.