Hola,

# clamconf
/usr/local/etc/clamd.conf: clamd directives
-----------------
LogFile = "/var/log/clamav/clamd.log"
LogFileUnlock = no
LogFileMaxSize = 5242880
LogTime = yes
LogClean = yes
LogVerbose = no
LogSyslog = no
LogFacility = "LOG_LOCAL6"
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 = yes
ScanArchive = yes
ArchiveMaxFileSize = 10485760
ArchiveMaxRecursion = 8
ArchiveMaxFiles = 1000
ArchiveMaxCompressionRatio = 250
ArchiveLimitMemoryUsage = no
ArchiveBlockEncrypted = no
ArchiveBlockMax = no
DatabaseDirectory = "/var/db/clamav"
TCPAddr = "127.0.0.1"
TCPSocket not set
LocalSocket = "/var/run/clamav/clamd.sock"
MaxConnectionQueueLength = 30
StreamMaxLength = 6291456
StreamMinPort = 1024
StreamMaxPort = 2048
MaxThreads = 10
ReadTimeout = 120
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 = "echo "Virus: %v" | mail -s "Correo-Virus detectado" 
[EMAIL PROTECTED]"
NodalCoreAcceleration = no
ClamukoScanOnAccess not set
ClamukoScanOnOpen not set
ClamukoScanOnClose not set
ClamukoScanOnExec not set
ClamukoIncludePath not set
ClamukoExcludePath not set
ClamukoMaxFileSize = 5242880

/usr/local/etc/freshclam.conf: freshclam directives
-----------------
LogVerbose = yes
LogSyslog = no
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/db/clamav"
Foreground = no
Debug = no
AllowSupplementaryGroups = yes
DatabaseOwner = "clamav"
Checks = 8
UpdateLogFile = "/var/log/clamav/freshclam.log"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.CA.clamav.net"
MaxAttempts = 3
ScriptedUpdates = yes
HTTPProxyServer = "proxy.gcc.cu"
HTTPProxyPort = 3128
HTTPProxyUsername = "dhl.user"
HTTPProxyPassword = "s3cr3t_p4sswd"
HTTPUserAgent not set
NotifyClamd = "/usr/local/etc/clamd.conf"
OnUpdateExecute = "/usr/local/etc/freshclam-x/onupdt.sh"
OnErrorExecute = "/usr/local/etc/freshclam-x/onerror.sh"
OnOutdatedExecute = "/usr/local/etc/freshclam-x/onoutdt.sh"
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30


the file (-rwx------  clamav  clamav) /usr/local/etc/freshclam-x/onupdt.sh 
has:
#!/bin/sh
TEXT=`tail -n21 /var/log/clamav/freshclam.log`
echo $TEXT | mail -s "AV Actualizado OK" [EMAIL PROTECTED]


the file (-rwx------  clamav  clamav) /usr/local/etc/freshclam-x/onerror.sh 
has:
echo "Error Actualizando Bases de Datos de Antivirus" | mail -s "Error en 
ActualizaciĆ³n" | mail -s "Error en Actualizacion" [EMAIL PROTECTED]


Also with 0.88 the OnUpdateExecute and the OnErrorExecute events worked 
perfectly, but now, they doesn't.



----- Original Message ----- 
From: "Dennis Peterson" <[EMAIL PROTECTED]>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Tuesday, July 10, 2007 9:16 AM
Subject: Re: [Clamav-users] clam-milter and freshclam headache, help


> Efren Bravo wrote:
>> Hi,
>>
>> A few days ago I've been running Sendmail with clamav 0.88 and since I
>> change to 0.90.3, I've been fighting with clam-milter and freshclam.
>>
>> The freshclam dies when it tries to update the clam database and it isn't
>> able to reach the servers on the other hand clam-milter dies with this
>> error:
>>
>> WARNING: Database has changed, loading updated database
>> ERROR: Segmentation fault :-( Bye.
>>
>> Some ideas about it? Is there a way to configure Sendmail without
>> clam-milter?
>
> There is a utility that comes with your new version of ClamAV called
> clamconf. If you run this it will print off everything useful from your
> configuration files. Paste that info into a message and send it to this
> list.
>
> dp
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
> 


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

Reply via email to