>/usr/share/perl5/Debconf/ConfModule.pm is a perl module for debconf,
>the Debian configuration system.  It's not clear to me why you picked on
>that particular module, but that won't work, even if it was a good idea.
>perl looks for a module based on it's name, so when you say 'use clamav'
>it looks around the file system in it's search path (@INC) for a file
>named clamav.pm and attempts to load it.

Got it now.

>I have no idea how citadel works, sorry.

Ok, fair enough, but could you let me know what I am doing wrong when I try
to set clamd to run on a specific TCP port-I think I can make it work after
I have a specific/constant address to call?

I tried adding this to the clamd.conf file in etc/clamav:
1. TCPSocket 3310
2. Restarted clamd:  clamd restart

3. ps ax | grep [c]lamd
 5514 ?        Ss     0:02 /usr/sbin/clamd
 8331 ?        Ss     0:05 clamd restart

4. netstat -lpn:
unix  2      [ ACC ]     STREAM     LISTENING     14369    5514/clamd         
/var/run/clamav/clamd.ctl

Thanks for your reply.
Any suggestions are greatly appreciated.

full clamd.conf
# TCP port address.
# Default: disabled
TCPSocket 3310

#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
#LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
User clamav
AllowSupplementaryGroups false
ScanMail true
ScanArchive true
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ArchiveMaxCompressionRatio 250
ArchiveLimitMemoryUsage false
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
StreamMaxLength 10M
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
TemporaryDirectory /tmp
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
MailFollowURLs false
ArchiveBlockMax false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
MailMaxRecursion 64
PhishingSignatures true
PhishingScanURLs true
PhishingRestrictedScan true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0

-- 
 _______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml


-- 
View this message in context: 
http://www.nabble.com/ClamAV-Plugin-for-Spamassassin-tp18113891p18131896.html
Sent from the clamav-users mailing list archive at Nabble.com.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to