Код: Выделить всё
acl_check_data:
# Put simple tests first. A good one is to check for the presence of a
# Message-Id: header, which RFC2822 says SHOULD be present. Some broken
# or misconfigured mailer software occasionally omits this from genuine
# messages too, though -- although it's not hard for the offender to fix
# after they receive a bounce because of it.
#
# deny condition = ${if !def:h_Message-ID: {1}}
# message = RFC2822 says that all mail SHOULD have a Message-ID header.\n\
# Most messages without it are spam, so your mail has been rejected.
# Deny if the message contains a virus. Before enabling this check, you
# must install a virus scanner and set the av_scanner option above.
#
# deny malware = *
# message = This message contains a virus ($malware_name).
# Bypass SpamAssassin checks if the message is too large.
#
# accept condition = ${if >={$message_size}{100000} {1}}
# add_header = X-Spam-Note: SpamAssassin run bypassed due to message size
# Run SpamAssassin, but allow for it to fail or time out. Add a warning message
# and accept the mail if that happens. Add an X-Spam-Flag: header if the SA
# score exceeds the SA system threshold.
#
# warn spam = nobody/defer_ok
# add_header = X-Spam-Flag: YES
#
# accept condition = ${if !def:spam_score_int {1}}
# add_header = X-Spam-Note: SpamAssassin invocation failed
#
# Unconditionally add score and report headers
#
# warn add_header = X-Spam-Score: $spam_score ($spam_bar)\n\
# X-Spam-Report: $spam_report
# And reject if the SpamAssassin score is greater than ten
#
# deny condition = ${if >{$spam_score_int}{100} {1}}
# message = Your message scored $spam_score SpamAssassin point. Report follows:\n\
# $spam_report
# spamd_address = 127.0.0.1 783
Никаких настроек SpamAssassin не делал, демон запущен, вижу в логах такое соощение
Код: Выделить всё
2009-09-29 15:44:19 1Msb7u-0000N1-ND H=h2o.outer.net [192.207.27.5] F=<claimsofficer2009@yahoo.cn> rejected after DATA: Your message scored 13.7 SpamAssassin point. Report follows:
и еще вопрос, куда девается спам? SpamAssassin его удаляет навсегда или сохраняет?
надо ли еще что-то писать в acl_check_data - или тех записей, что были по-умолчанию достаточно?
Как еще можно проверить работу SpamAssassin ?