Thanks for the quick reply Mark.

I believe I now have it looking in a fixed locale for folders but in testing with the Mozilla mail client and setting the IMAP Server Directory setting, I see that that overrides whatever I have fixed in
the server code. i.e. if I set the client setting to /mail/folders/<username> then my server side setup is overridden. It looks as though the client is prepending the entire path onto each folder name and thus when the server sees it, it sees it with the entire path. Is there any way to strip away absolute folder paths at the server side so if it sees a folder /mail/folders/<username>/foo, it simply processes it as 'foo' and uses the default fixed location?


thanks very much,


--tom


On Tue, 25 May 2004, Thomas J. Lohman wrote:

Hi, forgive me if this is in the archives or has a well
known basic solution but what I would like to do is have
the imap server always look in a fixed location outside
the users' home dirs for folders.


The answer is the routine mymailboxdir() in env_unix.c, which returns the "home directory" as far as IMAP is concerned. Normally, it returns the string from myhomedir() which is the UNIX home directory. But you can change mymailboxdir() to be anything else you'd like.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.




Reply via email to