Re: Bug#233983: esmtp: support sendmail replacement MTA situations
On Sat, Feb 21, 2004 at 10:02:43AM +0000, José Fonseca wrote:
> On Fri, Feb 20, 2004 at 07:55:38PM -0800, Scott Robinson wrote:
> > I would like to run my local SMTP server (postfix) and use esmtp for
> > my personal account.
> > esmtp provides and replaces mail-transfer-agent, so it automatically
> > postfix.
> > Would it be possible to break the package int:
> > esmtp - Provides the base binary and setting.
> > esmtp-mta - Provides the sendmail replacement symlinks.
> In principle it should be possible to do that. Actually the usage
> pattern you describe above crossed my mind when I started the
> packaging, but the debian policy was quite clear regarding the
> "mail-transport-agent" provide/conflict (see
> and both then and now there is *no* MTA debian package that is
> packaged differently (even other relay mailers, such as ssmtp and
> nullmailer, all do the same).
My unofficial qmail packages do it this way.
> Perhaps a change in the debian policy is in order to allow multiple
> MTAs (e.g., by using alternatives to /usr/sbin/sendmail and friends),
> or does everybody agree that Scott suggestion above of spliting the
> package would be better?
I consider the package split as a good solution, and have already done
similar with imap-server, ftp-server, and *-log-daemon packages; see the
bincimap-run, twoftpd-run, and socklog-run packages respectively, and
the README.Debian files in these packages for the rationale if you want.
I would prefer *-run over *-mta though.
Open projects at http://smarden.org/pape/.