Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th June 2008, 01:21
thecgmguy thecgmguy is offline
Junior Member
 
Join Date: Aug 2006
Location: Hollister, CA
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need help setting up Postfix for a unique use case

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 user@domaina.com >> 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 user@domainb.com >> 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 user@domainc.com >> postfix gateway >> redirects to someexternaladdressoutonthenet@somedomain.com

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!
Reply With Quote
Sponsored Links
  #2  
Old 11th June 2008, 14:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by thecgmguy View Post
I'd like to setup my centos box so that it's a backup MX gateway for domaina:

Internet email addressed to user@domaina.com >> postfix gateway >> static route pointing to primary MX host for domaina.com.
Take a look here: http://www.howtoforge.com/postfix_backup_mx

Quote:
Originally Posted by thecgmguy View Post
I'd like to setup the same centos box so that it hosts all inbound mail for domainb:

Internet message for user@domainb.com >> postfix gateway >> stored locally
This thread might help: http://www.howtoforge.com/forums/showthread.php?t=2

Quote:
Originally Posted by thecgmguy View Post
I'd like to setup the same centos box so that it forwards all mail for domainc to an external address:

Internet message for user@domainc.com >> postfix gateway >> redirects to someexternaladdressoutonthenet@somedomain.com
You can do this with Postfix transports. Take a look at
Code:
man 5 transport
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile error/ndiswrapper error Droogie Kernel Questions 1 28th April 2008 22:38
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Help. Apache don't start payne Server Operation 3 17th August 2007 16:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 19:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.