FreeBSD 5.4
Exim 4.52
MySQL 4.1.12
SpamAssassin 3.10
Около 200 почтовых ящиков в системе.
------------------Настройки local.cf----------------------
rewrite_subject 1
subject_tag ***SPAM***_HITS***
whitelist_from *@pac.ru
whitelist_from *@pac.group.ru
whitelist_from *@group.ru
whitelist_from *@hotels.pac.group..ru
whitelist_from *@belmax.ru
whitelist_from *@lykiaworld.ru
whitelist_from *@art-gallery.ru
whitelist_from *@aernet.ru
whitelist_from *@lithology.ru
whitelist_from *@mail.ru
whitelist_from *@list.ru
whitelist_from *@bk.ru
whitelist_from *@pochta.ru
whitelist_from *@yandex.ru
#whitelist_from *@gmail.com
whitelist_from *@subscribe.ru
whitelist_from *@mail.ru
blacklist_from *@ebay.ru
blacklist_from *@ebay.com
all_spam_to spamtrap@pac.ru
more_spam_to spamtrap@pac.ru
required_hits 5.0
report_safe 0
use_terse_report 0
use_bayes 1
use_bayes_rules 1
auto_learn 1
skip_rbl_checks 0
use_razor2 0
use_dcc 0
use_pyzor 0
always_add_report 1
ok_languages ru en
ok_locales ru en
report_charset windows-1251
lang ru
#score NAME_OF_TEST 3.0
score MIME_HTML_ONLY 2.0
score MIME_TEXT_ONLY -1.0
score HTML_MESSAGE 1.0
score HTML_FONTCOLOR_RED 2.0
score FROM_ILLEGAL_CHARS 1.5
score HEAD_ILLEGAL_CHARS 1.5
score SUBJ_ILLEGAL_CHARS 1.5
#header FROM_HAS_MIXED_NUMS From =~ /\d+[a-z]+\d+\S*@/i
#header FROM_HAS_MIXED_NUMS From =~ /\d+[a-z]+\d+\S*@/i
#header FROM_HAS_MIXED_NUMS From =~ /\d+[a-z]+\d+\S*@/i
header HEADER_SCREENSAVER Subject =~ /screensaver/i
describe HEADER_SCREENSAVER Eat your spam self!
score HEADER_SCREENSAVER 200
# Russian SpamAssassin header test
# Russian letters in the subject
score SUBJ_FULL_OF_8BITS 0.0
header RU_WIN_CHARSET ALL =~ /windows-1251/i
describe RU_WIN_CHARSET ALL: Windows-1251 charset
score RU_WIN_CHARSET 0.5
header RU_ENG_SUBJ Subject =~ /\?windows-1251\?B\?wO3j6\+jp8ero6Q==?=/i
describe RU_ENG_SUBJ Subject: English Lesson
score RU_ENG_SUBJ 5.0
#header RU_UNLISTED_RECIP ALL =~ /unlisted-recipients/i
#describe RU_UNLISTED_RECIP ALL: unlisted-recipients
#score RU_UNLISTED_RECIP 5.0
#header RU_UNDISC_RECIP_1 To =~ /undisclosed/i
#describe RU_UNDISC_RECIP_1 To: Undisclosed-Recipient
#score RU_UNDISC_RECIP_1 4.5
#header RU_MANY_UNDERSCORES From =~ /(\_.*?){3,}/
#describe RU_MANY_UNDERSCORES From: many underscores in address
#score RU_MANY_UNDERSCORES 3.0
# Russian SpamAssassin's body tests
# Include lines below to EvalTests.pm and PerMsgStatus.pm
# use locale;
# use POSIX 'locale_h';
# setlocale(LC_ALL, "ru_RU.KOI8-R");
# Don't discriminate against foreign users.
score CHARSET_FARAWAY 0
score CHARSET_FARAWAY_BODY 0
score CHARSET_FARAWAY_HEADERS 0
score SUBJ_FULL_OF_8BITS 0
body RU_CONSTITUTION_RF /Конституци/i
describe RU_CONSTITUTION_RF Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF 1.7
body RU_ENG_BODY /ЦХАЙХИ ЦПЮТХЙ/i
describe RU_ENG_BODY English lesson
score RU_ENG_BODY 5.0
body RU_ENG_BODY /ДНЯРСОМЮЪ ЖЕМЮ/i
describe RU_ENG_BODY English lesson
score RU_ENG_BODY 5.0
body RU_ENG_BODY /109-81-10, 746-26-35/i
describe RU_ENG_BODY English lesson
score RU_ENG_BODY 5.0
body RU_CONSTITUTION_RF_1 /ст[\.\s]+29[\s\.\,\;]+[пч][\.\s]+4/i
describe RU_CONSTITUTION_RF_1 Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF_1 6.0
body RU_CONSTITUTION_RF_2 /[пч][\.\s]+4[\s\.\,\;]+ст[\.\s]+29/i
describe RU_CONSTITUTION_RF_2 Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF_2 6.0
body RU_IN_ACCORDANCE /отправлен.{1,15}соответствии/i
describe RU_IN_ACCORDANCE Claims to be in accordance with some law
score RU_CONSTITUTION_RF 1.6
body RU_ONE_TIME_ACTION /[разовая|единичной][\s]+[акция|рассылка|доставки]/i
describe RU_ONE_TIME_ACTION One time action
score RU_ONE_TIME_ACTION 2.35
body RU_OPEN_ADDRESS /открыт.{1,15}источник/i
describe RU_OPEN_ADDRESS Address are taken from open resources
score RU_OPEN_ADDRESS 2.35
body RU_EMAIL_BASE /e(\-)+mail.{1,15}баз[ы|а|у]/i
describe RU_EMAIL_BASE E-mail base offer
score RU_EMAIL_BASE 3.6
body RU_EMAIL_BASE /баз[ы|а|у].{1,15}e(\-)+mail/i
describe RU_EMAIL_BASE E-mail base offer
score RU_EMAIL_BASE 3.6
body RU_A_LOT_OF_EMAILS /[\d\.\,]{1,5} e(\-)+mail/i
describe RU_A_LOT_OF_EMAILS More than 100000 e-mail addresses
score RU_A_LOT_OF_EMAILS 0.6
body RU_MASS_EMAIL_SENDING /массов[ой|ая|ые].{1,15}рассылк/i
describe RU_MASS_EMAIL_SENDING Program for mass e-mail sending
score RU_MASS_EMAIL_SENDING 3.5
body RU_MY_REGRET /прино[с|ш].{1,25}извинен/i
describe RU_MY_REGRET My deepest regret
score RU_MY_REGRET 0.8
body RU_OSIOS_ORG /osios\.org/i
describe RU_OSIOS_ORG Spammer association
score RU_OSIOS_ORG 6.8
body RU_WORD_ADVER /реклам/i
describe RU_WORD_ADVER Advertisement word
score RU_WORD_ADVER 0.9
body RU_WORD_SPAM /спам/i
describe RU_WORD_SPAM Spam word
score RU_WORD_SPAM 1.1
body RU_CONSTITUTION_RF_W /НМЯРХРСЖХ/
describe RU_CONSTITUTION_RF_W Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF_W 1.7
body RU_CONSTITUTION_RF_1_W /ЯР[\.\s]+29[\s\.\,\;]+[ОВ][\.\s]+4/i
describe RU_CONSTITUTION_RF_1_W Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF_1_W 6.0
body RU_CONSTITUTION_RF_2_W /[ОВ][\.\s]+4[\s\.\,\;]+ЯР[\.\s]+29/i
describe RU_CONSTITUTION_RF_2_W Claims compliance with the Constitution of RF
score RU_CONSTITUTION_RF_2_W 6.0
body RU_IN_ACCORDANCE_W /НРОПЮБКЕМ.{1,15}ЯННРБЕРЯРБХХ/i
describe RU_IN_ACCORDANCE_W Claims to be in accordance with some law
score RU_CONSTITUTION_RF_W 1.6
body RU_ONE_TIME_ACTION_W /ПЮГНБЮЪ[\s]+[ЮЙЖХЪ|ПЮЯЯШКЙЮ]/i
describe RU_ONE_TIME_ACTION_W One time action
score RU_ONE_TIME_ACTION_W 1.35
body RU_EMAIL_BASE_W /e(\-)+mail.{1,15}АЮГ[Ш|Ю|С]/i
describe RU_EMAIL_BASE_W E-mail base offer
score RU_EMAIL_BASE_W 3.6
body RU_EMAIL_BASE_W /АЮГ[Ш|Ю|С].{1,15}e(\-)+mail/i
describe RU_EMAIL_BASE_W E-mail base offer
score RU_EMAIL_BASE_W 3.6
body RU_A_LOT_OF_EMAILS_W /[\d\.\,]{1,5} e(\-)+mail/i
describe RU_A_LOT_OF_EMAILS_W More than 100000 e-mail addresses
score RU_A_LOT_OF_EMAILS_W 0.6
body RU_MASS_EMAIL_SENDING_W /ЛЮЯЯНБ[НИ|ЮЪ|ШЕ].{1,15}ПЮЯЯШКЙ/i
describe RU_MASS_EMAIL_SENDING_W Program for mass e-mail sending
score RU_MASS_EMAIL_SENDING_W 3.5
body RU_MY_REGRET_W /ОПХМН[Я|Ь].{1,25}ХГБХМЕМ/i
describe RU_MY_REGRET_W My deepest regret
score RU_MY_REGRET_W 0.8
body RU_WORD_ADVER_W /ПЕЙКЮЛ/i
describe RU_WORD_ADVER_W Advertisement word
score RU_WORD_ADVER_W 0.9
body RU_WORD_SPAM_W /ЯОЮЛ/i
describe RU_WORD_SPAM_W Spam word
score RU_WORD_SPAM_W 1.1
body PERS_MAIL_SPAM_PROG /persmail/i
describe PERS_MAIL_SPAM_PROG PersmailSpam program
score PERS_MAIL_SPAM_PROG 4.2
body FREE_GSM /free\-gsm\-calls/i
describe FREE_GSM Free gsm offer
score FREE_GSM 8.0
body BODY_SCREENSAVER /screensaver/i
describe BODY_SCREENSAVER Eat your spam self
score BODY_SCREENSAVER 200
--------------------Настройки Exim------------------------
spamd_address = 127.0.0.1 783
warn message = X-Spam-Score: $spam_score ($spam_bar)
spam = nobody:true
warn message = X-Spam-Report: $spam_report
spam = spamd:true
warn message = Subject: *SPAM* $h_Subject:
spam = spamd:true
deny message = This message scored $spam_score spam points.
spam = spamd:true
condition = ${if >{$spam_score_int}{50}{1}{0}}
------------------Запуск spamd---------------------
spamd -x -d
---------------------------------------------------
В момент запуска нагрузка становится 30%, а в течении 4-5 секунд возрастает до 90-95%. Что делать? У меня спам рекой льется! :'(
Какая есть альтернатива, если решения проблемы не найдется?