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 20th June 2011, 14:59
balonik balonik is offline
Junior Member
 
Join Date: Jun 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix - forward email to another server

Hi,

I am looking for a solution for following idea.

I have a mailserver with mydestination set to "one.example.com" and local mailboxes (no virtual) like user@one.example.com.

I need emails to one user "user1@one.example.com" not to be delivered to local mailbox, but to be forwarded as-it-is to another mail server.

For one server using transport table will be the easy solution, but I need to forward it to backupserver1 and if that is not available to backupserver2.

Using DNS MX entries is not really available, because for one.example.com is the mailserver defined.

Is this feasable by postfix itself ? maybe some smtp rewrite or another solution ?

thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2011, 08:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I'd use Postfix transports, maybe in conjunction with a load balancer for backupserver1 and backupserver2. You can then forward your mails to the load balancer which decides to which backupserver it will forward the mails.
__________________
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
  #3  
Old 21st June 2011, 10:36
balonik balonik is offline
Junior Member
 
Join Date: Jun 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

yes, thanks
load balancer is an option I am considering at the moment

however, I am not aware if there is an option to use transports with 2 destinations, or is it ?

EDIT: about the lb solution, it will probably require additional hw for it, I'm trying to keep the cost at low as possible, so I'm looking for an alternative, if theres any. thanks

Last edited by balonik; 21st June 2011 at 10:48.
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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Postfix SMTP Auth to Dovecot Not Working -- HELP! Scratchpad Server Operation 6 12th April 2011 13:29
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Email Could not send and receive piseth Installation/Configuration 16 17th July 2010 18:27
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57


All times are GMT +2. The time now is 09:35.


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