diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-07 09:55:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 09:55:40 +0100 |
commit | 55cf68e5c7018596c1f1c4eef46e7fc1e41d21cc (patch) | |
tree | b290cd3602b5efbbe87d9d44f907096c36e8c789 /rules | |
parent | 11458a1123d3a89fa0fe8f07a8b5e57f0c99ad6b (diff) | |
parent | b48c6fbdbf0c9ef0cc2d5c352adfb6c3a4b857fa (diff) | |
download | rspamd-55cf68e5c7018596c1f1c4eef46e7fc1e41d21cc.tar.gz rspamd-55cf68e5c7018596c1f1c4eef46e7fc1e41d21cc.zip |
Merge pull request #3707 from kakochang/patch-1
Fix typos in code comments
Diffstat (limited to 'rules')
-rw-r--r-- | rules/bounce.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/bounce.lua b/rules/bounce.lua index 4055d7741..a6e159b16 100644 --- a/rules/bounce.lua +++ b/rules/bounce.lua @@ -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 = { @@ -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 @@ -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 |