Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289973 - mail-mta/ssmtp doesn't provide MTA optionally
Summary: mail-mta/ssmtp doesn't provide MTA optionally
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 09:17 UTC by Matus UHLAR - fantomas
Modified: 2012-05-25 16:50 UTC (History)
1 user (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 Matus UHLAR - fantomas 2009-10-21 09:17:37 UTC
We use ssmtp in addition to other (real) MTA. Please allow installing SSMTP without support for MTA so it wouldn't conflict with one.

I prefer mailwrapper support but since it was removed, this is the only way to have SSMTP installed with a real MTA.
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2009-11-27 14:44:08 UTC
This would result in several file blockers. Marking this one as WONTFIX.
Comment 2 Matus UHLAR - fantomas 2009-11-27 15:20:12 UTC
What file blockers?
There would be no difference if "mta" would be the default and provide files like /usr/sbin/sendmail and /usr/lib/sendmail. the "-mta" would not provide them not anything that would block.
I am asking to remove all "file blockers" if mta is not required.
Comment 3 Matus UHLAR - fantomas 2010-08-10 14:54:38 UTC
simply skip this part in src_install and we will have no file blockers:

        dosym ../sbin/ssmtp /usr/lib/sendmail || die
        dosym ../sbin/ssmtp /usr/bin/sendmail || die
        dosym ssmtp /usr/sbin/sendmail || die
        dosym ../sbin/ssmtp /usr/bin/mailq || die
        dosym ../sbin/ssmtp /usr/bin/newaliases || die

we won't need conflist with virtual/mailwrapper nor virtual/mta this way.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-22 16:00:37 UTC
Working on it.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-22 16:18:24 UTC
Okay added with version 2.64-r2. Unfortunately not all the MTA allows installing them side-by-side simply because they don't support a modern enough EAPI. See bug #364493. So depending on what else you wanted to use on the same system your problem could be fixed entirely or only half-fixed.
Comment 6 Alexander Meisel 2012-05-25 11:51:43 UTC
With this new use flag (mta) not being there by default (at least on my system) ... ssmtp will get replaced with courier (the next in the list providing mail services) ... only a entry in /etc/portage/package.use -> mail-mta/ssmtp mta fixes that. This behavior looks broken to me, because I (and probably many others) don't want to full blown MTA on most systems ... and adding this line in package.use on every single system I currently update should NOT be the default solution!
Comment 7 Matus UHLAR - fantomas 2012-05-25 16:50:02 UTC
The admin must always decide which MTA should be used and install it.
ssmtp can be used without MTA functionalities and installing ssmtp should imho not cause conflicts with MTAs with the default USE flags