I can't get amavis to compile with milter support. I have messed around with way too many files to remember it all :) Reproducible: Always Steps to Reproduce: 1.Installed sendmail 2.Installed clamav 3.Installed amavis
I get this error in ./configure of amavis : checking for libmilter/mfapi.h... yes checking for smfi_main in -lmilter... no configure: error: milter requested but not found
Saw this on the amavis.org website : sendmail * MILTER Interface There's a bug within libmilter of eary versions of sendmail 8.12.x. Please ensure you upgrade to the latest version (8.12.6 at time of writing) * If ./configure complains about "checking for smfi_main in -lmilter... no configure: error: milter requested but not found" although all required libs and header files are installed, your sendmail version has LDAP-support compiled in. So, simply use LDFLAGS="-lldap" ./configure --your switches * amavisd-snapshot-20020531 The milter interface is broken, apply the patch and change. * (amavisd-snapshot-20020220 and earlier) The socket for the mailer milter-amavis is /var/amavis/amavis-milter.sock, therefore it's Xmilter-amavis, S=local:/var/amavis/amavis-milter.sock, T=S:10m;R:10m;E:10m (README.milter is wrong here, but the m4 command mentioned in README.milter is correct) * (amavis-perl only) We suggest to use the socket name /var/amavis/amavis-milter.sock (and not /var/amavis/amavis.sock as mentioned in README.milter) to be consistent with amavisd and to avoid confusion :-) * amavis-milter runs as root. Is this really needed? Well, it seems not. amavis-milter seems to work quite well if it's running i.e. as user amavis (please see the "Running amavis-milter as non-root user" thread for details)
I also get this error now... * Adding user 'amavis' to your system ... /usr/sbin/ebuild.sh: line 400: [: missing `]' uid=10025(amavis) gid=10025(amavis) groups=10025(amavis) * amavis already exists on your system :)
still reproduceable?
Don't know - switched to clamav :)
somebody has to test it ;D
compiling fine here