Вот такое сообщение о спаме с в логе postfixmail amavis[915]: (00915-14) Blocked SPAM, [83.31.11.15] [83.31.11.15] <support@mymailserver.ru> -> <milto@yandex.ru>
May 19 17:39:11 mail postfix/smtp[1864]: 5929C28404A: to=<milto@yandex.ru>, relay=127.0.0.1[127.0.0.1]:10024, delay=22, delays=20/0/0/1.8, dsn=5.7.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.7.0 Reject, id=00915-14 - SPAM (in reply to end of DATA command))
На ящики сервера почта приходит без проблем, но вот все, что отправляется, считается за спам. По логам видно, ругается amavisd-new.
Параметры, которые я менял в amavis.conf:
$mydomain = 'localhost';
@lookup_sql_dsn =
( ['DBI:mysql ...my data...']);
$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 4.0; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions (e.g. blocks mail)
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
#$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
#$sa_tag2_level_deflt = 6.2; # add 'spam detected' headers at that level
#$sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail)
#$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
# $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off
$penpals_bonus_score = 8; # (no effect without a @storage_sql_dsn database)
$penpals_threshold_high = $sa_kill_level_deflt; # don't waste time on hi spam
$sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail is larger
$sa_local_tests_only = 0; # only tests which do not require internet access?
$sql_select_white_black_list = undef; # undef disables SQL white/blacklisting
$recipient_delimiter = '+'; # (default is '+')
$replace_existing_extension = 1; # (default is false)
$localpart_is_case_sensitive = 0; # (default is false)
$final_virus_destiny = D_REJECT;
$final_banned_destiny = D_REJECT;
$final_spam_destiny = D_REJECT;
$final_bad_header_destiny = D_PASS;