Comment 4 for bug 141641

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thanks for the hint, Jeff. I have now run

sudo apt-get install ssmtp

and postfix got smoothly replaced by ssmtp, without lsb or any package from OpenPrinting being uninstalled. Having a look at the files contained in ssmtp with

dpkg -L ssmtp

shows that there is no daemon (No file in /etc/init.d/).

Now the only problem is that we must make the use of ssmtp automatic, so that postfix does not get installed when a user tries to install an LSB package, especially a manufacturer-supplied printer driver.

First, ssmtp needs top be moved into main, a MIR (Main Inclusion Request) needs to be posted. In addition it needs to be added to the CDs, but it is very small:

till@till-laptop:~/printing/openprinting/website$ dpkg -p ssmtp | grep -i size
Installed-Size: 8
Size: 54436
till@till-laptop:~/printing/openprinting/website$ ls -l /var/cache/apt/archives/ssmtp_2.62-3ubuntu1_amd64.deb
-rw-r--r-- 1 root root 54436 2009-05-04 23:07 /var/cache/apt/archives/ssmtp_2.62-3ubuntu1_amd64.deb
till@till-laptop:~/printing/openprinting/website$

Perhaps one can even remove postfix from the desktop CDs (if it is there).

As a next step a prioritization needs to be done, so that the virtual package mail-transport-agent pulls ssmtp by default.