Our mailsubdir is set to mail/ as well and we have the exact same problem as you.

There was a thread in the archives where you can modify the source code so that it recognizes either the mail/ prefix or no prefix setting in a user's mail client. In fact, there were two examples of changes you can make. Either way, it will always know to look in the mail/ subdirectory. That's what I ended up doing. If you need me to send you my modifications, please let me know.

The only bug I found, which I havn't had time to figure out how to fix yet, is how it affects our webmail server. Our webmail server renames the sent-mail folder every month, and has the default mail root set to "mail/". For some reason, this caused a problem when our webmail software tried to renamed the folder.

thanks
nancy


-------------------------------------
Nancy Lin                        DECF
1109A Etcheverry Hall    510-642-7291
Office Hours:         2PM-4PM Mon-Thu
-------------------------------------


David Severance wrote:
We would like to be able to preset mailsubdir to "mail" to prevent the endless stream of support calls by people who get it wrong in their client setup (i.e. Thunderbird->Account Settings->Server Settings->Advanced->IMAP server directory). I see that I can edit src/osdep/unix/env_unix.c and set this var:

static char *mailsubdir = "mail";    /* mailbox subdirectory name */

but I don't see a way to enforce this setting by ignoring the (frequently) wrong setting that an end user might specify. Other than in env_unix.c I did not run across this var in other files that I found so I'm not sure how it's getting set in the first place. Is there some setting I can specify or recommended edit that would force the use of the value I desired regardless of the client setting?

Any guidance would be appreciated.
thanks,
David

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to