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

From: Benjamin J. Weiss (benjamin_at_Weiss.name)
Date: 11/23/04

  • Next message: Ed Wilts: "Re: Using redhat-switch-mail-nox in a script?"
    Date: Mon, 22 Nov 2004 17:36:45 -0600 (CST)
    To: Redhat List <redhat-list@redhat.com>
    
    

    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

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

  • Next message: Ed Wilts: "Re: Using redhat-switch-mail-nox in a script?"

    Relevant Pages

    • RE: java on RH AS 3.0?
      ... same program names) and switch between them without uninstalling either. ... Its most common use is to switch between sendmail and postfix, ... is done using a series of 'slave' links which are automtically switched ...
      (RedHat)
    • Re: How to replace sendmail with postfix?
      ... Currently I am using sendmail with authentication, ... Many people move to postfix because they had ... I personally have a more simple reason. ... I don't see a point why should switch. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Using redhat-switch-mail-nox in a script?
      ... > Does anybody know how to switch from sendmail to postfix with a simple ... Pete's right - the alternatives command i what you want. ...
      (RedHat)
    • Re: Weird sendmail alias setting, perhaps a hack?
      ... >>switch to a more manageable MTA. ... I managed Sendmail for several years. ... the same config file had ... we were already running Postfix on the first of the new ...
      (comp.os.linux.misc)
    • Re: Mail server setup
      ... Scan mail for spam (using spamd). ... >switch to LDAP. ... >So far I only skimmed through Postfix and Exim docs and it's somewhat not ...
      (Debian-User)