[imp] Finding Default Delimiter

Michael M Slusarz slusarz at mail.curecanti.org
Tue Dec 14 22:07:07 PST 2004


Quoting Mike Porter <mike at UDel.Edu>:

> We recently ran into a problem with IMP and an IMAP server that
> uses the UW namespace with '.' as the delimter (MiraPoint).
>
> The problem was:
>
> lib/Tree.php
>
>         // this *should* always get the right delimiter
>         $tmp = $this->getMailbox('INBOX');
>
> This is incorrect.  The RFC indicates that a 'LIST "" ""' is the
> proper way to get the default delimter and in fact if you change
> the above call to:
>
>         $tmp = $this->getMailbox('');
>
> the default delimiter is correctly returned.
>
> I don't normally work with IMP, but I thought I'd let you know
> the results of my debugging session since I see this call is
> still in the production 3.2.6.

You are right - according to RFC's the way to get the default delimiter is a
lookup by the empty value, rather than 'INBOX'.  I have changed both HEAD and
3.2.7 to reflect this.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the imp mailing list