[Dovecot] parameter "mail_location" and variables
hi....
i have virtual users stored in ldap server and i must to do some modifications that requiere to chage mail_location value... the solution comes to use the "uid" value stored in ldap server for users on mail_location parameter... i can see in http://wiki.dovecot.org/Variables that i can't do them (i uses sasl authentication) so.. ¿exist any way to get a value from ldap server and use them in mail_location parameter?
thanks in advance!!!
-- Salu2 ;)
thanks...
i try to apply them, so i define the following settings:
dovecot.conf: mail_location: /export/home/vmail/maximatt.org/
and these configuration on dovecot-ldap.conf where i try to override mail_location setting:
user_attrs= mailbox=mailbox, quotaDovecot=quota, mailbox=mail=maildir:/export/home/vmail/%$
but these... not work and i cant understand why (yet)... these are log report:
dovecot: Jul 30 09:18:09 Info: IMAP(toto1): maildir: data=/export/home/vmail/dgr.gub.uy/ dovecot: Jul 30 09:18:09 Info: IMAP(toto1): maildir: root=/export/home/vmail/dgr.gub.uy, index=/export/home/vmail/dgr.gub.uy, control=, inbox=
can anybody helpme to resolve and undestand them?
thanks!
2009/7/29 maximatt azamax@gmail.com
hi....
i have virtual users stored in ldap server and i must to do some modifications that requiere to chage mail_location value... the solution comes to use the "uid" value stored in ldap server for users on mail_location parameter... i can see in http://wiki.dovecot.org/Variables that i can't do them (i uses sasl authentication) so.. ¿exist any way to get a value from ldap server and use them in mail_location parameter?
thanks in advance!!!
-- Salu2 ;)
-- Salu2 ;)
hi...
i can resolve them... but in another way:
dovecot.conf: mail_location = maildir:/export/home/vmail/%h
dovecot-ldap.conf: quotaDovecot=quota,mailbox=home
but.. i still interestig to make work these with "mail" extra opction.. the last configure that i test i give the followin error:
dovecot: Jul 30 09:36:49 Error: IMAP(toto1):
mkdir(/HOME_DIRECTORY_USED_BUT_NOT_GIVEN_BY_USERDB/cur) failed: Permission denied
thanks for all!
2009/7/30 maximatt azamax@gmail.com
thanks...
i try to apply them, so i define the following settings:
dovecot.conf: mail_location: /export/home/vmail/maximatt.org/
and these configuration on dovecot-ldap.conf where i try to override mail_location setting:
user_attrs= mailbox=mailbox, quotaDovecot=quota, mailbox=mail=maildir:/export/home/vmail/%$
but these... not work and i cant understand why (yet)... these are log report:
dovecot: Jul 30 09:18:09 Info: IMAP(toto1): maildir: data=/export/home/vmail/dgr.gub.uy/ dovecot: Jul 30 09:18:09 Info: IMAP(toto1): maildir: root=/export/home/vmail/dgr.gub.uy, index=/export/home/vmail/dgr.gub.uy, control=, inbox=
can anybody helpme to resolve and undestand them?
thanks!
2009/7/29 maximatt azamax@gmail.com
hi....
i have virtual users stored in ldap server and i must to do some modifications that requiere to chage mail_location value... the solution comes to use the "uid" value stored in ldap server for users on mail_location parameter... i can see in http://wiki.dovecot.org/Variables that i can't do them (i uses sasl authentication) so.. ¿exist any way to get a value from ldap server and use them in mail_location parameter?
thanks in advance!!!
-- Salu2 ;)
-- Salu2 ;)
-- Salu2 ;)
On Thu, 2009-07-30 at 10:46 -0300, maximatt wrote:
hi...
i can resolve them... but in another way:
dovecot.conf: mail_location = maildir:/export/home/vmail/%h
dovecot-ldap.conf: quotaDovecot=quota,mailbox=home
Don't do this.. It won't work in v1.2 anymore.
user_attrs= mailbox=mailbox, quotaDovecot=quota, mailbox=mail=maildir:/export/home/vmail/%$
user_attrs = quotaDovecot=quota, mailbox=mail=maildir:/export/home/vmail/%$
should have worked, assuming you're using Dovecot v1.1. If you're using v1.0 then it's still possible but in a different and ugly way.
participants (2)
-
maximatt
-
Timo Sirainen