Ни как не пойму чего ему не хватает...
При запуске spamassassin в логи пишет вот что:
- Jun 18 01:35:53 sg spamd[36649]: logger: removing stderr method
Jun 18 01:35:57 sg spamd[36651]: Can't locate Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (@INC contains: /var/db/spamassassin/compiled/3.002004 /var/db/spamassassin/compiled/3.002004/auto /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.at (eval 547) line 1.
Jun 18 01:36:00 sg postfix/postfix-script[36654]: refreshing the Postfix mail system
Jun 18 01:36:00 sg postfix/master[31454]: reload configuration /usr/local/etc/postfix
Jun 18 01:36:00 sg spamd[36651]: spamd: server started on port 783/tcp (running version 3.2.4)
Jun 18 01:36:00 sg spamd[36651]: spamd: server pid: 36651
Jun 18 01:36:00 sg spamd[36651]: spamd: server successfully spawned child process, pid 36661
Jun 18 01:36:00 sg spamd[36651]: spamd: server successfully spawned child process, pid 36662
Jun 18 01:36:00 sg spamd[36651]: prefork: child states: IS
Jun 18 01:36:00 sg spamd[36651]: prefork: child states: II
Пробовал переустанавливать и perl и spamassassin... обновление портов...
Работает postfix+clamav (т.е. без spamassassin все работает)
Когда запускаю spamassassin ругается на см.выше, но работает... когда приходит письмо оно зацикливатся, т.е. в логи пишет
- .....
Jun 18 01:06:27 sg spamd[31403]: prefork: child states: BI
Jun 18 01:06:27 sg spamd[31404]: spamd: clean message (-1.4/3.0) for virtual:1981 in 0.9 seconds, 19870 bytes.
Jun 18 01:06:27 sg spamd[31404]: spamd: result: . -1 - ALL_TRUSTED scantime=0.9,size=19870,user=virtual,uid=1981,required_scor
e=3.0,rhost=localhost,raddr=127.0.0.1,rport=61100,mid=<200806172106.m5HL6LEL031524@sg.net-d.ru>,autolearn=unavailable
Jun 18 01:06:27 sg sendmail[31536]: m5HL6RjY031536: Authentication-Warning: sg.net-d.ru: virtual set sender to MAILER-DAEMON u sing -f
Jun 18 01:06:27 sg sendmail[31536]: m5HL6RjY031536: from=MAILER-DAEMON, size=19870, class=0, nrcpts=1, msgid=<200806172106.m5H L6LEL031524@sg.net-d.ru>, relay=virtual@localhost
Jun 18 01:06:27 sg postfix/smtpd[31467]: connect from localhost[127.0.0.1]
Jun 18 01:06:27 sg postfix/smtpd[31467]: E0D281DD8CE: client=localhost[127.0.0.1]
Jun 18 01:06:27 sg postfix/cleanup[31469]: E0D281DD8CE: message-id=<200806172106.m5HL6LEL031524@sg.net-d.ru>
Jun 18 01:06:27 sg postfix/qmgr[31456]: E0D281DD8CE: from=<>, size=20725, nrcpt=1 (queue active)
Jun 18 01:06:27 sg sendmail[31536]: m5HL6RjY031536: to=MAILER-DAEMON@sg.net-d.ru, delay=00:00:00, xdelay=00:00:00, mailer=rela
y, pri=49870, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as E0D281DD8CE)
Jun 18 01:06:27 sg postfix/smtpd[31467]: disconnect from localhost[127.0.0.1]
Jun 18 01:06:27 sg postfix/pipe[31470]: CDDF61DD8CD: to=<MAILER-DAEMON@sg.net-d.ru>, relay=spam, delay=1.1, delays=0.02/0.01/0
/1.1, dsn=2.0.0, status=sent (delivered via spam service)
Jun 18 01:06:27 sg postfix/qmgr[31456]: CDDF61DD8CD: removed
Jun 18 01:06:27 sg spamd[31459]: spamd: connection from localhost [127.0.0.1] at port 60027
Jun 18 01:06:27 sg spamd[31459]: spamd: setuid to virtual succeeded
Jun 18 01:06:28 sg spamd[31459]: spamd: processing message <200806172106.m5HL6LEL031524@sg.net-d.ru> for virtual:1981
Jun 18 01:06:28 sg spamd[31403]: prefork: child states: IB
Jun 18 01:06:28 sg spamd[31459]: spamd: clean message (-1.4/3.0) for virtual:1981 in 0.9 seconds, 20322 bytes.
Jun 18 01:06:28 sg spamd[31459]: spamd: result: . -1 - ALL_TRUSTED scantime=0.9,size=20322,user=virtual,uid=1981,required_scor
e=3.0,rhost=localhost,raddr=127.0.0.1,rport=60027,mid=<200806172106.m5HL6LEL031524@sg.net-d.ru>,autolearn=unavailable
Jun 18 01:06:28 sg sendmail[31539]: m5HL6SZo031539: Authentication-Warning: sg.net-d.ru: virtual set sender to MAILER-DAEMON u
sing -f
Jun 18 01:06:28 sg sendmail[31539]: m5HL6SZo031539: from=MAILER-DAEMON, size=20322, class=0, nrcpts=1, msgid=<200806172106.m5H
L6LEL031524@sg.net-d.ru>, relay=virtual@localhost
Jun 18 01:06:28 sg postfix/smtpd[31467]: connect from localhost[127.0.0.1]
Jun 18 01:06:28 sg postfix/smtpd[31467]: ED4431DD8CB: client=localhost[127.0.0.1]
Jun 18 01:06:28 sg postfix/cleanup[31469]: ED4431DD8CB: message-id=<200806172106.m5HL6LEL031524@sg.net-d.ru>
Jun 18 01:06:28 sg postfix/qmgr[31456]: ED4431DD8CB: from=<>, size=21185, nrcpt=1 (queue active)
Jun 18 01:06:28 sg sendmail[31539]: m5HL6SZo031539: to=MAILER-DAEMON@sg.net-d.ru, delay=00:00:00, xdelay=00:00:00, mailer=rela
y, pri=50322, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as ED4431DD8CB)
Jun 18 01:06:28 sg postfix/smtpd[31467]: disconnect from localhost[127.0.0.1]
Jun 18 01:06:29 sg postfix/pipe[31473]: E0D281DD8CE: to=<MAILER-DAEMON@sg.net-d.ru>, relay=spam, delay=1.1, delays=0.02/0.01/0
/1.1, dsn=2.0.0, status=sent (delivered via spam service)
Jun 18 01:06:29 sg postfix/qmgr[31456]: E0D281DD8CE: removed
Jun 18 01:06:29 sg spamd[31404]: spamd: connection from localhost [127.0.0.1] at port 51432
Jun 18 01:06:29 sg spamd[31404]: spamd: setuid to virtual succeeded
Jun 18 01:06:29 sg spamd[31404]: spamd: processing message <200806172106.m5HL6LEL031524@sg.net-d.ru> for virtual:1981
Jun 18 01:06:29 sg spamd[31403]: prefork: child states: BI
В master.cf
Код: Выделить всё
scan unix - - n - 16 smtp
-o smtp_send_xforward_command=yes
-o smtp_tls_security_level=none
127.0.0.1:10026 inet n - n - 16 smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
smtp inet n - n - - smtpd
-o content_filter=spam:dummy
spam unix - n n - - pipe
flags=R user=virtual argv=/usr/local/bin/spamc -u virtual -e /usr/sbin/sendmail -f $sender $recipient
6.2-RELEASE-p7 FreeBSD