Re: problems on folders containing @

2006-11-10 Thread Chris St. Pierre
On Fri, 10 Nov 2006, Marten Lehmann wrote:

> why does this give an error?
>
> x create [EMAIL PROTECTED]
> x NO Invalid mailbox name

Escape the @ sign:

create [EMAIL PROTECTED]

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: How to tell POP3 daemon to mark messages as read?

2006-11-10 Thread Greg A. Woods
At Fri, 10 Nov 2006 09:29:25 + (GMT),
David Carter wrote:
> 
> On Fri, 3 Nov 2006, Georgy Goshin wrote:
> 
> > Is it possible to mark all messages downloaded via POP3 daemon as read 
> > so that next time user connected via IMAP could see wich messages are 
> > new?
> 
> No, the POP daemon doesn't open the seen message database. There would
> be a fairly substantial performance hit if it did.
> 
> I believe (its been some time now) that the UW server works the way that 
> you want. The POP protocol doesn't have any concept of \Seen messages, so 
> there isn't really a right or wrong way to do this.

Well the right way to do it is to never leave messages on the server in
the first place.

Face it, POP, as a protocol design, is really only useful for retrieving
messages.

(The real-world analogies are all pretty silly, but leaving mail on the
server is like going to your post-box, opening and photocopying every
letter, sealing them up again, and putting all the letters back in.  THe
important part is that you can't tag the originals -- you have to
covertly copy them.  Only the person doing the copying may know which
were copied.)

As the RFC says:  "POP3 is not intended to provide extensive
manipulation operations of mail on the server; normally, mail is
downloaded and then deleted."

If there were a way for the POP server to reject attempts by the client
to leave messages on the server then there should probably be a
configurable policy option to make it do that.  Perhaps this would be as
simple as removing support for the silly UIDL command.  The RFC also
suggests:

  This could be implemented in POP3 server
  software by the following mechanism: "following a POP3 login by a
  client which was ended by a QUIT, delete all messages downloaded
  during the session with the RETR command".  It is important not to
  delete messages in the event of abnormal connection termination
  (ie, if no QUIT was received from the client) because the client
  may not have successfully received or stored the messages.
  Servers implementing a download-and-delete policy may also wish to
  disable or limit the optional TOP command, since it could be used
  as an alternate mechanism to download entire messages.

Having real quotas in the POP server isn't really a decent solution,
especially not when the server's only avenue of notifying the user of an
over-quota problem is by adding yet another message to their over-quota
inbox.

I would opt for the "delete successfully retrieved messages" option in
the blink of an eye, and I'm not even sure I'd bother telling the users.
Most of the ones I deal with are too ignorant of these issues to
understand the implications beforehand anyway.  They will only learn by
experience.

-- 
Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>   Secrets of the Weird <[EMAIL PROTECTED]>

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


problems on folders containing @

2006-11-10 Thread Marten Lehmann

Hello,

why does this give an error?

x create [EMAIL PROTECTED]
x NO Invalid mailbox name

Why isn't it allowed at Cyrus that folders contain an @-sign? It was 
allowed with dovecot and courier-imap and it is possible to create 
folders with several other characters like Umlauts and spaces. Why is 
the @-sign blocked?


Well, I'm using "virtualdomains: userid", but that shouldn't keep me 
from creating folders within the mailbox as it shouldn't interfere with 
each other.


Regards
Marten

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: How to tell POP3 daemon to mark messages as read?

2006-11-10 Thread David Carter

On Fri, 3 Nov 2006, Georgy Goshin wrote:

Is it possible to mark all messages downloaded via POP3 daemon as read 
so that next time user connected via IMAP could see wich messages are 
new?


No, the POP daemon doesn't open the seen message database. There would
be a fairly substantial performance hit if it did.

I believe (its been some time now) that the UW server works the way that 
you want. The POP protocol doesn't have any concept of \Seen messages, so 
there isn't really a right or wrong way to do this.


--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: namespace question

2006-11-10 Thread David Carter

On Thu, 9 Nov 2006, Ivo Petrov wrote:

I use alternate namespace in order to get representation of the folders 
to be as they are not subfolders of INBOX but instead to be on the same 
level as INBOX.


Altnamespace doesn't allow mailboxes under INBOX. The problem is the 
mapping between altnamespace and the internal Cyrus namespace. Consider:


  INBOX  <--> user.dpc22
  INBOX.foo  <--> user.dpc22.foo
  foo<--> user.dpc22.foo

--
David Carter Email: [EMAIL PROTECTED]
University Computing Service,Phone: (01223) 334502
New Museums Site, Pembroke Street,   Fax:   (01223) 334679
Cambridge UK. CB2 3QH.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html