[Dovecot] specifying home/sieve/sieve_dir relative to mail_location

Timo Sirainen tss at iki.fi
Mon Jun 25 21:48:35 EEST 2012


That example means that if you have in LDAP "mailDirectory=domain.com/username" field, and you want user's home to be /var/vmail/domain.com/username, then you can set mailDirectory=home=/var/vmail/%$ where %$ gets expanded to domain.com/username.

I don't think it's relevant to what you want.

On 25.6.2012, at 21.08, Edgar Fuß wrote:

>> But that requires Dovecot v2.1.
> I was refering to
> 	http://wiki1.dovecot.org/VirtualUsers/Home
> which, to my understanding, should apply to 1.2.
> I don't understand the Example at the bottom:
> 
>> LDAP with relative directory paths
>> 
>> If your LDAP database uses e.g. mailDirectory = domain/user/, you can use it as a base for home directory:
>> 
>> user_attrs = .., mailDirectory=home=/var/vmail/%$
>> Then just use mail_location = maildir:~/Maildir.
> 



More information about the dovecot mailing list