Переглянути джерело

Merge pull request #4950 from twesterhever/temp-cd-message-body

Add Content-Description header rules
pull/4953/head
Vsevolod Stakhov 2 тижднів тому
джерело
коміт
073d6f00eb
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 14 додано та 0 видалено
  1. 14
    0
      rules/regexp/headers.lua

+ 14
- 0
rules/regexp/headers.lua Переглянути файл

@@ -903,6 +903,20 @@ reconf['HAS_ORG_HEADER'] = {
group = 'headers'
}

reconf['HAS_CD_HEADER'] = {
re = 'header_exists(Content-Description)',
description = 'Has Content-Description header',
score = 0.0,
group = 'headers'
}

reconf['CD_MM_BODY'] = {
re = 'Content-Description=/^Mail message body$/Hi',
description = 'Content-Description header reads "Mail message body", commonly seen in spam',
score = 2.0,
group = 'headers'
}

reconf['X_PHPOS_FAKE'] = {
re = 'X-PHP-Originating-Script=/^\\d{7}:/Hi',
description = 'Fake X-PHP-Originating-Script header',

Завантаження…
Відмінити
Зберегти