Hey all;
I'm running ClamAV 0.90.1 on FreeBSD 6.2.
In front of this server I have 3 other, which gather traffic and run it
through my ClamAV-server.

Everything is running smothly, except some mails, that are large. Right
now I have 4 mails on one of the servers that vary in size from 20MB to 60
MB.

I get the following in my /var/log/maillog:
xxx.xxx.xxx.xxx:10025, conn_use=10, delay=18611,
delays=17585/13/0.04/1014, dsn=4.0.0, status=deferred (host
xxx.xxx.xxx.xxx[xxx.xxx.xxx.xxx] said: 421 clamav.myserver.com Error:
timeout exceeded (in reply to end of DATA command))

This is the result of my clamconf:
--------------------------------------------
/usr/local/etc/clamd.conf: clamd directives
-----------------
LogFile = "/var/log/clamav/clamd.log"
LogFileUnlock = no
LogFileMaxSize = 2097152000
LogTime = yes
LogClean = no
LogVerbose = no
LogSyslog = yes
LogFacility = "LOG_MAIL"
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory not set
ScanPE = yes
ScanELF = yes
DetectBrokenExecutables = no
ScanMail = yes
MailFollowURLs = no
MailMaxRecursion = 64
PhishingSignatures = yes
AlgorithmicDetection = yes
ScanHTML = yes
ScanOLE2 = yes
ScanPDF = no
ScanArchive = yes
ArchiveMaxFileSize = 1073741824
ArchiveMaxRecursion = 0
ArchiveMaxFiles = 1000
ArchiveMaxCompressionRatio = 0
ArchiveLimitMemoryUsage = no
ArchiveBlockEncrypted = no
ArchiveBlockMax = no
DatabaseDirectory = "/var/db/clamav"
TCPAddr not set
TCPSocket not set
LocalSocket = "/var/run/clamav/clamd"
MaxConnectionQueueLength = 46
StreamMaxLength = 1073741824
StreamMinPort = 1024
StreamMaxPort = 2048
MaxThreads = 256
ReadTimeout = 0
IdleTimeout = 30
MaxDirectoryRecursion = 15
FollowDirectorySymlinks = no
FollowFileSymlinks = no
ExitOnOOM = no
Foreground = no
Debug = no
LeaveTemporaryFiles = no
FixStaleSocket = yes
User = "clamav"
AllowSupplementaryGroups = yes
SelfCheck = 1800
VirusEvent not set
NodalCoreAcceleration = no
ClamukoScanOnAccess not set
ClamukoScanOnOpen not set
ClamukoScanOnClose not set
ClamukoScanOnExec not set
ClamukoIncludePath not set
ClamukoExcludePath not set
ClamukoMaxFileSize = 5242880
--------------------------------------------

Is there any way to make clamav increase the timeout, so it would accept
these large mails?

Is there anything I can add/adjust in my conf-file.

Thanks in advance
Samir M.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to