Re: IMAP account retrieval problem (reprise) final solution

Zoe <[email protected]> Wed, 24 Nov 2004 07:21:52 +0100
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Hi Dave,

On Nov 24, 2004, at 04:28, dave johnson wrote:

I sense a mounting level of frustration here... relax...

> well, your suggestion did not work for folders...

Sigh... there is no folders in IMAP... only mailboxes... the property 
file expects a valid mailbox path... whatever that is in your server... 
mailbox separators are implementation specific...

> but you said otherwise below... does this mean we can exclude 
> folders/files with the =false flag or not ?

No. You can use the boolean value to control the recursion into 
sub-mailboxes.

> to those interested, i created a file called [email protected]@mail.bar.com 
> and inside it added the two lines:
>
> Inbox=true
> mail/=true
>
> notice that they are not specified as full paths as the wiki 
> documentation incorrectly suggests... you must omit the "/" from the 
> beginning of them, and add a trailing "/" for any directory entry.

You must specify a valid mailbox path. That's all. The specifics of the 
path are implementation dependent.

If you are in doubt about how your mailbox paths look like, you may 
telnet to your IMAP server directly and ask for it:

telnet mail.host.com 143
Trying 17.17.17.17...
Connected to mail.host.com.
Escape character is '^]'.
* OK
1 login username password
1 OK User logged in
1 list "" "%"
* LIST (\NoInferiors) "/" INBOX
1 OK Completed

Of course it would be much nicer if this was built-in in the 
application and you where presented with a spiffy list of available 
mailboxes for you to pick and choose... contributions more than welcome 
in that domain...

TIA.

Cheers,

R.






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/