[Dovecot] namespaces

Timo Sirainen tss at iki.fi
Sat Sep 20 21:45:32 EEST 2003


On Sat, 2003-09-20 at 02:12, Brian Marcotte wrote:
> > > Maybe if [location in namespace section] wasn't set it could use the
> > > one from userdb.
> >
> > These are in CVS now.
> 
> I was able to log in using the userdb, but it didn't use the mailbox path
> I specified in the userdb. It instead was searching other places for the
> folders like ~/Maildir, ~/mail and many other things.

Whops, here's a fix:

diff -u -r1.37 mail-process.c
--- mail-process.c      15 Sep 2003 14:02:07 -0000      1.37
+++ mail-process.c      20 Sep 2003 18:44:25 -0000
@@ -296,7 +296,7 @@
 
        if (set->server->namespaces != NULL) {
                env_put_namespace(set->server->namespaces,
-                                 set->default_mail_env, user, home_dir);
+                                 mail, user, home_dir);
        }
 
        env_put(t_strconcat("MAIL=", mail, NULL));




More information about the dovecot mailing list