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

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

 



On November 22, 2004 03:36 pm, Benjamin J. Weiss wrote:
> I'm trying to write a script that'll set up an email server automatically.
> I want to switch from sendmail to postfix on RHEL-3, but I can't seem to
> find any command-line switches for redhat-switch-mail-nox
>
> Does anybody know how to switch from sendmail to postfix with a simple
> command instead of the user interface?  I tried
>
> redhat-switch-mail-nox postfix
> redhat-switch-mail-nox -postfix
>
> but nothting seems to work.  Any ideas?
>
> Thanks!
>
> Ben


Hi Ben,
I think your after the 'alternatives' command. It manages the links for 
printing and for email systems. You can actually use the same commands, so no 
need to update all your scripts that may refer to sendmail (or postfix).

hope that helps.
-- 
Pete Nesbitt, rhce

-- 
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