Here are some notes to get amavisd+clamav+postfix working. (I accept updates [preferable diff -u] to domen@coderock.org) ARC wget http://www.btoy1.net/users/ftp/pub/unix/ELF/arc521e.tar.bz2 tar xvjf arc521e.tar.bz2 cd arc521e make cp arc marc /usr/local/bin/ UNRAR wget http://freshmeat.net/redir/unrar/10960/url_tgz/unrarsrc-3.3.4.tar.gz tar xvzf unrarsrc-3.3.4.tar.gz cd unrar make -f makefile.unix cp unrar /usr/local/bin/ CLAMAV wget http://www3.linuxpackages.net/Slackware-9.1/pcxz/clamav/clamav-0.70-i686-1.tgz groupadd -g 125 clamav useradd -u 125 -g 125 -d / -s /bin/bash clamav installpkg clamav-0.67-i686-1.tgz touch /var/run/clamd.pid chown clamav.clamav /var/run/clamd.pid in /etc/clam... change settings from socket to tcp AMAVIS wget http://www.amavis.org/dist/perl/amavisd-0.1.tar.gz tar xvzf amavisd-0.1.tar.gz perl -MCPAN -e shell # a whole bunch of modules from readme cd amavisd-0.1/ ./configure --enable-postfix --with-amavisuser clamav make cp amavis/amavisd.conf /etc/ make install chown clamav.clamav /var/amavis/ chown clamav.clamav /var/virusmails * add to /etc/postfix/main.cf: content_filter = vscan: * add to /etc/postfix/master.cf: vscan unix - n n - 10 pipe user=clamav argv=/usr/sbin/amavis ${sender} ${recipient} localhost:10025 inet n - n - - smtpd -o content_filter= restart all mail shit: killall clamd killall amavisd postfix stop clamd su - clamav -c /usr/sbin/amavisd postfix start