Автор: Arekin
Дата сообщения: 25.05.2011 03:24
Доброго времени суток!
Я новичок в этом деле, поэтому прошу сильно не ругать))
Настроил hmail+assassin в соответствии с рекомендациями на данном форуме..
Но вот проблемма - спам валит.. и не мало "правильных" писем режет или помечает как [SPAM].. коллектив рвет и мечет..
Что делать? помогите плз...
конфиг ассассина (D:\Program Files\hMailServer\SpamAssassin\etc\spamassassin\local.cf):
trusted_networks 192.168/16 127/8
trusted_networks 127.
whitelist_from localhost
#Добавляет строку к теме если письмо признано спамом.
rewrite_header Subject ****SPAM*(_SCORE_)****
add_header all Report _REPORT_
required_hits 8.0
report_safe 0
use_bayes 1
bayes_auto_learn 1
skip_rbl_checks 0
use_razor2 0
use_dcc 0
use_pyzor 0
use_auto_whitelist 1
auto_whitelist_path D:\path\to\spamassassin\auto_whitelist
bayes_path D:\path\to\spamassassin\spamassassin/bayes
И допустим кусок лога от hmail (прошу прощения за объемность, но с трудом понимаю, где начало):
"APPLICATION" 1904 "2011-05-25 00:30:07.500" "SMTPDeliverer - Message 3811: Delivering message from scares@zhalobadv.ru to office@oknasakhalina.ru. File: D:\Program Files\hMailServer\Data\{C69F10FC-6F59-4245-9802-2C5973707A8E}.eml"
"DEBUG" 1904 "2011-05-25 00:30:07.500" "Applying rules"
"DEBUG" 1904 "2011-05-25 00:30:07.500" "Applying rule"
"DEBUG" 1904 "2011-05-25 00:30:07.500" "Performing local delivery"
"DEBUG" 1904 "2011-05-25 00:30:07.531" "Applying rules"
"DEBUG" 1904 "2011-05-25 00:30:07.671" "Saving message: D:\Program Files\hMailServer\Data\oknasakhalina.ru\office\C6\{C69F10FC-6F59-4245-9802-2C5973707A8E}.eml"
"DEBUG" 1904 "2011-05-25 00:30:07.671" "AWStats::LogDeliverySuccess"
"DEBUG" 1904 "2011-05-25 00:30:07.671" "Local delivery completed"
"APPLICATION" 1904 "2011-05-25 00:30:07.671" "SMTPDeliverer - Message 3811: Message delivery thread completed."
"SMTPD" 184 1214 "2011-05-25 00:30:07.921" "192.168.0.189" "RECEIVED: QUIT"
"SMTPD" 184 1214 "2011-05-25 00:30:07.921" "192.168.0.189" "SENT: 221 goodbye"
"DEBUG" 2024 "2011-05-25 00:30:07.921" "Closing TCP/IP socket"
"DEBUG" 2024 "2011-05-25 00:30:07.921" "Ending session 1214"
"TCPIP" 184 "2011-05-25 00:36:09.593" "TCPConnection - Posting AcceptEx on 0.0.0.0:110"
"DEBUG" 184 "2011-05-25 00:36:09.593" "Creating session 1216"
"POP3D" 184 1216 "2011-05-25 00:36:09.593" "192.168.0.100" "SENT: +OK Welcom to POP"
"TCPIP" 2004 "2011-05-25 00:36:09.593" "TCPConnection - Posting AcceptEx on 0.0.0.0:110"
"DEBUG" 2004 "2011-05-25 00:36:09.593" "Creating session 1217"
"POP3D" 2004 1217 "2011-05-25 00:36:09.593" "192.168.0.100" "SENT: +OK Welcom to POP"
"POP3D" 2004 1217 "2011-05-25 00:36:09.609" "192.168.0.100" "RECEIVED: CAPA"
"POP3D" 2004 1217 "2011-05-25 00:36:09.609" "192.168.0.100" "SENT: -ERR Invalid command in current state."
"POP3D" 184 1216 "2011-05-25 00:36:09.609" "192.168.0.100" "RECEIVED: CAPA"
"POP3D" 184 1216 "2011-05-25 00:36:09.609" "192.168.0.100" "SENT: -ERR Invalid command in current state."
"POP3D" 2004 1217 "2011-05-25 00:36:09.625" "192.168.0.100" "RECEIVED: USER info@oknasakhalina.ru"
"POP3D" 2004 1217 "2011-05-25 00:36:09.625" "192.168.0.100" "SENT: +OK Send your password"
"POP3D" 184 1216 "2011-05-25 00:36:09.625" "192.168.0.100" "RECEIVED: USER razuvaev@oknasakhalina.ru"
"POP3D" 184 1216 "2011-05-25 00:36:09.625" "192.168.0.100" "SENT: +OK Send your password"
"POP3D" 2004 1217 "2011-05-25 00:36:09.640" "192.168.0.100" "RECEIVED: PASS ***"
"POP3D" 2004 1217 "2011-05-25 00:36:09.640" "192.168.0.100" "SENT: +OK Mailbox locked and ready"
"POP3D" 184 1216 "2011-05-25 00:36:09.640" "192.168.0.100" "RECEIVED: PASS ***"
"POP3D" 184 1216 "2011-05-25 00:36:09.640" "192.168.0.100" "SENT: +OK Mailbox locked and ready"
"POP3D" 184 1216 "2011-05-25 00:36:09.656" "192.168.0.100" "RECEIVED: STAT"
"POP3D" 184 1216 "2011-05-25 00:36:09.656" "192.168.0.100" "SENT: +OK 0 0"
"POP3D" 2012 1217 "2011-05-25 00:36:09.656" "192.168.0.100" "RECEIVED: STAT"
"POP3D" 2012 1217 "2011-05-25 00:36:09.656" "192.168.0.100" "SENT: +OK 9 280709"
"POP3D" 184 1216 "2011-05-25 00:36:09.671" "192.168.0.100" "RECEIVED: QUIT"
"POP3D" 184 1216 "2011-05-25 00:36:09.671" "192.168.0.100" "SENT: +OK POP3 server saying goodbye..."
"POP3D" 2012 1217 "2011-05-25 00:36:09.671" "192.168.0.100" "RECEIVED: LIST"
"POP3D" 2012 1217 "2011-05-25 00:36:09.671" "192.168.0.100" "SENT: +OK 9 messages (280709 octets)"
"POP3D" 2012 1217 "2011-05-25 00:36:09.671" "192.168.0.100" "SENT: 1 251079[nl]2 12805[nl]3 3706[nl]4 849[nl]5 4434[nl]6 2815[nl]7 2225[nl]8 1799[nl]9 997[nl]."
"DEBUG" 1996 "2011-05-25 00:36:09.671" "Closing TCP/IP socket"
"DEBUG" 1996 "2011-05-25 00:36:09.671" "Ending session 1216"
"POP3D" 2004 1217 "2011-05-25 00:36:09.703" "192.168.0.100" "RECEIVED: UIDL"
"POP3D" 2004 1217 "2011-05-25 00:36:09.703" "192.168.0.100" "SENT: +OK 9 messages (280709 octets)[nl]1 27[nl]2 28[nl]3 29[nl]4 30[nl]5 31[nl]6 32[nl]7 33[nl]8 34[nl]9 35[nl]."
"POP3D" 2004 1217 "2011-05-25 00:36:09.718" "192.168.0.100" "RECEIVED: QUIT"
"POP3D" 2004 1217 "2011-05-25 00:36:09.718" "192.168.0.100" "SENT: +OK POP3 server saying goodbye..."
"DEBUG" 2036 "2011-05-25 00:36:09.718" "Closing TCP/IP socket"
"DEBUG" 2036 "2011-05-25 00:36:09.718" "Ending session 1217"
"TCPIP" 2000 "2011-05-25 00:37:25.984" "TCPConnection - Posting AcceptEx on 0.0.0.0:25"
"DEBUG" 2000 "2011-05-25 00:37:25.984" "Creating session 1218"
"SMTPD" 2000 1218 "2011-05-25 00:37:25.984" "192.168.0.189" "SENT: 220 Welcome to SMTP"
"SMTPD" 2000 1218 "2011-05-25 00:37:26.453" "192.168.0.189" "RECEIVED: EHLO [217.219.236.160]"
"SMTPD" 2000 1218 "2011-05-25 00:37:26.453" "192.168.0.189" "SENT: 250-oknasakhalina.ru[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD" 2000 1218 "2011-05-25 00:37:26.921" "192.168.0.189" "RECEIVED: MAIL FROM:<mikhail@forra.samara.ru> SIZE=1016 BODY=7BIT"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.zen.spamhaus.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.bl.spamcop.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.aspews.ext.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.dnsbl.ahbl.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.dnsbl.njabl.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.cbl.abuseat.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.b.barracudacentral.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.db.wpbl.info, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.921" "DNS lookup: 189.0.168.192.spam.spamrats.com, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.cbl.anti-spam.org.cn, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.http.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.cbl.abuseat.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.socks.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.misc.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.smtp.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.web.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.spam.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.dul.dnsbl.sorbs.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.combined.njabl.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.list.dnswl.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.relays.mail-abuse.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.spam.abuse.ch, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.bl.spamcannibal.org, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.dnsbl.inps.de, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.dnsbl-1.uceprotect.net, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.spam.spamrats.com, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.dyna.spamrats.com, 0 addresses found: (none), Match: False"
"TCPIP" 2000 "2011-05-25 00:37:26.937" "DNS lookup: 189.0.168.192.ips.backscatterer.org, 0 addresses found: (none), Match: False"
"DEBUG" 2000 "2011-05-25 00:37:26.937" "Spam test: SpamTestDNSBlackLists, Score: 0"
"DEBUG" 2000 "2011-05-25 00:37:27.281" "Spam test: SpamTestMXRecords, Score: 0"
"DEBUG" 2000 "2011-05-25 00:37:27.609" "Spam test: SpamTestSPF, Score: 0"
"DEBUG" 2000 "2011-05-25 00:37:27.609" "Total spam score: 0"
"SMTPD" 2000 1218 "2011-05-25 00:37:27.609" "192.168.0.189" "SENT: 250 OK"
"SMTPD" 2000 1218 "2011-05-25 00:37:30.625" "192.168.0.189" "RECEIVED: RCPT TO:<berdnik@oknasakhalina.ru>"
"SMTPD" 2000 1218 "2011-05-25 00:37:30.625" "192.168.0.189" "SENT: 250 OK"
"SMTPD" 2000 1218 "2011-05-25 00:37:31.078" "192.168.0.189" "RECEIVED: DATA"
"SMTPD" 2000 1218 "2011-05-25 00:37:31.093" "192.168.0.189" "SENT: 354 OK, send."
"DEBUG" 1740 "2011-05-25 00:37:31.625" "SURBL::Run"
"DEBUG" 1740 "2011-05-25 00:37:31.625" "SURBL::~Run"
"DEBUG" 1740 "2011-05-25 00:37:31.625" "Spam test: SpamTestSURBL, Score: 0"
"DEBUG" 1740 "2011-05-25 00:37:31.625" "Spam test: SpamTestDKIM, Score: 0"
"DEBUG" 1740 "2011-05-25 00:37:31.625" "Creating session 1219"
"TCPIP" 1740 "2011-05-25 00:37:31.625" "Connecting to 127.0.0.1..."
"DEBUG" 2028 "2011-05-25 00:37:31.640" "Sending message to SpamAssassin. Session 1219, File: D:\Program Files\hMailServer\Data\{BCEC0383-12A0-4219-9E67-4D91D09A0872}.eml"
"DEBUG" 2028 "2011-05-25 00:37:37.015" "Parsing response from SpamAssassin. Session 1219"
"DEBUG" 1740 "2011-05-25 00:37:37.343" "Ending session 1219"
"DEBUG" 1740 "2011-05-25 00:37:37.343" "Spam test: SpamTestSpamAssassin, Score: 10"
"DEBUG" 1740 "2011-05-25 00:37:37.343" "Total spam score: 10"
"SMTPD" 1740 1218 "2011-05-25 00:37:37.343" "192.168.0.189" "SENT: 554 Tagged as Spam by SpamAssassin"
"APPLICATION" 1740 "2011-05-25 00:37:37.343" "hMailServer SpamProtection rejected RCPT (Sender: mikhail@forra.samara.ru, IP:192.168.0.189, Reason: Tagged as Spam by SpamAssassin)"
"DEBUG" 1740 "2011-05-25 00:37:37.343" "AWStats::LogDeliveryFailure"
"DEBUG" 1740 "2011-05-25 00:37:37.343" "Deleting message file"
Добавлено:
и еще я не понял, что дает "AWStats".. с чем это кушать?