hello all, i am running qmail+clamav. This is my clamd.conf and freshclam.conf files
***********clamd.conf - Begin ********** LogFile /var/log/clamd.log LogTime LogClean LogSyslog PidFile /var/run/clamav/clamd.pid DatabaseDirectory /usr/share/clamav LocalSocket /var/clamav/clamd.sock FixStaleSocket MaxConnectionQueueLength 20 MaxThreads 30 ReadTimeout 300 User qscand DetectBrokenExecutables ScanMail ScanHTML ScanArchive ScanRAR ***********clamd.conf - End ********** ***********freshclam.conf - Begin ********** DatabaseDirectory /usr/share/clamav UpdateLogFile /var/log/clam-update.log DatabaseOwner qscand DatabaseMirror database.clamav.net ***********freshclam.conf - End ********** the softlimit set for qmail is 300MB. but the time taken to scan a 4 MB mail is too long ... i am dumping the mail header ******************HEADER START**************** Return-Path: <email address protected> Delivered-To: somedomain.com-email address protected Received: (qmail 10260 invoked by uid 92); 3 Apr 2006 17:12:12 +0530 Received: from 61.16.161.3 by ngblhost1 (envelope-from <email address protected>, uid 90) with qmail-scanner-1.24-st-qms (clamdscan: 0.88/1367. spamassassin: 3.1.0. perlscan: 1.24-st-qms. Clear:RC:0(61.16.161.3):SA:0(?/?):. Processed in 1330.693658 secs); 03 Apr 2006 11:42:12 -0000 X-Spam-Status: No, hits=? required=? X-Antivirus-MYDOMAIN-Mail-From: <email address protected> via ngblhost1 X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(61.16.161.3):SA:0(?/?):. Processed in 1330.693658 secs Process 10258) Received: from unknown (HELO smtp.io-star.com) (61.16.161.3) by "protected-domain" with SMTP; 3 Apr 2006 16:50:01 +0530 Received: from Venu (iostar-2-161-16-hkg.io-star.com [61.16.161.2] (may be forged)) (authenticated bits=0) by smtp.io-star.com (8.12.8/8.12.8) with ESMTP id k33AitBC024135; Mon, 3 Apr 2006 16:15:11 +0530 Reply-To: <email address protected> From: "Kabul" <email address protected> To: "'C S Sethi'" <email address protected>, "'charanbir sethi'" <email address protected> Subject: Photo's Date: Mon, 3 Apr 2006 15:35:55 +0430 Organization: BSC - C & C "JV" Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0027_01C65734.514DFFE0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 ********************HEADER END***************** i cant figure our the possible cause of the delay. can someone help thanks Sandeep P.S.: I am using clamdscan and not clamscan as many qmail installations does that why the User for clamav is qscand so that it can work with qmail-scanner __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com _______________________________________________ http://lurker.clamav.net/list/clamav-users.html