Re: How to detect if Sendmail/Postfix/Qmail is installed
Hi, correct me if I am wrong...
On Mon, Feb 24, 2003 at 03:37:25PM -0800, John H. Robinson, IV wrote:
> Brian M. Carlson wrote:
> > On Fri, Feb 21, 2003 at 09:41:18AM +0100, Xavier Roche wrote:
> > > > In this case, should the package just document what the use
> > > > should do (it will be different for each MTA) or at least
> > > > detect which MTA is installed and copy an example config file
> > >
> > > Ensure that the depends: field in control has something like
^^^^^^^^^^^^^^^
> > > Depends: (sendmail | qmail | postfix)
There are nullmailer and ssmtp
> > It would be even better if you could make it work with a generic
> > mail-transport-agent.
Yes :-) Something along (exim | mail-transport-agent)
^^^^^^^^^^^^^^^^^^^^^
> to throw even more monkeywrenches in the gearbox, some people may have
> compiled an MTA outside of the packaging system, and be using qmail/
> sendmail/postfix (the uspported MTA's) but not have it registered with
> apt/dpkg at all.
What? Why this needs to be supported in "depends:" field.
This is user issue. Use "equives" to fake it or build a local package with
"Provide: mail-transport-agent" in terms of dependancies.
> it is at your discretion to not support such a setup, of course.
Package should not do funky thing for dependancies, I thought.
Osamu
--
~\^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
Reply to: