Just upgraded from exim-4.54 to exim-4.60-r1 here, and noticed that the /etc/mail/mailwrapper file removed the entries for send-mail and mail. The first one seems to be necessary by /bin/mail, which caused many of my scripts to fail with an error like this: mailwrapper: no mapping in /etc/mail/mailer.conf Can't send mail: sendmail process failed with error code 1 I have no clue whether this was/is intentional or not, but mail-client/mailx-8.1.2.20040524-r1 seems to be incompatible with it.
could you please post the output of emerge info. do you have 'mailwrapper' in your USE variable?
(hermes:~) # emerge --info Portage 2.1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-orakel-gentoo-r7 i686) ================================================================= System uname: 2.6.16-orakel-gentoo-r7 i686 Pentium III (Katmai) Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.19, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://portage.orakel.ods.org/gentoo-portage" USE="x86 berkdb cli crypt dri emboss gdbm gif gpm imlib ipv6 isdnlog jpeg libwww maildir ncurses nls pam pcre pdflib perl png pppd python readline reflection session spell spl ssl tcpd truetype xml2 xorg zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY (hermes:~) # emerge -pv exim These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] mail-mta/exim-4.60-r1 USE="exiscan-acl ipv6 lmtp mailwrapper pam perl ssl tcpd -X -dnsdb -exiscan -gnutls -ldap -mbx -mysql -nis -postgres -sasl -spf -sqlite -srs -syslog" 0 kB Total size of downloads: 0 kB
Please fix this already. Just add send-mail to the installed mailer.conf and be done with it. It's not a high risk proposition.
Seeing as you ask so nicely.... (with thanks to g2boojum for the help), it's now in cvs.
Sorry. This one caused a surprising amount of trouble for me in production, and I got upset. I lost sight of the fact that ebuild maintainers are volunteers.
can the bug be closed/fixed then?
if the new mailer.conf works for you, then yes :)
20 Dec 2006; Colin Morey <peitolm@gentoo.org> files/mailer.conf: adding fixes for 128105 (adding 3 lines to mailer.conf)
*** Bug 103543 has been marked as a duplicate of this bug. ***