sSMTP and other MTAs
Hi.
I was asked to modify sSMTP package so that we can sSMTP and another MTA
can coexist (someone would like to install both sSMTP and Exim).
Basically, it is not a bad idea because sSMTP just gets mail off the
system and is not a daemon, so it does not really conflict, except because
it provides a /usr/sbin/sendmail link.
I don't know what is the best way to do that. I see two solutions:
- split it into two packages. ssmtp and ssmtp-sendmail: ssmtp would
contain the executables and the configuration, and ssmtp-sendmail would
provide the /usr/sbin/sendmail and /usr/lib/sendmail symlinks,
conflicting with other MTAS.
- use alternatives. It would be a nice way to do this, but I haven't found
the answer to this question: if I use update-alternatives to create the
sendmail symlinks and if ssmtp does not conflict with other MTAs anymore,
what happens when a MTA is being installed? Are the alternatives removed
or is dpkg unable to replace the file?
Thanks.
Regards,
Hugo.
--
Hugo Haas <Hugo.Haas@via.ecp.fr> <http://www.via.ecp.fr/~hugo/>
PGP2 key id 0x8a5af90d, fingerprint 45AB 8D24 B3E4 C9DD E85C 25C8 DB0B BFA3
--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: