Re: Scripting changing sending MTA

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

 



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/alternatives --config mta

Use the --set option rather than --config.  Something like:

    alternatives --set mta /usr/sbin/sendmail.postfix

Or, do as Jason suggested and simply remove the sendmail package and
ensure postfix is the only MTA installed.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sir, you are drunk!" "Well madam, I may be be drunk, but you are ugly;
the difference being I will be sober in the morning.
    -- Winston Churchill

Attachment: pgpWd8PNPLvP4.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux