Hi,
I am running a similar setup with sendmail on CentOS5, which
is almost the
same as RHEL5.1
However I am not using clamscan but the daemonized version
clamd, and that
has worked very well so far. You just have to make sure that
the users
running amavisd and clamd are the same.
clamav has a much newer version than the one you are using,
which might be
the reason.
[huetmann george ~]$ rpm -qi clamd
Name : clamd Relocations: (not
relocatable)
Version : 0.92.1 Vendor: Dag
Apt
Repository, http://dag.wieers.com/apt/
Release : 1.rf Build Date: Wed
13 Feb 2008
07:51:08 AM CET
Install Date: Wed 13 Feb 2008 07:51:42 AM CET Build
Host:
george.eliot.priv.at
Group : System Environment/Daemons Source RPM:
clamav-0.92.1-1.rf.src.rpm
Size : 184907 License: GPL
Signature : (none)
Packager : Dag Wieers <dag wieers.com>
URL : http://www.clamav.net/
Summary : The Clam AntiVirus Daemon
Description :
The Clam AntiVirus Daemon
Hope this helps,
.peter
On Mon, 24 Mar 2008, Martin Mielke wrote:
> Hi all,
>
> I'm new to the list and believe me, I did my homework
before posting
>
> Our scenario looks like this:
>
> RHEL 5.1
> Perl 5.8.8
> amavisd-new-2.5.4-1.el5.rf
> spamassassin-3.2.4-1.el5.rf
> clamav-db-0.90.3-1
> clamav-server-0.90.3-1
> clamav-0.90.3-1
> MySQL 5.0.22
> Cyrus IMAP 2.3.7
> Postfix 2.3.3-2
>
> so far, so good...
>
> Everything was working just fine but it suddenly
stopped. Now emails are
> being queued but not delivered at all...
>
> These are some excerpts from the /var/log/maillog
file:
>
> ---
> Mar 24 16:46:21 v601 amavis[27659]: (27659-01)
(!)killing process
> [27732] running ClamAV-clamscan (reason: on reading:
timed out)
> Mar 24 16:46:21 v601 amavis[27659]: (27659-01)
(!)run_av
> (ClamAV-clamscan): collect_results - reading aborted:
timed out at
> /usr/sbin/amavisd line 2815.
> Mar 24 16:46:21 v601 amavis[27659]: (27659-01)
(!!)ClamAV-clamscan
> av-scanner FAILED: /usr/bin/clamscan collect_results -
reading aborted:
> timed out at /usr/sbin/amavisd line 2815. at (eval 85)
line 511.
> Mar 24 16:46:21 v601 amavis[27659]: (27659-01)
(!!)TROUBLE in
> check_mail: virus_scan FAILED: virus_scan: ALL VIRUS
SCANNERS FAILED:
> ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan
collect_results -
> reading aborted: timed out at /usr/sbin/amavisd line
2815. at (eval 85)
> line 511.
> ---
>
> or
>
> ---
> Mar 24 16:33:32 v601 amavis[26735]: (26735-01)
(!!)WARN: all primary
> virus scanners failed, considering backups
> Mar 24 16:33:32 v601 amavis[26528]: (26528-01) (!)_DIE:
timed outn
> Mar 24 16:33:32 v601 amavis[26528]: (26528-01)
(!)TempDir removal:
> tempdir is to be PRESERVED:
/home/amavis/tmp/amavis-20080324T162812-26528
> ---
>
> Unfortunately I couldn't find anything related to that
on the archives...
>
> Could someone please shed some light?? This is a
production email server
> and ... well, you know the rest...
>
> Maybe I'm overseeing something obvious...
>
>
> TIA,
> Martin
>
>
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/ho
wto/
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
_______________________________________________
AMaViS-user mailing list
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|