| Summary: | Can't get milter support in amavis | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pieter De Wit <pieter> |
| Component: | [OLD] Server | Assignee: | Net-Mail Packages <net-mail+disabled> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | lanius, prez |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Pieter De Wit
2003-06-24 10:06:26 UTC
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 |