Main mail server has Exim + Courier and not provide feature of mail archiving 
so we want to save all outgoing and incoming mails of user in our Intermediate 
server with exim+courier which will listen users requests and forward to main 
mail server with a copy of mail in Intermediate server .




________________________________
 From: Sam Varshavchik <mr...@courier-mta.com>
To: "courier-users@lists.sourceforge.net" <courier-users@lists.sourceforge.net> 
Sent: Thursday, July 25, 2013 3:31 AM
Subject: Re: [courier-users] Mails Copy
 

Direct Logic writes:

> Thanks Sam,
>
> i want to do the following setup
>
> Main courier Server <---> Secondary Courier Server <---> Client
>
> I want user connect with Secondary courier server to fetch mails and  
> secondary server contact with main server and fetch mail on behalf of client  
> and deliver mails to client with a copy of all mails in secondary server as  
> well.

Although there are several different ways to do that, you should, instead,  
explain what problem you're trying to solve. Quite often, instead of  
explaining what the problem is, one thinks that there's only one way to  
solve a problem, and tries to figure out how to do that, when there's really  
a better, different way to solve the problem that's going to work much  
better.

But, to narrow down the answer precisely to this, the best way would be to  
use mail aliases. See "ALIAS SPECIFICATIONS" in the makealiases man page. An  
alias entry of "address1: address2, address3" forwards mail addressed to one  
address to two different address, and you'll just need to carefully  
configure domains, host names, and server configuration to end up with the  
desired results.

So, with a mail domain of @example.com, and two servers host1.example.com  
and host2.example.com, each server would configure example.com as a hosted  
domain, with each host's name, and a local domain, set to  
host[n].example.com.

Then, on host1, it's a matter of defining aliases of the form  
"u...@example.com: user, u...@host2.example.com", so each mail gets  
forwarded to a local mailbox, and to the same mailbox on host2.example.com.  
That's it.

But, you're probably trying to solve a completely different problem, for  
which a better solution probably exists, as I said.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to