Skip to content

Commit

Permalink
fix: fixed more outlook misdirected spam
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Jan 8, 2025
1 parent a36c01c commit b563e66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helpers/is-arbitrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ function isArbitrary(session, headers) {
(session.resolvedClientHostname &&
session.resolvedClientHostname.endsWith(
'.outbound.protection.outlook.com'
))) &&
)) ||
(session.originalFromAddress.startsWith('postmaster@') &&
session.originalFromAddress.endsWith('.onmicrosoft.com'))) &&
subject &&
subject.startsWith('Undeliverable: ')
)
Expand Down

0 comments on commit b563e66

Please sign in to comment.