[FUG-BR] Problemas P3Scan + Clamav

Rafael Busetti omegatiger em gmail.com
Terça Março 6 22:55:33 BRT 2007


Só pra refinar melhor os problemas ai, caso alguem saiba, em modo
debug ele lança assim =), ta foda, revisei denovo, descomentei quase
todas regras =~ e nada hehe, to começando achar que é a versão 2.3.2_2

23:57:29 p3scan[19571]: <-- +OK logged in.
23:57:29 p3scan[19571]: --> STAT
23:57:29 p3scan[19571]: <-- +OK 2 9916
23:57:29 p3scan[19571]: --> LIST
23:57:30 p3scan[19571]: <-- +OK POP3 clients that break here, they
violate STD53.
23:57:30 p3scan[19571]: <-- 1 1898
23:57:30 p3scan[19571]: <-- 2 8018
23:57:30 p3scan[19571]: <-- .
23:57:31 p3scan[19571]: --> RETR 1
23:57:31 p3scan[19571]: RETR 1 (1)
23:57:31 p3scan[19571]: <-- +OK 1898 octets follow.
23:57:31 p3scan[19571]: Caught MIME/Subj line, closing header buffer.
23:57:31 p3scan[19571]: Informing email client to wait...
23:57:31 p3scan[19571]: notified=1
23:57:31 p3scan[19571]: got '.\r\n', mail is complete.
23:57:31 p3scan[19571]: Invoking scanner
23:57:31 p3scan[19571]: Basic scanner says hello
23:57:31 p3scan[19571]: popen /usr/bin/clamdscan --no-summary -i
'/var/spool/p3scan//children/19571/p3scan.aCOyrb' 2>&1
23:57:31 p3scan[19571]: vi : ''
23:57:31 p3scan[19571]: Scanner returned signal 127
23:57:31 p3scan[19571]: WARNING: Your scanner returned neither 0, a
viruscode, nor a good viruscode, but 127
23:57:31 p3scan[19571]: Scanner returned -1
23:57:31 p3scan[19571]: ERR: We can't say if it is a virus! So we have
to give the client the mail! You should check your
configuration/system
23:57:31 p3scan[19571]: ERR: Scanner returned unexpected error code.
You should check your configuration/system.
23:57:31 p3scan[19571]: ERR: Exiting now...

ERR: Scanner returned unexpected error code. You should check your
configuration/system.
23:57:31 p3scan[19571]: echo "Scanner returned unexpected error code.
You should check your configuration/system." | /usr/bin/mail -s
'P3Scan Terminating' root em localhost postmaster em localhost
do_sigterm_proxy2, signal 1
ERR: We cot SIGTERM!
Uninit context
23:57:31 p3scan[19571]: ERR: Unable to free memory not previously allocated:
23:57:31 p3scan[19568]: ERR: Attention: child with pid 19571 died with
abnormal termsignal (11)! This is probably a bug. Please report to the
author. numprocs is now 0
23:57:31 p3scan[19568]: Erasing /var/spool/p3scan//children/19571/ contents
23:57:31 p3scan[19568]: Unlinking
(/var/spool/p3scan//children/19571/p3scan.aCOyrb)
23:57:31 p3scan[19568]: Unlinking
(/var/spool/p3scan//children/19571/p3shdr.a4sXIc)
23:57:31 p3scan[19568]: Removing directory /var/spool/p3scan//children/19571/



Em 06/03/07, Rafael Busetti<omegatiger em gmail.com> escreveu:
> Pessoal,
>
> O bixinho aqui ta violento, consegui configurar o clamav, o p3scan
> está instalado, aprincipio corretamente, todos os .conf estão
> ajustados de acordo (revisei e vi varios tutorias explicando),
> consegui configurar meu ipfw com a regra para o pop3 funcionar
> transparente na minha rede.
>
> Porém tenho o seguinte impasse quando mando enviar/receber as
> mensagens em uma máquina da rede pelo outlook express ...
>
>
> # /usr/local/sbin/p3scan -f /usr/local/etc/p3scan/p3scan.conf
> # ERR: Scanner returned unexpected error code. You should check your
> configuration/system.
>
> # tail /var/log/messages
> Mar  6 23:17:01 hell p3scan[19405]: Running as user: mailnull
> Mar  6 23:17:04 hell p3scan[19408]: POP3 Connection from 192.168.0.200:3264
> Mar  6 23:17:04 hell p3scan[19408]: Real-server address is 216.40.225.204:110
> Mar  6 23:17:05 hell p3scan[19408]: USER 'cristaltecform'
> Mar  6 23:17:10 hell p3scan[19408]: WARNING: Your scanner returned
> neither 0, a viruscode, nor a good viruscode, but 127
> Mar  6 23:17:10 hell p3scan[19408]: ERR: We can't say if it is a
> virus! So we have to give the client the mail! You should check your
> configuration/system
> Mar  6 23:17:10 hell p3scan[19408]: ERR: Scanner returned unexpected
> error code. You should check your configuration/system.
> Mar  6 23:17:10 hell p3scan[19408]: ERR: Exiting now...
> Mar  6 23:17:10 hell kernel: pid 19408 (p3scan), uid 26: exited on signal 11
> Mar  6 23:17:10 hell p3scan[19405]: ERR: Attention: child with pid
> 19408 died with abnormal termsignal (11)! This is probably a bug.
> Please report to the author. numprocs is now 0
>
>
> Varri por tudo em busca de alguma solução, tentei resetar permissões
> das pastas, usuário, alterar algumas limas do .conf, mas não tive
> sucessos ... se alguém puder ajudar eu agradeço, vou continuar
> tentando aqui, se eu achar a resposta, eu posto aqui ehehhe =)
>
> obrigado!
>


Mais detalhes sobre a lista de discussão freebsd