Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23389 - Can't get milter support in amavis
Summary: Can't get milter support in amavis
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 10:06 UTC by Pieter De Wit
Modified: 2003-10-25 06:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter De Wit 2003-06-24 10:06:26 UTC
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
Comment 1 Pieter De Wit 2003-06-24 11:06:38 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
Comment 2 Pieter De Wit 2003-06-24 22:34:26 UTC
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)
Comment 3 Pieter De Wit 2003-06-30 00:00:05 UTC
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 :)

Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-19 10:27:28 UTC
still reproduceable?
Comment 5 Pieter De Wit 2003-10-24 05:32:30 UTC
Don't know - switched to clamav :)
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-25 05:55:50 UTC
somebody has to test it ;D
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-25 06:19:45 UTC
compiling fine here