IMAP proxy advertising MAILBOX-REFERRALS and confusing Pine
Duncan Gibb
Duncan.Gibb at SiriusIT.co.uk
Fri Aug 14 13:30:46 EDT 2009
Andrew Morgan wrote:
DM> On the down-side, our quota scripts using Cyrus::IMAP::Admin have
DM> stopped working as they are not being sent MAILBOX-REFERRALS in the
DM> CAPABILITY string.
AM> I'm using IMAP::Admin here for quota-related activities. However,
AM> my scripts first determine which backend the mailbox is on. Then
AM> they connect directly to the backend. That may be why I'm not
AM> seeing the problem you describe. I'm using Cyrus 2.3.14 here, with
AM> referrals disabled. This is what I see when running cyradm on a
AM> frontend:
> cyrus-fe1:/etc# cyradm --user cyrus localhost
> Password:
> localhost> lq user.morgan
> Password:
> STORAGE 185512/256000 (72.465625%)
> localhost>
AM> It appears that it is following a referral to the backend, because
AM> it prompts me for the password again.
Vanilla 2.3.14 will not proxy quota commands (so yes, you are following
a referral and re-authenticating).
Wes Craig has written a patch to fix this
http://lists.andrew.cmu.edu/pipermail/cyrus-devel/2008-September/000939.html
http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20080918/e5b2b120/attachment.obj
which AFAIK has not yet gone in upstream. We use it in our 2.3.14
packages along with a bunch of other Murder-enhancing patches
<hint> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=3133 </hint>
Cheers
Duncan
--
Duncan Gibb - Technical Director
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk/ || t: +44 870 608 0063
Debian Cyrus Team - https://alioth.debian.org/projects/pkg-cyrus-imapd/
More information about the Info-cyrus
mailing list