Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128105 - Exim 4.60-r1 installs a mailwrapper file that lacks send-mail
Summary: Exim 4.60-r1 installs a mailwrapper file that lacks send-mail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords:
: 103543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-30 06:26 UTC by Fabian Groffen
Modified: 2007-01-11 17:45 UTC (History)
4 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 Fabian Groffen gentoo-dev 2006-03-30 06:26:58 UTC
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.
Comment 1 Colin Morey (RETIRED) gentoo-dev 2006-06-12 12:10:28 UTC
could you please post the output of emerge info.
do you have 'mailwrapper' in your USE variable?
Comment 2 Fabian Groffen gentoo-dev 2006-06-14 11:00:13 UTC
(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
Comment 3 Sheldon Hearn 2006-12-20 07:07:56 UTC
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.
Comment 4 Colin Morey (RETIRED) gentoo-dev 2006-12-20 13:30:28 UTC
Seeing as you ask so nicely....

(with thanks to g2boojum for the help), it's now in cvs.
Comment 5 Sheldon Hearn 2006-12-20 13:33:12 UTC
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.
Comment 6 Fabian Groffen gentoo-dev 2006-12-20 13:40:52 UTC
can the bug be closed/fixed then?
Comment 7 Colin Morey (RETIRED) gentoo-dev 2006-12-20 14:51:48 UTC
if the new mailer.conf works for you, then yes :)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 17:44:26 UTC
 20 Dec 2006; Colin Morey <peitolm@gentoo.org> files/mailer.conf:
  adding fixes for 128105 (adding 3 lines to mailer.conf)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 17:45:51 UTC
*** Bug 103543 has been marked as a duplicate of this bug. ***