IMAP proxy advertising MAILBOX-REFERRALS and confusing Pine

David Mayo D.J.Mayo at bath.ac.uk
Fri Aug 14 05:24:35 EDT 2009


Andrew Morgan wrote:

> On Wed, 12 Aug 2009, David Mayo wrote:
> 
>> Does anyone have any suggestions as to how to stop the front-end proxy
>> server from advertising MAILBOX-REFERRALS and/or for Pine to ignore such
>> capabilities.
> 
> This was originally a patch I obtained from the folks at Portland State 
> University:
> 
> http://oregonstate.edu/~morgan/cyrus/patches/imapd-disable-referrals.patch
> 
> It does exactly what you want in cyrus 2.2.

Thanks very much for this! We applied this patch this morning and Pine 
is now behaving itself.

On the down-side, our quota scripts using Cyrus::IMAP::Admin have 
stopped working as they are not being sent MAILBOX-REFERRALS in the 
CAPABILITY string. This means they are ignoring the referral sent to 
them by the server when they issue a GETQUOTA. Reading RFC 2193 Section 
3, paragraph 1 this is understandable:

    IMAP4 servers that support this extension MUST list the keyword
    MAILBOX-REFERRALS in their CAPABILITY response.  No client action is
    needed to invoke the MAILBOX-REFERRALS capability in a server.

I feel like we've picked at the thread of a jumper and it's slowly 
unravelling here!

Regards,


Dave.

David Mayo
Networks/Systems Administrator
University of Bath Computing Services, UK


More information about the Info-cyrus mailing list