I have the following configuration
Postfix Amavis and Clamav(0.80)
When a mail is sent i get the following error.
Virus scanner failure: Clamd - can't connect to daemon
My clamd is running
My clamd.conf looks like this
LogFile /tmp/clamd.log
LocalSocket /tmp/clamd
FixStaleSocket
MaxDirectoryRecursion 20
User amavis
Foreground
ScanOLE2
ScanArchive
ArchiveMaxFileSize 15M
ArchiveMaxRecursion 8
ArchiveMaxFiles 1500
ArchiveMaxCompressionRatio 300
My main.cf looks like this
content_filter = vscan:
soft_bounce = yes
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail3.sifycorp.com
mydomain = test.sifycorp.com
inet_interfaces = all
local_recipient_maps =
unknown_local_recipient_reject_code = 550
relay_domains = $mydestination
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
I have added the two lines in master.cf
Thanks and regards
Ramya Krishnan
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users