PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > IMAP Mailboxes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

IMAP Mailboxes

Réponse
 
LinkBack Outils de la discussion
Vieux 16/06/2006, 22h38   #1
Oliver Block
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut IMAP Mailboxes

Hi,

I just read Section 5 of RFC3501, and I would like
to formulate some statements just to check if those
who are familiar with RFC3501 do agree/disagree.

1. A delimiter is valid for all names in a mailbox
hierarchy. i.e. let '.' (dot) be our delimiter
and let '/' (slash) be another delimiter.
Now it is in compliance with RFC3501 to build
a mailbox hierarchy like

tit_and_tat
tit_and_tat.tit
tit_and_tat.tat
love_and_piece
love_and_piece/love
love_and_piece/piece

Am I right? (Regardless if there is any implementation
that supports that.)

2. If a mailbox name has a leading '#' the part of the name
following the '#' is the namespace.

#news.comp.mail.imap
\__/ \____________/
| |
ns name

#news.de.comp.lang.c
\__/ \____________/
| |
ns name

Correct?

3. The only mandatory name is INBOX. It is an error trying to create
a mailbox with the same name and it also is an error trying to
delete the mailbox named INBOX. But it's conform to delete any
other mailbox. There may be implementations that do have other
mailboxes like 'trash', 'sent items' which are also "read only".

Best Regards,

Oliver

  Réponse avec citation
Vieux 16/06/2006, 23h40   #2
Sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: IMAP Mailboxes

Oliver Block writes:

> 1. A delimiter is valid for all names in a mailbox
> hierarchy. i.e. let '.' (dot) be our delimiter
> and let '/' (slash) be another delimiter.
> Now it is in compliance with RFC3501 to build
> a mailbox hierarchy like
>
> tit_and_tat
> tit_and_tat.tit
> tit_and_tat.tat
> love_and_piece
> love_and_piece/love
> love_and_piece/piece
>
> Am I right? (Regardless if there is any implementation
> that supports that.)


No, the hierarchy delimiter must be the same within a namespace. Different
namespaces may have different delimiter characters, though.

>
> 2. If a mailbox name has a leading '#' the part of the name
> following the '#' is the namespace.
>
> #news.comp.mail.imap
> \__/ \____________/
> | |
> ns name
>
> #news.de.comp.lang.c
> \__/ \____________/
> | |
> ns name
>
> Correct?


Right. But there's nothing that will guarantee you that "." is the
hierarchy delimiter here. Nothing prohibits the letter 's' from being the
designated hierarchy delimiter within the "#new" namespace. That would be a
rather dumb thing to do, of course, but it's technically allowed.

> 3. The only mandatory name is INBOX. It is an error trying to create
> a mailbox with the same name and it also is an error trying to
> delete the mailbox named INBOX.


No, not really. INBOX does not have to exist. If it doesn't, I see nothing
that would prohibit you from creating a folder of that name.

> other mailbox. There may be implementations that do have other
> mailboxes like 'trash', 'sent items' which are also "read only".


Correct.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEkzN0x9p3GYHlUOIRAkqaAJ9YfMbJs1h/8fVGByJ2fQ9hUFYZLQCeIZnZ
3HZmZf6gEBuktWobLXZn7+c=
=QgdG
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 17/06/2006, 00h27   #3
Mark Crispin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: IMAP Mailboxes

On Fri, 16 Jun 2006, Sam wrote:
>> 3. The only mandatory name is INBOX. It is an error trying to create a
>> mailbox with the same name and it also is an error trying to delete the
>> mailbox named INBOX.

> No, not really. INBOX does not have to exist. If it doesn't, I see nothing
> that would prohibit you from creating a folder of that name.


It is an error to attempt to CREATE (RFC 3501, 6.3.3) or DELETE (RFC 3501,
6.3.4) INBOX.

The intent is that there is always an INBOX. However, RFC 3501 section
6.3.8 refers in passing to the possibility of there not being an INBOX.
In such a case, the restriction against creating INBOX still applies.

Note that there is no specific provision against creating some name that
happens to correspond to INBOX. For example, in UW imapd, it is
permitted to CREATE #driver.mbx/INBOX which will create an INBOX in the
alternative mbx format.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h16.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08978 seconds with 11 queries