On Saturday 21 October 2006 10:24, Christian Rueger wrote: > what your problem? > it so easy > > postfix main.cf: > smtpd_milters = unix:/clamav/milter > > postfix work in chroot /var/spool/postfix > > clamav-milter fake sendmail.mc: > INPUT_MAIL_FILTER(‘clmilter’,‘S=unix:/var/spool/postfix/clamav/milter, > F=, T=S:4m;R:4m’)dnl > define(‘confINPUT_MAIL_FILTERS’, ‘clmilter’) > > runit run-file: > umask 007 > exec 2>&1 > exec clamav-milter -A -N -m10 -q \ > --sendmail-cf=/etc/clamav-milter/sendmail.mc \ > -c /etc/clamd/clamd.conf unix:/var/spool/postfix/clamav/milter > > permissions for the directory/files should be: > ls -la /var/spool/postfix/clamav/ > drwxr-x--- 2 _clamav _postfix 512 Oct 18 10:12 ./ > drwxr-xr-x 19 root wheel 512 Aug 26 10:46 ../ > srwxrwxrwx 1 _clamav _postfix 0 Oct 18 10:12 clamd= > srwxrwx--- 1 _clamav _postfix 0 Oct 18 10:12 milter= > > user _clamav run's clamd, freshclam and clamav-milter > postfix need write permission to the socket (user _postfix and umask 007 > in run-file) > > this works on openbsd > read postfix's MILTER_README and clamAV's clamdoc.pdf
All you did was copy this from a site. I have seen it all ready. I understand the postfix 'main.cf' entry. I also stated that I was employing FreeBSD. I doubt that the configuration for OpenBSD is compatible. -- Gerard
pgp8NX6QmfrSG.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html