[Dovecot] Problems with Mailstorage path.
Hi all,
my environment:
dovecot-1.0.rc15 Fedora Directory Server 1.0.2
Currently I've configured dovecote to find user's mail folder like this: dovecot.conf mail_location = maildir:/var/vmail/%d/%u/Maildir
All my domain mailboxes are under /var/vmail, as evident. But there are some users whose mail folders are directly under /var/vmail like this one: /var/vmail/myuser1@mydomain1.com
also, some have their folder names starting with caps like: /var/vmai/mudomain1.com/Myuser1@mydomain1.com
This creates problems when these users try to login. Here I want dovecote to kind of assemble the mail storage path from mailMessageStore ldap attribute of the particular user. i.e, dovecot should add the mailMessageStore attribute's value to /var/vmail.
Can somebody help me in solving this issue?
regards, raja.
+91 944 715 5548(Cell)
Hi Raja,
Raja T Nair schrieb:
This creates problems when these users try to login. Here I want dovecote to kind of assemble the mail storage path from mailMessageStore ldap attribute of the particular user. i.e, dovecot should add the mailMessageStore attribute's value to /var/vmail.
Try something like: user_attrs = uid,homeDirectory,mailMessageStore,uid,uidNumber,gidNumber (See http://wiki.dovecot.org/DovecotOpenLdap#line-304)
You could also wrap a script around your mail_executable and set $MAIL in there. See http://dovecot.org/list/dovecot/2006-December/018029.html
Benjamin
-- Benjamin Dabelow dabelow@tuxoft.de Offenburger Str. 29 tuxoft.de 69126 Heidelberg Germany
participants (2)
-
Benjamin Dabelow
-
Raja T Nair