Skip to content

Commit

Permalink
Merge pull request #3707 from kakochang/patch-1
Browse files Browse the repository at this point in the history
Fix typos in code comments
  • Loading branch information
vstakhov committed Apr 7, 2021
2 parents 11458a1 + b48c6fb commit 55cf68e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/bounce.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ config.regexp.SUBJ_BOUNCE_WORDS = {
re = make_subj_bounce_keywords_re(),
group = 'headers',
score = 0.0,
description = 'Words/phrases typical for DNS'
description = 'Words/phrases typical for DSN'
}

rspamd_config.BOUNCE = {
Expand All @@ -53,7 +53,7 @@ rspamd_config.BOUNCE = {
-- RFC 3464:
-- Whenever an SMTP transaction is used to send a DSN, the MAIL FROM
-- command MUST use a NULL return address, i.e., "MAIL FROM:<>"
-- In practise it is almost always the case for DNS
-- In practise it is almost always the case for DSN
return false
end

Expand All @@ -75,7 +75,7 @@ rspamd_config.BOUNCE = {
-- Check common bounce senders
if (from_user == 'postmaster' or from_user == 'mailer-daemon') then
bounce_sender = from_user
-- MDaemon >= 14.5 sends multipart/report (RFC 3464) DNS covered above,
-- MDaemon >= 14.5 sends multipart/report (RFC 3464) DSN covered above,
-- but older versions send non-standard bounces with localized subjects and they
-- are still around
elseif from_user == 'mdaemon' and task:has_header('X-MDDSN-Message') then
Expand Down

0 comments on commit 55cf68e

Please sign in to comment.