On Mon, 30 Mar 2009 10:39:17 +0200 Jarosław Kustosik <jkusto...@tbd.lodz.pl> wrote:
> Hi everybody! > > Today, I've made an upgrade to version 0.95. After that I've made a > neccessary configuration changes to clamd and clamav-milter conf files. > > Both services starting corectly: > > > r...@sunrise:/usr/local/src/clamav-0.94.2# ps aux | grep clam > clamav 18242 0.0 6.6 71320 68488 ? Ss 09:28 0:00 > /usr/local/sbin/clamd > clamav 18248 0.4 6.2 108524 64916 ? Ssl 09:28 0:09 > /usr/local/sbin/clamav-milter -c /etc/clamav-milter.conf > clamav 18264 0.0 0.0 3204 856 ? Ss 09:28 0:00 > /usr/local/bin/freshclam -d -c 2 > root 23752 0.0 0.0 2004 652 pts/1 S+ 10:07 0:00 grep clam > > ClamdTOP shows properly working clamd daemon on socket - > /var/spool/postfix/clamav/clamd.socket > > but when postfix sends mail to clamav-milter clamav-milter issues errors: > > ERROR: Timed out while reading clamd reply > WARNING: No clamd servers appears to be available > ERROR: Failed to initiate streaming/fdpassing > > and users get an error message: > > 4.7.1. Service temporally unavailable > > Below there are connection parts of my clamd.conf and clamav-milter.conf > files: > > r...@sunrise:/usr/local/src/clamav-0.94.2# more /etc/clamd.conf > LocalSocket /var/spool/postfix/clamav/clamd.socket > FixStaleSocket yes > #TCPSocket 3310 > TCPAddr 127.0.0.1 > #MaxConnectionQueueLength 30 > StreamMaxLength 20M > #StreamMinPort 30000 > #StreamMaxPort 32000 > #MaxThreads 20 > #ReadTimeout 300 > #IdleTimeout 60 > #MaxDirectoryRecursion 20 > #FollowDirectorySymlinks yes > #FollowFileSymlinks yes > #SelfCheck 600 > User clamav > > r...@sunrise:/usr/local/src/clamav-0.94.2# more /etc/clamav-milter.conf > MilterSocket /var/spool/postfix/clamav/clamav-milter > #FixStaleSocket yes > User clamav > #AllowSupplementaryGroups no > ReadTimeout 0 > #Foreground yes > #Chroot /newroot > PidFile /var/run/clamav/clamavmilter.pid > #TemporaryDirectory /var/tmp > ClamdSocket unix:/var/spool/postfix/clamav/clamd.socket > #ClamdSocket tcp:127.0.0.1:3310 > > > Best regards > - Jarek Kustosik > > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml If built from source, and not otherwise configured, I think the config files should be in /usr/local/etc, not /etc. hth, Steve -- Steve Holdoway <st...@greengecko.co.nz> _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml