Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109132 - /etc/init.d/amavisd doesn't start /usr/sbin/amavis-milter required for sendmail milter
Summary: /etc/init.d/amavisd doesn't start /usr/sbin/amavis-milter required for sendma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 06:37 UTC by Thomas Beutin
Modified: 2011-05-06 20:14 UTC (History)
1 user (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 Thomas Beutin 2005-10-13 06:37:37 UTC
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
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-10-13 08:07:35 UTC
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?
Comment 2 Thomas Beutin 2005-10-16 08:17:27 UTC
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.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-10-16 09:52:05 UTC
Yes, the initscript could use some tweaking. I'll look into it tonight, hopefully.
Comment 4 Thomas Beutin 2006-06-13 09:30:15 UTC
probably a better solution: an own ebuild for amavisd-milter, taking the source from http://sourceforge.net/projects/amavisd-milter/
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2006-06-13 22:18:49 UTC
That would be nice, except it would need to be maintained by someone with sendmail knowledge/testing capabilities.

net-mail: anyone like that here?
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2007-08-31 17:17:05 UTC
Looks like noone is interested still. :/
Comment 7 Oleg Gawriloff 2010-05-07 11:03:01 UTC
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)
Comment 8 Eray Aslan gentoo-dev 2011-05-06 20:14:40 UTC
amavisd-milter is in the tree and amavisd-new is dropping the milter support.  Please reopen if there is still a problem.  Thanks.