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

Re: replacing MTA



>>>>> "nathan" == Nathan E Norman <finn@midco.net> writes:

    nathan> In other words, simply using 'dpkg -i' or 'dpkg -r' is
    nathan> problematic, since the MTA is essential.

here is a simple (and *dirty*) method, but it sort of works for
light-duty machines: example on how i approximately did a few
switchings from smail to exim, once-upon-a-time:

1) to make sure that no mails are in the queue anymore:

   $ runq
   $ mailq

2) disallow smtp connection:

   <plug out the cable :>

3) force remove the old MTA:

   $ dpkg --purge --force-depends smail

4) install the new one:

   $ dpkg --install exim_*.deb 

5) allow smtp connections 

   <plug in the cable :>

6) tune some software if needed (listmanagers, etc).

...and there you have it.  beware, it's quite a *dirty* method! :-))
-- 
tibor.simko@aleph.dpp.fmph.uniba.sk





--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: