Bug 73861

Summary: Feature Request: imap folder location defaults to user's home directory
Product: [Retired] Red Hat Linux Reporter: Joseph Tate <jtate>
Component: imapAssignee: Mike A. Harris <mharris>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-17 21:25:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Tate 2002-09-12 14:16:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826

Description of problem:
It would be nice if by default the imap folder location was changed to an added
folder (say .imap) in the user's home directory rather than just throwing all
the imap "folders" into the user's home directory or requiring that the user
make a configuration change on every imap client she uses.

Version-Release number of selected component (if applicable):


Otherwise, it'd be nice if the information on how to change this default
behavior was documented in the imapd man page.

Comment 1 Joseph Tate 2002-09-17 14:51:52 UTC
I've got a patch that changes the default directory to the .imap folder, but I
was trying to modify imap so that it would create the directory if it didn't
exist before submitting the patch.  I think I've found the place to do that, but
I need to test it.

Comment 2 Joseph Tate 2002-10-10 04:38:44 UTC
Nevermind the patch.  I propose the following:
Change line 32 of src/osdep/unix/env_unix.c
from
static char *mailsubdir = NIL;  /* mail subdirectory name */
to
static char *mailsubdir = ".imap";  /* mail subdirectory name */

and add a directory .imap (own root:root mod 700) to the /etc/skel directory. 
That way whenever a new user is created using adduser -m this directory will be
setup.  Piece of cake.

Comment 3 Mike A. Harris 2002-12-17 21:25:33 UTC
Feature requests should be made directly to the University of Washington.
Red Hat will not modify the default behaviour without the University
doing so first as Red Hat Linux would then be different from every other
Linux vendor shipping UW imap.  It also would break existing systems.