Direct Logic writes:

Main mail server has Exim + Courier and not provide feature of mail archiving

You mean Courier-IMAP.

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 .

The only thing that an IMAP server does is provide access to existing mail in existing mailboxes. An IMAP server has absolutely nothing to do with mail delivery. In your case, you're using Exim as your mail server, so you will need to get Exim to do whatever you need, insofar as archiving your mail.

This won't have anything to do with Courier-IMAP, and you will need to check Exim's documentation for more information on how to do mail archiving.

From: Sam Varshavchik <mr...@courier-mta.com>
To: "courier-users@lists.sourceforge.net" <courier- us...@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 
"<URL:mailto:u...@example.com>u...@example.com: user, <URL:mailto:u...@host2.example.com>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!
<URL:http://pubads.g.doubleclick.net/gampad/clk?id=48808831&amp;iu=/ 4140/ostg.clktrk>http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/ 4140/ostg.clktrk
_______________________________________________
courier-users mailing list
<URL:mailto:courier-users@lists.sourceforge.net>courier- us...@lists.sourceforge.net Unsubscribe: <URL:https://lists.sourceforge.net/lists/listinfo/courier- users>https://lists.sourceforge.net/lists/listinfo/courier-users



Attachment: pgpe8zAgHcqee.pgp
Description: PGP signature

------------------------------------------------------------------------------
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