On Thu, 3 Jun 2004, jdow wrote:
> With imap-2001a-18 from RedHat 9 and OutLook the user can see every
> file within their user directory. So there's not much to do about it.
> The best shot might be to setup a "mail" directory in which all valid
> mail folders live. Then pray.
>
> If somebody does know how to keep IMAP from serving specific files or
> all but the contents of a specific directory I'd like to know. Most
> "tricks" I can think of make mere "ugly" too weak a term to apply.
Hmm, why is RedHat distributing such an ancient version of UW imap?
Current release is imap-2004a.
Be that as it may, if you go to your imap source kit and read the
"docs/imaprc.txt" file, you'll find out about the 'unmentioned'
config file for UW imap.
In reasonably modern versions of imap, you can put a 'set hide-dot-files'
command in the config file to cause it to no mention any '.name' type
files or directories on the folder list.
Another alternative is to use the 'set mail-subdirectory' command to
cause it to only list the contents of a particular subdirectory of your
home directory. EG: 'set mail-subdirectory Mail' will cause it
to only list those folders that live in your ~/Mail directory.
That's the way we have it config'd, altho we do it the "blessed"
way and customize the env_unix.c source and build our own ;)
Now that wasn't too "ugly" ;)
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{