Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450508 - mail-mta/msmtp should install sendmail symlink into /usr/bin, not /usr/sbin
Summary: mail-mta/msmtp should install sendmail symlink into /usr/bin, not /usr/sbin
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-06 09:43 UTC by Olipro
Modified: 2013-01-08 11:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patches ebuild to install symlink to /usr/bin (mail-mta_msmtp-install-sendmail-in-usr_bin.patch,405 bytes, text/plain)
2013-01-06 09:43 UTC, Olipro
Details

Note You need to log in before you can comment on or make changes to this bug.
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.