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

Bug 450508

Summary: mail-mta/msmtp should install sendmail symlink into /usr/bin, not /usr/sbin
Product: Gentoo Linux Reporter: Olipro <olipro+gentoopub>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patches ebuild to install symlink to /usr/bin

Description Olipro 2013-01-06 09:43:08 UTC
Created attachment 334636 [details]
Patches ebuild to install symlink to /usr/bin

The mail-mta/msmtp ebuild does not install a symlink into /usr/bin if the mta useflag is set.

It does however install one to /usr/sbin but this is obviously useless to non-root users who typically do not have that directory in their PATH.

Given that ssmtp does not install the sendmail symlinks into /usr/sbin and instead favours /usr/bin - msmtp should do the same.
Comment 1 Eray Aslan gentoo-dev 2013-01-08 11:20:35 UTC
sendmail binary/symlink is typically installed under /usr/sbin.  Non-root users are supposed to use the mail command.  ssmtp was wrong to install a symlink under /usr/bin.