Re: Using redhat-switch-mail-nox in a script?

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

 



hi Ben
comments below...
On Monday 22 November 2004 23:36, Benjamin J. Weiss wrote:
> Does anybody know how to switch from sendmail to postfix with a simple
> command instead of the user interface?  I tried
<snip>
> but nothting seems to work.  Any ideas?
Pete's right - the alternatives command i what you want.
rpm -Uvh postfix...rpm
cp files into place
( I assume you already haev your configs set up ready to go?)
/usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
/sbin/service sendmail stop
/sbin/service postfix start
/sbin/chkconfig sendmail off
/sbin/chkconfig postfix on
--
Stuart Sears RHCE RHCX
I came, I saw, I concurred.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux