Skip to content

Commit

Permalink
fix: fixed recursive forwarding bug for denylisted users causing 100%…
Browse files Browse the repository at this point in the history
… cpu/memory on MX servers
  • Loading branch information
titanism committed Dec 12, 2024
1 parent 955d58b commit e75b3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/get-recipients.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ async function getRecipients(session, scan) {

// TODO: how does work with IMAP (?)
// custom port support
if (recipient.addresses.length === 0 && recipient.port !== '25') {
if (recipient.addresses.length === 0 && recipient.port !== 25) {
recipient.addresses.push({
to: recipient.address,
host: parseHostFromDomainOrAddress(recipient.address)
Expand Down

0 comments on commit e75b3c2

Please sign in to comment.