Re: Sync_client fails after upgrade 2.3.16 to 2.4.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/29/2010 12:19 PM, Chris Conn wrote:


I didn't think that the slave was supposed to be setup to accept
incoming mail?


http://comments.gmane.org/gmane.mail.imap.cyrus/33805



Hello,

Hmm I hadn't read that. I was aware that doing it in a high volume
scenario was problematic, but was under the impression that an
occasional delivery here and there was theoretically possible. Its
pretty amazing since I test it manually and I can send to either one or
the other and replication happens correctly; however, when the stupid
logrotate message gets sent on the slave within seconds of a similar
message being sent on the master, things die.

Must be a timing issue that sync_client can't handle.


People that use replication as a quasi-hot standby server in the case
the master goes down/needs maintenance etc, etc, how do you deal with
locally generated mails that will eventually get delivered to a cyrus
mailbox on the master to which this is the slave?


On our slave we have an alias in /etc/aliases to send root mail to another e-mail account on another server. There are no other local accounts to worry about receiving mail on the slave. However, we use exim as our main MTA. Right now sendmail is still running on the slave so any mail that did happen to be delivered locally (such as before we added the alias) would get delivered to /var/spool/mail/<user> and not into Cyrus. In the event of a major disaster to the primary we have a script that will shut down sendmail and start up exim (and take care of restarting Cyrus in full mail mode).



Chris

begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux