Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357683 - Setting a default MTA in make.conf via a variable, like the PHP_TARGETS
Summary: Setting a default MTA in make.conf via a variable, like the PHP_TARGETS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 18:31 UTC by MrSnivvel
Modified: 2011-03-07 22:22 UTC (History)
5 users (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 MrSnivvel 2011-03-06 18:31:17 UTC
All for the setting of a default MTA in make.conf so that a system can be built/configured with that MTA instead of pulling out mail-mta/ssmtp and then loading up the preferred one.

Example would be:

SMTP_MTA="postfix"  where the other options could be [ssmtp, qmail, exim, etc.]

This would be especially nice for those who have multiple systems to setup where copying over the make.conf to a new system is done, or allowing for scripting to be done to build a make.conf.

This would be extremely useful for those, like myself, who prefer using a full MTA on system, even when the system blocks all incoming connections, for the ability to queue messages and have a consistent infrastructure.

If the option is not set in make.conf, then the fallback option should be to use the default mail-mta/ssmtp

Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-03-07 18:38:18 UTC
This is an old style virtual:

grep virtual/mail /usr/portage/profiles/base/virtuals
virtual/mta                             mail-mta/ssmtp

I believe one should define what mail server to use by installing it and not by a var in /etc/make.conf.
In any case, I've CC'ed many (most?) of the teams and developers that work on mail-mta packages so they can express their opinion.
Comment 2 Eray Aslan gentoo-dev 2011-03-07 19:31:50 UTC
(In reply to comment #1)
> I believe one should define what mail server to use by installing it and not by
> a var in /etc/make.conf.

Agreed.  My vote is to close as wontfix/invalid.
Comment 3 MrSnivvel 2011-03-07 20:09:40 UTC
(In reply to comment #1)
> This is an old style virtual:
> 
> grep virtual/mail /usr/portage/profiles/base/virtuals
> virtual/mta                             mail-mta/ssmtp
> 
> I believe one should define what mail server to use by installing it and not by
> a var in /etc/make.conf.
> In any case, I've CC'ed many (most?) of the teams and developers that work on
> mail-mta packages so they can express their opinion.


2 points of clarification.  First, is coming from a multi-system install where the boxes are either identical or close enough that copying over key config files can be done to speed up the process.  Second, if an MTA should be up to the user, then don't force a weaker one to be installed, in this case: ssmtp.

So either: Have the variable with a fallback if undefined, or don't have the system define an MTA at all without the variable option.
Comment 4 SpanKY gentoo-dev 2011-03-07 22:22:54 UTC
no one is forcing anyone to use any specific mta.  a *default* must be picked, and ssmtp makes the most sense.  if you dont like that *default*, then emerge something else.