Надо прикрутить spamassassin к postfix
делал по статье
http://flakshack.com/anti-spam/wiki/index.php?page=FairlySec...
запускаю аmavisd debug , мылю письмо на этот почтовик
амависд выдает:
<...сократил..>
amavisd[33149]: mime_decode_epilogue: 1 lines
amavisd[33149]: Charging 155 bytes to remaining quota 6239000 (out of 6239000, (0%)) - by mime_decode
amavisd[33149]: p001 1/1/1 Content-Type: text/plain, size: 155 B, name:
amavisd[33149]: reparenting p001 from p000 to p005
amavisd[33149]: Charging 2454 bytes to remaining quota 6238845 (out of 6239000, (0%)) - by mime_decode
amavisd[33149]: p002 1/1/2 Content-Type: text/html, size: 2454 B, name:
amavisd[33149]: reparenting p002 from p000 to p005
amavisd[33149]: Charging 5349 bytes to remaining quota 6236391 (out of 6239000, (0%)) - by mime_decode
amavisd[33149]: p003 1/2 Content-Type: application/x-pkcs7-signature, size: 5349 B, name: smime.p7s
amavisd[33149]: reparenting p003 from p000 to p004
amavisd[33149]: prolong_timer mime_decode-1: remaining time = 1200 s
amavisd[33149]: decode_parts: level=1, #parts=5 : p001, p002, p003, p004, p005
amavisd[33149]: run_command: [33165] /var/amavisd/bin/file p001 p002 p003 </dev/null 2>&1
amavisd[33165]: open_on_specific_fd: target fd0 closing, to become < /dev/null
amavisd[33165]: run_command: child process [33165]: Can't open /dev/null: Operation not supported at amavisd line 2063, <GEN6> line 286.
amavisd[33149]: TROUBLE in check_mail: parts_decode_ext FAILED: parsing file(1) results - missing last 3 results at (eval 60) line 154.
amavisd[33149]: prolong_timer check done: remaining time = 1200 s
amavisd[33149]: sending SMTP response: "451 4.5.0 Error in processing, id=33149-01, parts_decode_ext FAILED: parsing file(1) results - missing last 3 results at (eval 60) line 154."
amavisd[33149]: PRESERVING EVIDENCE in /var/amavisd/tmp/amavis-20060701T123941-33149
amavisd[33149]: TIMING [total 649 ms] - SMTP EHLO: 9 (1%)1, SMTP pre-MAIL: 5 (1%)2, mkdir tempdir: 1 (0%)2, create email.txt: 1 (0%)2, SMTP pre-DATA-flush: 8 (1%)4, SMTP DATA: 562 (87%)90, body_digest: 3 (0%)91, gen_mail_id: 1 (0%)91, mkdir parts: 0 (0%)91, mime_decode: 41 (6%)97, rundown: 18 (3%)100
amavisd[33149]: ESMTP> 451 4.5.0 Error in processing, id=33149-01, parts_decode_ext FAILED: parsing file(1) results - missing last 3 results at (eval 60) line 154.
amavisd[33149]: prolong_timer smtp response sent: timer set to = 480 s
amavisd[33149]: idle_proc, 6: was busy, 629.6 ms, total idle 0.003 s, busy 0.648 s
amavisd[33149]: idle_proc, 5: was idle, 0.4 ms, total idle 0.003 s, busy 0.648 s
amavisd[33149]: ESMTP< QUIT\r\n
amavisd[33149]: prolong_timer SMTP QUIT received: timer set to = 1200 s
amavisd[33149]: ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
amavisd[33149]: prolong_timer smtp response sent: timer set to = 480 s
amavisd[33149]: SMTP session over, timer stopped
amavisd[33149]: exiting process_request
amavisd[33149]: post_process_request_hook: timer was not running
amavisd[33149]: idle_proc, bye: was busy, 6.2 ms, total idle 0.003 s, busy 0.654 s
amavisd[33149]: load: 99 %, total idle 0.003 s, busy 0.654 sПодозрение на :
run_command: child process [33165]: Can't open /dev/null: Operation not supported at amavisd line 2063, <GEN6> line 286.Пофиксить хз как.
Буду благодарен за помощь
никто не поможет?
Вы его в chroot'е пускаете?
>Вы его в chroot'е пускаете?
настроен на запуск в chrooteа запускал под рутом
а в chroot hier есть /dev/null?
>а в chroot hier есть /dev/null?root@inetsrv:/var/amavisd/dev#ls -la
crw-rw-rw- 1 root wheel 2, 2 28 июн 13:49 nullесть
а с права на /var/amavisd/dev все ok?
>а с права на /var/amavisd/dev все ok?
всмысле?
>>а с права на /var/amavisd/dev все ok?
>всмысле?
ну у пользователя от которого работает amavisd есть +x на сам /var/amavisd/dev
>>>а с права на /var/amavisd/dev все ok?
>>всмысле?
>ну у пользователя от которого работает amavisd есть +x на сам /var/amavisd/dev
>Порылся в инете. вот что пишут
>Начиная с 6.0 ноды устройств создавать на ufs можно, но работать как девайсы они не >будут. Вот и надо теперь пользовать devfs.Выполнил команду
mount_devfs devfs /var/amavisd/dev/
все заработало, но это вроде не клева.Может ещё варианты какие есть?