Re: Trouble with replication via IMAP

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

 



On 2023-04-19 1:19 PM, Nels Lindquist wrote:
On 2023-04-18 5:51 p.m., ellie timoney wrote:

Did you somehow turn off "sync_try_imap" (in imapd.conf on the primary)?  It should be on by default unless it's configured to be off. If it's on (by default or otherwise), sync_client will always try to make an IMAP connection to the replica before falling back to CSYNC if that fails.  If it's off, it will only try CSYNC, which requires sync_server to be running on the replica.  It sounds like your sync_client is only trying CSYNC, which makes me think "sync_try_imap" is turned off.

Here's the relevant paragraph from the imapd.conf(5) man page:

          sync_try_imap: 1
              Whether sync_client should try to perform an IMAP connection before fall‐               ing back to csync.  If this is set to "no", sync_client  will  only  use               csync.  Prefix with a channel name to apply only for that channel

I did indeed see that option on the manpage, and confirmed I hadn't inadvertently disabled it. I tried forcing it on by explicitly enabling it in imapd.conf, but it made no difference.

Is there any further troubleshooting I could do for this? GDB backtrace? Packet dumps?

It's certainly not the end of the world to continue using the legacy protocol, but I'm happy to help diagnose IMAP replication.

--
Nels Lindquist
nlindq@xxxxxxx


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T6bd84d7971061987-M1d347e56d73086a875b42e09
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[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