Which MTA is installed on a given machine?

Hal Burgiss hal at burgiss.net
Mon Nov 16 00:36:22 UTC 2009


On Sun, Nov 15, 2009 at 06:12:00PM -0500, stan wrote:
> I have several Ubuntu machines at work. They are all relatively current as
> far as updates. We are making some changes in our domain, and I need to
> reconfigure the MTA on these machiens. How can I figure out which of the
> several possible MTA's are installed on each amchine?

I would think they'd all have a binary named 'sendmail'. Under that
assumption:

 dpkg --search `which sendmail`
 
> Once I know that, it;s just dpkg-reconfigure <pakcage name> to reconfigure
> tor fowarding, domain name chabges etc. right?

Probably, but I don't recall the level of detail that gives you. With postifx
its fairly straightforward to edit /etc/postfix/main.cf. More convoluted than
that with the package named Sendmail. The other's I don't know.

-- 
Hal




More information about the ubuntu-users mailing list