Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap-list-pattern
@ 2000-06-30  0:45 Clinton Roy
  2000-06-30  9:20 ` nnimap-list-pattern Simon Josefsson
  0 siblings, 1 reply; 6+ messages in thread
From: Clinton Roy @ 2000-06-30  0:45 UTC (permalink / raw)


hello folks

I'd like to move my imap folders from my home directory to ~/imap. So I've
set nnimap-list-pattern like thus:

(setq nnimap-list-pattern `("INBOX" "imap/*"))

Unfortunately this doesn't work, the groups aren't selectable:
Retrieving newsgroup: nnimap+mailhost.dstc.edu.au:inbox.www...
SELECT failed: Can't open mailbox inbox.www: no such mailbox
Couldn't request group nnimap+mailhost.dstc.edu.au:inbox.www: SELECT
failed: Can't open mailbox inbox.www: no such mailbox

any tips?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-list-pattern
  2000-06-30  0:45 nnimap-list-pattern Clinton Roy
@ 2000-06-30  9:20 ` Simon Josefsson
  2000-06-30  9:48   ` nnimap-list-pattern Clinton Roy
  2000-06-30 10:10   ` nnimap-list-pattern John Prevost
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Josefsson @ 2000-06-30  9:20 UTC (permalink / raw)
  Cc: ding

Clinton Roy <latte@uq.net.au> writes:

> (setq nnimap-list-pattern `("INBOX" "imap/*"))

`nnimap-list-pattern' is a server variable, so this might not be
appropriate if you have more than one nnimap server.

> Unfortunately this doesn't work, the groups aren't selectable:
> Retrieving newsgroup: nnimap+mailhost.dstc.edu.au:inbox.www...

Are you sure the mailbox is named "inbox.www" and not "INBOX.www"?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-list-pattern
  2000-06-30  9:20 ` nnimap-list-pattern Simon Josefsson
@ 2000-06-30  9:48   ` Clinton Roy
  2000-06-30 10:10   ` nnimap-list-pattern John Prevost
  1 sibling, 0 replies; 6+ messages in thread
From: Clinton Roy @ 2000-06-30  9:48 UTC (permalink / raw)


On 30 Jun 2000, Simon Josefsson wrote:

> `nnimap-list-pattern' is a server variable, so this might not be
> appropriate if you have more than one nnimap server.
i only have one imap server, so i'm assuming i've only got nnimap server

> Are you sure the mailbox is named "inbox.www" and not "INBOX.www"?
well, when i move the files from ~/imap (which are all prefixed with
inbox.) everything is unky dory again.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-list-pattern
  2000-06-30  9:20 ` nnimap-list-pattern Simon Josefsson
  2000-06-30  9:48   ` nnimap-list-pattern Clinton Roy
@ 2000-06-30 10:10   ` John Prevost
  2000-06-30 11:16     ` nnimap-list-pattern Simon Josefsson
  1 sibling, 1 reply; 6+ messages in thread
From: John Prevost @ 2000-06-30 10:10 UTC (permalink / raw)
  Cc: Clinton Roy, ding

>>>>> "sj" == Simon Josefsson <simon@josefsson.org> writes:

    sj> Are you sure the mailbox is named "inbox.www" and not
    sj> "INBOX.www"?

Through an evil quirk of the IMAP protocol, folder name-parts which
are "inbox" are case insensitive, while everything else is case
sensitive.  So, "INBOX" is "inbox" is "iNbOx".  "iNbOx.foo" is
"INBOX.foo", but "INBOX.Foo" is not "INBOX.foo", nor is "Foo" the same
as "foo".  And, "INBOXblah" is not "Inboxblah".  This last is a pain,
actually, since / is the delimiter on some servers, and . on others.
So if you're on a / delimited server, the above is untrue, but
"INBOX/foo" is "Inbox/foo".

Fun, ne?

John.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-list-pattern
  2000-06-30 10:10   ` nnimap-list-pattern John Prevost
@ 2000-06-30 11:16     ` Simon Josefsson
  2000-06-30 12:18       ` nnimap-list-pattern John Prevost
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Josefsson @ 2000-06-30 11:16 UTC (permalink / raw)
  Cc: Clinton Roy, ding

John Prevost <prevost@maya.com> writes:

>     sj> Are you sure the mailbox is named "inbox.www" and not "INBOX.www"?
> 
> Through an evil quirk of the IMAP protocol, folder name-parts which
> are "inbox" are case insensitive, while everything else is case
> sensitive.  So, "INBOX" is "inbox" is "iNbOx".  "iNbOx.foo" is
> "INBOX.foo", but "INBOX.Foo" is not "INBOX.foo", nor is "Foo" the same
> as "foo".  And, "INBOXblah" is not "Inboxblah".  This last is a pain,
> actually, since / is the delimiter on some servers, and . on others.
> So if you're on a / delimited server, the above is untrue, but
> "INBOX/foo" is "Inbox/foo".

Amazing.  But isn't this a complication only on the server end?  I
mean, if nnimap queries for "inbox.www" the server should treat this
as "INBOX.www" (if that is the real name) and all is well.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nnimap-list-pattern
  2000-06-30 11:16     ` nnimap-list-pattern Simon Josefsson
@ 2000-06-30 12:18       ` John Prevost
  0 siblings, 0 replies; 6+ messages in thread
From: John Prevost @ 2000-06-30 12:18 UTC (permalink / raw)
  Cc: Clinton Roy, ding

>>>>> "sj" == Simon Josefsson <simon@josefsson.org> writes:

    sj> Amazing.  But isn't this a complication only on the server
    sj> end?  I mean, if nnimap queries for "inbox.www" the server
    sj> should treat this as "INBOX.www" (if that is the real name)
    sj> and all is well.

Yup, in this case.  But it's important to remember if you ask for a
list of groups from the server, so that you can tell it's the same
folder.

John.






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-06-30 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-30  0:45 nnimap-list-pattern Clinton Roy
2000-06-30  9:20 ` nnimap-list-pattern Simon Josefsson
2000-06-30  9:48   ` nnimap-list-pattern Clinton Roy
2000-06-30 10:10   ` nnimap-list-pattern John Prevost
2000-06-30 11:16     ` nnimap-list-pattern Simon Josefsson
2000-06-30 12:18       ` nnimap-list-pattern John Prevost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).