<<< Date Index >>>     <<< Thread Index >>>

Re: Failing to login to IMAP folder. IMAP REFERRAL mesg



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, March 17 at 10:06 AM, quoth Asif Iqbal:
> I have been accessing our microsoft exchange folder using IMAP. But 
> yesterday IT did a maintenance and now I cannot access it any more.

Yike.

>[REFERRAL imap://iqbala;AUTH=*@MX.EXAMPLE.COM/INBOX] There is no
>replica for that mailbox

Well, what that is is a "referral", as defined in RFC 2193 (written by 
a Microsoft employee). Mutt doesn't support mailbox referrals, as 
you've discovered.

Now, it's possible that this is a result of an incorrect setup. It's 
generally only used when you have a *cluster* of mail servers, so 
unless the "maintenance" they performed was to install a new email 
cluster, this sort of error looks suspicious.

>Any idea how to work around that?
>
>This is my muttrc (sanitized)
>
>set spoolfile=imap://example.com:143/INBOX
>set folder=imap://example.com:143/
>set record="=Sent Items"
>set trash="=Deleted Items"
>set postponed="=Drafts"
>set mbox_type=Maildir
>set imap_user=iqbala imap_pass=secret

The other thing you can do is to simply *manually* handle the 
referral. Literally, what the Exchange server is telling you is that 
your personal mailbox can be accessed from that specific URL. So, to 
manually follow the redirect, do this:

     set spoolfile=imap://iqbala@xxxxxxxxxxxxxx/INBOX

You may also have to update the value of $folder in a similar fashion.

Hope that helps.

~Kyle
- -- 
I couldn't give you something mediocre even if that's all you asked 
for.
                          -- Michelangelo, in The Agony and the Ecstasy
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkm/uCwACgkQBkIOoMqOI17OQwCgyGLcGMGSyxx+YVp+rfdMoE0H
VccAn09cy5tJb37KkfLK0hV5EjoYOPcd
=Pmtd
-----END PGP SIGNATURE-----