Re: Cyrus IMAP Murder v2.4.2 MAILBOX-REFERRALS problem ?

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

 



On Mon, Nov 22, 2010 at 10:48:28PM -0200, Lucas Zinato Carraro wrote:
> proxyd_allow_status_referral: 0

This is the default

> proxyd_disable_mailbox_referrals: 1

And it turns out this switch isn't hooked up to anything!

It doesn't disable anything at all.  There's no reference
anywhere in the code other than the bits that define it.

man/imapd.conf.5
792:.IP "\fBproxyd_disable_mailbox_referrals:\fR 0" 5

lib/imapoptions
933:{ "proxyd_disable_mailbox_referrals", 0, SWITCH }

lib/imapopts.c
530:  { IMAPOPT_PROXYD_DISABLE_MAILBOX_REFERRALS, "proxyd_disable_mailbox_referrals", 0, OPT_SWITCH,

lib/imapopts.h
169:  IMAPOPT_PROXYD_DISABLE_MAILBOX_REFERRALS,

In other words, it does nothing!  It got broken during the
copy of the 2.4 code over to master according to 'git blame',
so I'm going to CC Ken for his opinion on how this is supposed
to work.

Ken?

-    if (listargs->opts & LIST_REMOTE) {
-       if (!config_getswitch(IMAPOPT_PROXYD_DISABLE_MAILBOX_REFERRALS)) {
-           supports_referrals = !disable_referrals;
-       }
-    }
+    if (listargs->sel & LIST_SEL_REMOTE) supports_referrals = !disable_referrals;

That's the immediate block rewrite.

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