On 2018-07-21, Alan Mackenzie <a...@muc.de> wrote: > What has happened is that somebody decided to add virtual/mta-1 > surreptitiously to the default software set in Gentoo. This > installs something called nullmailer, which I don't need, didn't ask > for, and fouls up my mail transmission. > > nullmailer installs a file /usr/sbin/sendmail. This masks out the > correct /usr/bin/sendmail (which is a symbolic link to s/qmail, > which I installed by hand, not using emerge) because /usr/sbin is > before /usr/bin in $PATH.
Manually installing things in /usr/bin or /usr/sbin will often cause problems because Portage assumes that it controls those directories. So don't do that: you should manually install things in /usr/local. Or, install qmail using portage, so that the system knows you have an MTA. If you don't like the default qmail ebuild for some reason, you can use your own. Or, tell Portage you have an MTA by adding an appropriate line to /etc/portage/profie/package.provided. See portage(5). Or, don't use Gentoo if you don't want to do things the way Gentoo does things. > Is this worth a bug report? No. It's not a bug its a user error. There are a half-dozen different ways to do the right thing, but you chose the wrong thing. -- Grant