LINUX.ORG.RU
ФорумAdmin

Помогите с подключением spamassassin к postfix


0

1

настроил

/etc/postfix/master.cf

smtp inet n - n - - smtpd -o content_filter=spam

spam unix - n n - - pipe user=spam argv=/usr/bin/spamc -u spam -e /usr/sbin/sendmail -t

/etc/mail/spamassassin/local.cf

required_hits 8 report_safe 0 rewrite_header Subject [SPAM] ok_languages ru en ok_locales ru en

перезапускаю postfix запускаю spamassassin

в домашней папке spam появляется файл dead:letter в который сливаются все письма.

куда копать?


Ответ на: комментарий от vlb

maillog

Jul 6 15:38:45 rnioi spamd[14483]: spamd: identified spam (8.5/8.0) for spam:845 in

5.3 seconds, 4941 bytes.

Jul 6 15:38:45 rnioi spamd[14483]: spamd: result: Y 8 -

FH_DATE_PAST_20XX,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL

scantime=5.3,size=4941,user=spam,uid=845,required_score=8.0,rhost=rnioi,raddr=127

.0.0.1,rport=33693,mid=

<20120706113758.9DD7E69867C@rnioi.rnioi.ru>,autolearn=no

логав spamd нет

Jul 6 15:38:45 rnioi spamd[2052]: prefork: child states: II

Jul 6 15:38:45 rnioi sendmail[17321]: q66BcjHv017321: from=spam, size=5031,

class=0, nrcpts=1, msgid=<20120706113758.9DD7E69867C@rnioi.rnioi.ru>,

relay=spam@localhost

Jul 6 15:38:45 rnioi postfix/smtpd[17263]: connect from rnioi[127.0.0.1]

Jul 6 15:38:45 rnioi postfix/smtpd[17263]: A4900698683: client=rnioi[127.0.0.1],

sasl_sender=spam@localhost.localdomain

Jul 6 15:38:45 rnioi postfix/cleanup[17267]: A4900698683: message-

id=<20120706113758.9DD7E69867C@rnioi.rnioi.ru>

Jul 6 15:38:45 rnioi postfix/qmgr[14002]: A4900698683:

from=<spam@localhost.localdomain>, size=5441, nrcpt=1 (queue active)

Jul 6 15:38:45 rnioi sendmail[17321]: q66BcjHv017321: to=<denisov@rnioi.ru>,

ctladdr=spam (845/12), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=35031,

relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A4900698683)

Jul 6 15:38:45 rnioi spamd[14483]: spamd: connection from rnioi [127.0.0.1] at port

33695

Jul 6 15:38:45 rnioi spamd[14483]: spamd: setuid to spam succeeded

Jul 6 15:38:45 rnioi spamd[14483]: spamd: processing message

<20120706113758.9DD7E69867C@rnioi.rnioi.ru> for spam:845

Jul 6 15:38:45 rnioi postfix/smtpd[17263]: disconnect from rnioi[127.0.0.1]

Jul 6 15:38:45 rnioi postfix/pipe[17268]: 30B72698681: to=<denisov@rnioi.ru>,

relay=spam, delay=5.6, delays=0.06/0/0/5.5, dsn=2.0.0, status=sent (delivered via

spam service)

Jul 6 15:38:45 rnioi postfix/qmgr[14002]: 30B72698681: removed

Jul 6 15:38:49 rnioi dovecot: imap-login: Login: user=<kostanyanaa>, method=PLAIN,

rip=127.0.0.1, lip=127.0.0.1, secured

Jul 6 15:38:49 rnioi dovecot: IMAP(kostanyanaa): Disconnected: Logged out

Jul 6 15:38:51 rnioi spamd[14483]: spamd: identified spam (8.5/8.0) for spam:845 in

5.3 seconds, 5338 bytes.

Jul 6 15:38:51 rnioi spamd[14483]: spamd: result: Y 8 -

FH_DATE_PAST_20XX,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_XBL

scantime=5.3,size=5338,user=spam,uid=845,required_score=8.0,rhost=rnioi,raddr=127

.0.0.1,rport=33695,mid=

<20120706113758.9DD7E69867C@rnioi.rnioi.ru>,autolearn=no

Jul 6 15:38:51 rnioi spamd[2052]: prefork: child states: II

Jul 6 15:38:51 rnioi sendmail[17327]: q66BcpGl017327: from=spam, size=5428,

class=0, nrcpts=1, msgid=<20120706113758.9DD7E69867C@rnioi.rnioi.ru>,

relay=spam@localhost

Jul 6 15:38:51 rnioi postfix/smtpd[17057]: connect from rnioi[127.0.0.1]

Jul 6 15:38:51 rnioi postfix/smtpd[17057]: 237CB698681: client=rnioi[127.0.0.1],

sasl_sender=spam@localhost.localdomain

Jul 6 15:38:51 rnioi postfix/cleanup[17267]: 237CB698681: message-

id=<20120706113758.9DD7E69867C@rnioi.rnioi.ru>

Jul 6 15:38:51 rnioi postfix/qmgr[14002]: 237CB698681:

from=<spam@localhost.localdomain>, size=5845, nrcpt=1 (queue active)

Jul 6 15:38:51 rnioi sendmail[17327]: q66BcpGl017327: to=<denisov@rnioi.ru>,

ctladdr=spam (845/12), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=35428,

relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 237CB698681)

Jul 6 15:38:51 rnioi spamd[14483]: spamd: connection from rnioi [127.0.0.1] at port

33699

Jul 6 15:38:51 rnioi spamd[14483]: spamd: setuid to spam succeeded

Jul 6 15:38:51 rnioi spamd[14483]: spamd: processing message

<20120706113758.9DD7E69867C@rnioi.rnioi.ru> for spam:845

Jul 6 15:38:51 rnioi postfix/smtpd[17057]: disconnect from rnioi[127.0.0.1]

Jul 6 15:38:51 rnioi postfix/pipe[17279]: A4900698683: to=<denisov@rnioi.ru>,

relay=spam, delay=5.6, delays=0.07/0/0/5.5, dsn=2.0.0, status=sent (delivered via

spam service)

Jul 6 15:38:51 rnioi postfix/qmgr[14002]: A4900698683: removed

yanev
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.