Re: Scripting changing sending MTA

2010-12-15 Thread Robert Moskowitz
On 12/15/2010 09:05 AM, Todd Zullinger wrote: > Robert Moskowitz wrote: > >> In the Postfix install documentation I found that I need to do the >> following: >> >> /usr/sbin/alternatives --config mta >> >> And select '2' to switch to Postfix. >> >> Is there a way to put this into an install scr

Re: Scripting changing sending MTA

2010-12-15 Thread Todd Zullinger
Robert Moskowitz wrote: > In the Postfix install documentation I found that I need to do the > following: > > /usr/sbin/alternatives --config mta > > And select '2' to switch to Postfix. > > Is there a way to put this into an install script? > > Something simple like: > > echo 2| /usr/sbin/alternat

Re: Scripting changing sending MTA

2010-12-14 Thread Jason Brown
You could just script the removal of Sendmail, that should leave Postfix as the default MTA. Jason On Dec 14, 2010, at 4:24 PM, Robert Moskowitz wrote: > On 12/14/2010 02:27 PM, Tom Horsley wrote: >> On Tue, 14 Dec 2010 14:16:52 -0500 >> Robert Moskowitz wrote: >> >> >>> And select '2' to s

Re: Scripting changing sending MTA

2010-12-14 Thread Robert Moskowitz
On 12/14/2010 02:27 PM, Tom Horsley wrote: > On Tue, 14 Dec 2010 14:16:52 -0500 > Robert Moskowitz wrote: > > >> And select '2' to switch to Postfix. >> > The number '2' may vary depending on the number of different > MTA rpms installed on the system. (I don't know how to > automate it).

Re: Scripting changing sending MTA

2010-12-14 Thread Tom Horsley
On Tue, 14 Dec 2010 14:16:52 -0500 Robert Moskowitz wrote: > And select '2' to switch to Postfix. The number '2' may vary depending on the number of different MTA rpms installed on the system. (I don't know how to automate it). -- users mailing list users@lists.fedoraproject.org To unsubscribe o

Scripting changing sending MTA

2010-12-14 Thread Robert Moskowitz
In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to put this into an install script? Something simple like: echo 2| /usr/sbin/alternatives --config mta ??? -- users maili