Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 167791

Summary: mail-mta/sendmail w/ USE=mailwrapper misses important links and is unusable
Product: Gentoo Linux Reporter: David Sparks <davidsparks>
Component: New packagesAssignee: Andrea Barisani (RETIRED) <lcars>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Sparks 2007-02-20 20:32:15 UTC
emerging sendmail with mailwrapper support gives a non-functional sendmail.

Looking at the ebuild there is an obvious problem:

 rm ${D}/usr/bin/mailq
 rm ${D}/usr/bin/newaliases

mailwrapper does not re-create these links so there is no way to use sendmail.


Reproducible: Always




mail-mta/sendmail-8.13.7-r1
net-mail/mailwrapper-0.2.1
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2007-02-21 10:27:23 UTC
This bug is invalid. We remove mailq and newaliases symbolic links intentionally for having a working and non-conflicting mailwrapper.

Check your /etc/mail/mailer.conf configuration. You should change it accordingly (there's a commented example) with something like this:

# Execute the "real" sendmail program, named /usr/sbin/sendmail
#
sendmail        /usr/sbin/sendmail.sendmail
send-mail       /usr/sbin/sendmail.sendmail
mailq           /usr/sbin/sendmail.sendmail
newaliases      /usr/sbin/sendmail.sendmail
hoststat        /usr/sbin/sendmail.sendmail
purgestat       /usr/sbin/sendmail.sendmail