William Hue writes: > Hi All, > > I've been using Courier since v0.29.0; great product! > > I have two mail servers for a given domain, call it "domain.com" for the > purpose > of this discussion. The two servers are at two separate sites. > > I've set up two MX entries for domain.com with different preferences, > and this > works fine. Mail gets accepted by the primary server (mail.domain.com); > if the > primary fails, mail starts going to the secondary server > (mail2.domain.com). > > My question is: Is there a way for me to, from a cron job, upload > e-mail from > the secondary server back to the primary server (when it is back up), so > my > users don't have to check for e-mail from both servers? I figure this > would be > as simple as forwarding new messages, but I need to be able to specify > the MTA > as mail.domain.com, or else the local server accepts the forwarded > messages > again. > > Any suggestions would be appreciated. > You have only made a half-hearted attempt at a distributed system here. There would appear to be two possible solutions: 1) Tell mail2 that it is merely a backup MX for the domain, not the primary. Then it will automatically forward messages when the primary comes back up - but users will not be able to connect to it to download messages 2) Go for a proper mail cluster. Essentially, you want to set up a common mail store area, either by sharing the file system, or else by replicating content between them.
The first is much simpler. The second is more resilient, but will take a significant effort. Which would you prefer? -- Bill Michell [EMAIL PROTECTED] (home) _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
