LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2011, 01:25 PM   #1
dexznrl
Member
 
Registered: Jul 2009
Posts: 36

Rep: Reputation: 0
SMTP proxy (or something)


Hello all,

I'm looking for a smtp solution that will split all incoming emails and send them to two different servers.

On mail server 1 I have test@example.com
Om mail server 2 (different location than mail server 1) I also have test@example.com

MX-record for example.com should point to mail server 3.
Of course there will be a mail server 4 that will do the same as mail server 3.

Mail server 3 will receive all incoming mails and forward them to both mail server 1 and 2.

This will be a simple and cheap but bullet proof redundancy solution.

I'm interested in this solution, have already looked into clusters, backup mx, imap-sync and a ton more of solutions but this is the solution we want.

Any one who can point me in the right direction?

I've been searching for weeks, the solution exist but I can't find out how to set it up.

Not all mail should be forwarded this way, only one example.com, not example2.com or example3.com.

Best regards

Johan

Last edited by dexznrl; 04-21-2011 at 01:41 PM.
 
Old 04-21-2011, 02:11 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why have these extra mail servers? Just make your main servers send copies to the other. How does this server setup deal with the fact you have two copies? Sounds like a pretty poor setup to me. Mutliple access routes to a resilient data store is surely a better approach. Your data in itself shouldn't have to be part of the underlying solution.
 
Old 04-21-2011, 03:20 PM   #3
dexznrl
Member
 
Registered: Jul 2009
Posts: 36

Original Poster
Rep: Reputation: 0
The solution is for use with outside customers mail servers. That's the reason.

We have customers who have their own mail servers. We set up a smtp-proxy (or something) at the customer that will be mx-1.
MX-1 will send all incoming mails to both the customers exchange (or whatever) and another copy to our mailserver.

On our end we setup a smtp-proxy (or something) that will be mx-2 for the customer.
MX-2 will send all incoming mails to both the customers exchange (or whatever) and another copy to our mailserver.

The customer will have two internetconnections but one will only be a 3G connection, so no server behind that.
But they will be able to connect to our mailserver via webmail.

The servers will be in different places, the servers will work with different users, companies and domains. That's the reason for the complicated setup.

If one mailserver goes down the other will function. If one internet-connection goes down the solution will handle that to.
If a mailserver gets some internal problem it doesn't matter at all.

Does anybody know how to setup postfix or sendmail or something so it will forward all incoming email to a specified domain to two smtp servers?

/ Johan
 
Old 04-21-2011, 03:41 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
try this - http://www.postfix.org/ADDRESS_REWRI....html#auto_bcc
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP proxy, what software to use? digger86 Linux - Software 3 11-16-2010 02:44 AM
smtp proxy filter to external isp smtp leandronf Linux - Server 2 02-01-2010 04:42 AM
Proxy for POP and SMTP? depam Linux - Software 3 10-14-2005 10:41 AM
smtp remailing via my proxy Kirmonkey Linux - Wireless Networking 0 07-22-2005 12:20 AM
SMTP and POP3 Proxy step Linux - Newbie 4 03-14-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration