Re: mailbox referrals in 2.4.12

2011-12-18 Thread Greg Banks
On Fri, Dec 16, 2011, at 02:05 PM, Andrew Morgan wrote: > > I have never looked at Cassandane before (neat stuff!). > > There were two tests I ran to verify referrals were disabled: > > 1. Check that MAILBOX-REFERRALS is not present in the CAPABILITIES string > when connecting. Easy enough t

Re: mailbox referrals in 2.4.12

2011-12-16 Thread Andrew Morgan
On Thu, 15 Dec 2011, Bron Gondwana wrote: > On Thu, Dec 15, 2011 at 10:22:32AM -0800, Andrew Morgan wrote: >> On Thu, 15 Dec 2011, Wolfgang Breyha wrote: >> >>> Andrew Morgan wrote, on 14.12.2011 19:38: In that case, I should keep the original behavior in cmd_list. Here is an updated pa

Re: mailbox referrals in 2.4.12

2011-12-15 Thread Bron Gondwana
On Thu, Dec 15, 2011 at 10:22:32AM -0800, Andrew Morgan wrote: > On Thu, 15 Dec 2011, Wolfgang Breyha wrote: > > > Andrew Morgan wrote, on 14.12.2011 19:38: > >> In that case, I should keep the original behavior in cmd_list. Here is an > >> updated patch that still honors disable_referrals when s

Re: mailbox referrals in 2.4.12

2011-12-15 Thread Andrew Morgan
On Thu, 15 Dec 2011, Wolfgang Breyha wrote: > Andrew Morgan wrote, on 14.12.2011 19:38: >> In that case, I should keep the original behavior in cmd_list. Here is an >> updated patch that still honors disable_referrals when setting >> supports_referrals. > > Your patch still removes the disable_re

Re: mailbox referrals in 2.4.12

2011-12-15 Thread Wolfgang Breyha
Wolfgang Breyha wrote, on 15.12.2011 13:42: > Your patch still removes the disable_referrals from section 2819ff. > > And I still suggest using suppress_capabilites instead of waking the zombi... > patch attached. Filed a bug... https://bugzilla.cyrusimap.org/show_bug.cgi?id=3615 Greetings, Wolf

Re: mailbox referrals in 2.4.12

2011-12-15 Thread Wolfgang Breyha
Andrew Morgan wrote, on 14.12.2011 19:38: > In that case, I should keep the original behavior in cmd_list. Here is an > updated patch that still honors disable_referrals when setting > supports_referrals. Your patch still removes the disable_referrals from section 2819ff. And I still suggest u

Re: mailbox referrals in 2.4.12

2011-12-14 Thread Andrew Morgan
On Wed, 14 Dec 2011, Wesley Craig wrote: On 13 Dec 2011, at 19:15, Andrew Morgan wrote: Nothing changes the value of disable_referrals that I can see. It is initialized to 0. disable_referrals devolves to domain_from_ip in canonify_userid() in global.c. I gather it's set when virtdomains i

Re: mailbox referrals in 2.4.12

2011-12-14 Thread Andrew Morgan
On Wed, 14 Dec 2011, Wolfgang Breyha wrote: > Andrew Morgan wrote, on 14.12.2011 01:15: >> I worked up a simple patch against 2.4.12 which seems to work in my test >> environment. See the attachment. > > Wouldn't it be cleaner to remove the whole option > "proxyd_disable_mailbox_referrals" and us

Re: mailbox referrals in 2.4.12

2011-12-14 Thread Wolfgang Breyha
Andrew Morgan wrote, on 14.12.2011 01:15: > I worked up a simple patch against 2.4.12 which seems to work in my test > environment. See the attachment. Wouldn't it be cleaner to remove the whole option "proxyd_disable_mailbox_referrals" and use suppress_capabilities: MAILBOX-REFERRALS on the pro

Re: mailbox referrals in 2.4.12

2011-12-14 Thread Wesley Craig
On 13 Dec 2011, at 19:15, Andrew Morgan wrote: > Nothing changes the value of disable_referrals that I can see. It is > initialized to 0. disable_referrals devolves to domain_from_ip in canonify_userid() in global.c. I gather it's set when virtdomains is set "on". Presumably this is necessary

Re: mailbox referrals in 2.4.12

2011-12-13 Thread Andrew Morgan
On Mon, 12 Dec 2011, Andrew Morgan wrote: In my test cyrus murder environment, which has frontends running 2.4.12, I am still seeing mailbox referrals when I have proxyd_disable_mailbox_referrals: 1 set in imapd.conf. Apparently this was reported back in 2010: http://lists.andrew.cmu.edu/pip

mailbox referrals in 2.4.12

2011-12-12 Thread Andrew Morgan
In my test cyrus murder environment, which has frontends running 2.4.12, I am still seeing mailbox referrals when I have proxyd_disable_mailbox_referrals: 1 set in imapd.conf. Apparently this was reported back in 2010: http://lists.andrew.cmu.edu/pipermail/info-cyrus/2010-November/034092.ht