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.
Thread Tools Display Modes
Old 20th June 2011, 15: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


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
Old 21st June 2011, 09:46
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

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.
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
Old 21st June 2011, 11:36
balonik balonik is offline
Junior Member
Join Date: Jun 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

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 11:48.
Reply With Quote


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 13:51
Postfix SMTP Auth to Dovecot Not Working -- HELP! Scratchpad Server Operation 6 12th April 2011 14:29
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 10:32
Email Could not send and receive piseth Installation/Configuration 16 17th July 2010 19:27
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 18:57

All times are GMT +2. The time now is 05:26.

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