Need help setting up Postfix for a unique use case

Discussion in 'Server Operation' started by thecgmguy, Jun 11, 2008.

  1. thecgmguy

    thecgmguy New Member

    Hi Guys,

    Lemmie start by saying that I'm proficient with SMTP but completely clueless with postfix. Perhaps this is an easy thing to do.

    I have multiple domains:

    domaina.com
    domainb.com
    domainc.com

    I'd like to setup my centos box so that it's a backup MX gateway for domaina:

    Internet email addressed to [email protected] >> postfix gateway >> static route pointing to primary MX host for domaina.com.


    I'd like to setup the same centos box so that it hosts all inbound mail for domainb:

    Internet message for [email protected] >> postfix gateway >> stored locally

    I'd like to setup the same centos box so that it forwards all mail for domainc to an external address:

    Internet message for [email protected] >> postfix gateway >> redirects to [email protected]

    Is this possible? If so, how is this done? I have postfix installed with TLS support (as per falko's awesome perfect server setup). ISPConfig is NOT installed.

    Thanks!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Take a look here: http://www.howtoforge.com/postfix_backup_mx

    This thread might help: http://www.howtoforge.com/forums/showthread.php?t=2

    You can do this with Postfix transports. Take a look at
    Code:
    man 5 transport
     

Share This Page