Re: [Imap-uw] LIST / hidden files

2009-03-07 Thread Joel Reicher
> You can easily recognize the alpine part underneath mail/. But what's the bes
> t 
> way to handle the mailboxes at hierarchy level 1? Here you 
> see .pinerc, .profile, etc. The ls command of unix will not show those files 
> or directories unless you use the -a option.
> 
> On the other hand uw-imapd does show the hidden files. 

Are you asking how to change what imapd considers to be the "top" of
the hierarchy, or how to avoid listing so-called "hidden" files?

Hiding files that begin with a dot is no more than a name-based convention,
and imapd has support for it. Have a look in src/osdep/unix/env_unix.c for
the hideDotFiles definition.

"Example 2" in CONFIG addresses the other possible meaning for your
question, as you've already noticed.

Cheers,

- Joel
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw


Fwd: Re: [Imap-uw] LIST / hidden files

2009-02-24 Thread Oliver Block

--- Begin Message ---
Am Dienstag, 24. Februar 2009 19:43:57 schrieben Sie:
> UW imapd once suppressed listing of dot files.  I was made to remove that
> feature, for the reason stated in the previous paragraph.
>
> I look at the prospect of revisiting that decision with about the same as
> I view a colonoscopy.

You mean it's preferable to follow example 2 of CONFIG, don't you?
--- End Message ---
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw


Re: [Imap-uw] LIST / hidden files

2009-02-24 Thread Mark Crispin

On Tue, 24 Feb 2009, Oliver Block wrote:

The ls command of unix will not show those files
or directories unless you use the -a option.
On the other hand uw-imapd does show the hidden files.


That is correct.  If the IMAP server did not list those files, it would be 
impossible for the IMAP client to show them to the user under any of those 
circumstances.


UW imapd once suppressed listing of dot files.  I was made to remove that 
feature, for the reason stated in the previous paragraph.


I look at the prospect of revisiting that decision with about the same as 
I view a colonoscopy.


-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw


[Imap-uw] LIST / hidden files

2009-02-24 Thread Oliver Block
Hello everybody,

I have a question regarding the LIST command and about how it is handled by 
UW-IMAPD.

The "default" installation of imapd returns the following result for an 
average user on ubuntu linux:

0004 LIST "" "*"
* LIST (\NoInferiors \UnMarked) "/" .bash_logout
 / .bash_logout, no inferiors, unmarked
* LIST (\NoSelect \HasChildren) "/" mail
 / mail, no select
* LIST (\NoInferiors \UnMarked) "/" mail/postponed-msgs
 / mail/postponed-msgs, no inferiors, unmarked
* LIST (\NoInferiors \UnMarked) "/" mail/sent-mail
 / mail/sent-mail, no inferiors, unmarked
* LIST (\NoInferiors \UnMarked) "/" mail/saved-messages
 / mail/saved-messages, no inferiors, unmarked
* LIST (\NoInferiors \UnMarked) "/" .pinerc
 / .pinerc, no inferiors, unmarked
* LIST (\NoInferiors \UnMarked) "/" .profile
 / .profile, no inferiors, unmarked
* LIST (\NoInferiors \UnMarked) "/" .bashrc
 / .bashrc, no inferiors, unmarked
* LIST (\NoSelect \HasNoChildren) "/" .ssh
 / .ssh, no select
* LIST (\NoInferiors) NIL INBOX
 NIL INBOX, no inferiors
0004 OK LIST completed

You can easily recognize the alpine part underneath mail/. But what's the best 
way to handle the mailboxes at hierarchy level 1? Here you 
see .pinerc, .profile, etc. The ls command of unix will not show those files 
or directories unless you use the -a option.

On the other hand uw-imapd does show the hidden files. 

1. Is this a configuration issue or is it a protocol issue?

2. Has that ever been discussed in the imap-wg weither ot show hidden hidden 
files or not?

Best Regards,

Oliver Block
___
Imap-uw mailing list
Imap-uw@u.washington.edu
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw