(this is just a suggestion) I'm setting up a mail server and have found that changing the default mailsubdir in uw-imap is (obviously) much faster than configuring each and every mail client to store IMAP folders in ~/mail. This way homedirs are much cleaner and mail files don't mix with normal (user) files. Would be nice if gentoo had this clean approach right out of the box. <quote from uw-imap "CONFIG" on> suppose you want to change c-client's idea of the user's mailbox directory to be the "mail" subdirectory of the user's home directory instead of the user's home directory. You will want to change variable mailsubdir, changing the line that reads: static char *mailsubdir = NIL; /* mail subdirectory name */ to be: static char *mailsubdir = "mail";/* mail subdirectory name */ <quote off>
Updated the ebuild with mailsubdir set to ~/mail. Thanks for the suggestion!
Reverted mailsubdir change as it may break many client installs.