Archive

Posts Tagged ‘Sendmail’

Sendmail and Postfix on the same server

January 13th, 2009 No comments

Recently I needed sendmail and sendmail-devel to compile some software, but when I installed Sendmail, it decided to make itself my preferred MTA – and I suddenly got the same feeling of powerlessness that accompany running Microsoft Windows.

Newer Linux distributions offer the Alternatives system, which basically lets you choose between different installed software that serve the same purpose. If you’re running Sendmail and Postfix like me, you can use Alternatives to pick which MTA you prefer to use:

$ /usr/sbin/alternatives

1
--

config mta

There are 2 programs which provide ‘mta’.

Selection Command

1
-----------------------------------------------

* 1 /usr/sbin/sendmail.sendmail
+ 2 /usr/sbin/sendmail.postfix

Enter to keep the current selection[+], or type selection number: 2