On Wed, 14 Feb 2007 14:26:36 +0100
Mark Martinec <[EMAIL PROTECTED]> wrote:

> boricua,
> 
> > i still don't know why this fails on most emails
> 
> > Feb 14 07:45:07 pepino amavis[15786]: (15786-07) (!!)WARN: all primary
> > virus scanners failed, considering backups Feb 14 07:47:25 pepino
> > amavis[15786]: (15786-08) (!!)ask_av (ClamAV-clamd) FAILED - unexpected
> > result: /var/amavis/tmp/amavis-20070214T064635-15786/parts: lstat() failed.
> > ERROR\n
> 
> The message:
>   lstat() failed. ERROR
> comes directly from clamd, it is not generated by amavisd, just logged by it.
> 
> You did configure the /etc/group and AllowSupplementaryGroups
> as I pointed out in one of my earlier messages, did you?

i had missed that thanks that appears to solve the primary scanner issue

bash-3.1# tail -f /var/log/maillog
Feb 14 08:52:01 pepino amavis[17962]: No decoder for       .arc  tried: 
nomarch, arc
Feb 14 08:52:01 pepino amavis[17962]: Found decoder for    .zoo  at /usr/bin/zoo
Feb 14 08:52:01 pepino amavis[17962]: Found decoder for    .lha  at /usr/bin/lha
Feb 14 08:52:01 pepino amavis[17962]: No decoder for       .cab  tried: 
cabextract
Feb 14 08:52:01 pepino amavis[17962]: No decoder for       .tnef tried: tnef
Feb 14 08:52:01 pepino amavis[17962]: Internal decoder for .tnef
Feb 14 08:52:01 pepino amavis[17962]: Found decoder for    .exe  at 
/usr/bin/lha; /usr/bin/unarj
Feb 14 08:52:01 pepino amavis[17962]: Using primary internal av scanner code 
for ClamAV-clamd
Feb 14 08:52:01 pepino amavis[17962]: Found secondary av scanner 
ClamAV-clamscan at /usr/bin/clamscan
Feb 14 08:52:01 pepino amavis[17962]: Creating db in /var/amavis/db/; 
BerkeleyDB 0.31, libdb 4.1



> |> And don't miss the following from INSTALL file:
> |>
> |>   If different UID is preferred for an AV scanner, a solution for
> |>   ClamAV is to add user clamav to the amavis group, and then add
> |>   AllowSupplementaryGroups to clamd.conf.
> 
thanks i had missed that as well



i did 3 samples

virus  blocked  and get email notification  [ok]

sample-spam-GTUBE-junk.txt  its stopped but i dont get the notify
and the sample-junk gets thru as not spam

any ideas what it could be 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to