[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [desktop] Installation of mail server by default

On Sat, Mar 29, 2003 at 03:06:20PM +0100, Nicolas Kratz wrote:
> On Fri, Mar 28, 2003 at 10:56:17AM +0100, Thomas Viehmann wrote:
> > Andreas Metzler wrote:
> > > I kind of doubt that it is feasible writing an init-script that works
> > > for all MTAs. Take a look at the init-scripts for sendmail and exim4.
> > I think the key element is that the ?dm init-scripts check whether or not they
> > are the default and base the decision if they start anything or not on that.
> > Assuming that the daemons all provide /usr/sbin/sendmail, one could use the
> > alternative for /usr/bin/sendmail to check.
> Following the Principle of Least Astonishment, the alternatives system
> should not be used to make decisions on what daemons to start. I can
> also see corner cases where one MTA is supposed to start at boot, but
> another one has to provide the sendmail functionality.
> A file /etc/default-mail-transport-agent (or /etc/default-mta for short)
> could be created, similar to /etc/X11/default-display-manager, and used
> in exactly the same way.

I was thinking along this.

/etc/default/ is used by the many init scripts to put sourced
parameters.  So it should be /etc/default/default-mta

~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract

Attachment: pgp5sbRE7NbNm.pgp
Description: PGP signature

Reply to: