Hi, I'm using Dovecot with LDAP. My users have an home directory and a field named 'mailMessageStore'. Then the full mailbox path is 'homeDirectory/mailMessageStore' In dovecot-ldap.conf i configured as follows : user_filter = (&(objectClass=qmailUser)(cn=%u)) user_attrs = qmailUID=uid,qmailGID=gid,homeDirectory=home,mailMessageStore=mail=maildir:~/%$ Everything is working as expected but... I'm using sieve and in the 'dovecot.conf' there is no way to get a variable containing the mailbox path... As the mailMessageStore field can contain something different than the login or uid, how can i get the mailbox path in the conf ? Regards. -- David Goncalves - http://www.lestat.st
On Mon, 2009-11-09 at 22:50 +0100, David Goncalves wrote:> user_attrs = > qmailUID=uid,qmailGID=gid,homeDirectory=home,mailMessageStore=mail=maildir:~/%$ > > Everything is working as expected but... > > I'm using sieve and in the 'dovecot.conf' there is no way to get > a variable containing the mailbox path...What do you use home for? If you don't want anything under user's "real" home directory, you can just make mailMessageStore=home. But then again, see http://wiki.dovecot.org/VirtualUsers#homedirs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091109/276c95d3/attachment-0002.bin>
Timo Sirainen wrote:> What do you use home for? If you don't want anything under user's "real" > home directory, you can just make mailMessageStore=home. But then again, > see http://wiki.dovecot.org/VirtualUsers#homedirsActually home contains the base path of all mailboxes (ie: /opt/mailboxes) and the mailMessageStore contains the mailbox path (ie: MyMailBox/ ). The users are virtual, they have no real home. Regards. -- David Goncalves - http://www.lestat.st