If you want all mail (not just INBOX) to go to someplace other than the
home directory then the routine to modify is normally mymailboxdir().
If you just want to change the direction for INBOX but not old mailbox
names then you need to modify the driver, since normally env_unix.c lets
the driver select the location of INBOX. In mix, this work is done by
mix_dir(), which maps INBOX to ~/INBOX and then has env_unix.c do it;
since ~/INBOX is not INBOX, this gets mapped to INBOX in the
mymailboxdir() directory ("~/" means mymailboxdir(), not myhomedir(), in
the c-client library).
On Tue, 5 Dec 2006, Tim Nicholson wrote:
I have a situation where we do not want the INBOX in the user's
home directory. This is mainly for quota reasons. We want a quota
for mail in the user's imap folders in their home directory, but
not their inbox. We manage inbox size differently.
With mbx, we modified the routine "mailboxfile" in env_unix
so that matches for INBOX went to our separate file systems
for the user's inboxes.
I have a feeling this would work for mix as well, but was wondering
if there is a "better" way to do this.
-- 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
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw