I installed amavisd-new with the follwing otions: mail-filter/amavisd-new-2.3.3-r1 +ldap +milter +mysql +postgres When i start amavisd-new from the init file only /usr/sbin/amavisd gets started (after correcting some permissions in /var/amavis - another bug was already filed), but not the /usr/sbin/amavis-milter required for interacting with sendmail-milter Reproducible: Always Steps to Reproduce: 1./etc/init.d/amavisd start 2.ps ax | grep amavis-milter | grep -v grep 3. Expected Results: /usr/sbin/amavis-milter sould run to let sendmail check mails via milter interface # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 Pentium II (Deschutes) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://portage/gentoo-portage" USE="alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode ethereal foomaticdb fortran gd gdbm gif gpm gstreamer hardened imagemagick imap imlib innodb ipv6 jpeg ldap libg++ libwww mad mikmod milter mmx motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl php pic pie png pnp postgres python quicktime readline ruby samba sasl sdl smpgsql snmp spell ssl svga tcpd tetex threads tiff truetype truetype-fonts trusted type1-fonts unicode vhost vhosts vorbis wmf x86 xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Having never used sendmail, I'm not really sure, but you may need to uncomment and edit few lines in /etc/amavisd.conf (look around line 130 in that file). Andrea, do you have some insight into this?
I tried some options, but the /usr/sbin/amavis-milter is not running. I would recommend some setup similar to app-antivirus/clamav with the files /etc/conf.d/clamd /etc/init.d/clamd /etc/clamd.conf but this is just a suggestion. If somebody needs some thing to tested feel free to contact me, and i'll test and provide a report.
Yes, the initscript could use some tweaking. I'll look into it tonight, hopefully.
probably a better solution: an own ebuild for amavisd-milter, taking the source from http://sourceforge.net/projects/amavisd-milter/
That would be nice, except it would need to be maintained by someone with sendmail knowledge/testing capabilities. net-mail: anyone like that here?
Looks like noone is interested still. :/
3 year pass still no luck:( Fixed ebuild version (with amavis-milter script) (also fixes #263180) available at my overlay at http://code.google.com/p/barzog-gentoo-overlay/ amavisd-milter filled as #318853 (also in my overlay)
amavisd-milter is in the tree and amavisd-new is dropping the milter support. Please reopen if there is still a problem. Thanks.