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

Re: default MTA for sarge

Sebastian Kapfer <sebastian_kapfer@web.de> wrote:
> Another random idea from my misguided brain: Maybe there should be
> separate exim packages: exim4-local (which is the MTA automatically
> installed by dependencies) and exim4 (which a sysadmin in need of an MTA
> would install). The two could share the binaries and only provide
> different maintainer scripts.

The current packages would support this, it would be no problem to
simply add a exim4-config-localonly that Provides: exim4-config which
looks like this:
Absolutely no debconf-questions
Minimal contents:
- /etc/exim4/config-localonly (dpkg-conffile), which contains a
  stripped down config that only accepts mail for localhost and
  /etc/mailname and only does simple straightforward delivery
  evaluating /etc/aliases. No support for remote-delivery, procmail,
  maildir, SMTP-auth, ...
- /usr/sbin/update-exim4.conf that just copies
  /etc/exim4/config-localonly to /var/lib/exim4/config.autogenerated

But I do not think using exim for this is the right thing to do, if we
want a default MTA which does not ask any debconf-questions [1] and
only does local delivery (reportbug can do remote-deliveries itself)
evaluating /etc/aliases, somebody fluent in perl should be able to
write a /usr/sbin/sendmail which does that in less than 100 loc.
                    cu andreas
[1] Steve Greenland in <[🔎] 20030713142614.GA23042@molehole.dyndns.org>
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_

Reply to: