[Dovecot] LDAP + mail_location: Get "%d" from customfield

Denny Schierz linuxmail at 4lin.net
Thu Jul 29 13:36:38 EEST 2010


my mail_location looks like:

mail_location = maildir:/imap/spool/%d/%1n/%n:INDEX=/imap/spool/%

for example:


The problem is, that the user log in with only the username and no
domainpart. So, Dovecot looks into:


what isn't correct. We created an LDAP entry in which domain the user is
and searching for a way, to get it working. So, only what I want is to
use our customfield as domainpart for the mail_location. Postfix works
perfect and delivers the messages in the correct folder.

any idea?

cu denny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://dovecot.org/pipermail/dovecot/attachments/20100729/7c0e216e/attachment.bin 

More information about the dovecot mailing list