With 1.2, is it possible to specify home, sieve and sieve_dir relative to
mail_location?
No-one, this one?
Too simple? Too stupid? Too obvious? Not possible?
On 25.6.2012, at 12.54, Edgar Fuß wrote:
With 1.2, is it possible to specify home, sieve and sieve_dir relative to
mail_location?
No-one, this one?
Too simple? Too stupid? Too obvious? Not possible?
Mail/Sieve dirs can be relative to home dir, not vice versa..
I know it's possible to
Mail/Sieve dirs can be relative to home dir, not vice versa.
OK, thanks.
Yeah, that would probably work.
I'll try that.
Maybe look into changing your directory hierarchy so mails are under home.
Too late. Also, as directories corresponding to IMAP folders always start with
a dot, it appeared
On 25.6.2012, at 17.42, Edgar Fuß wrote:
Ah, and what about the WIKI ``user_attrs = ..,
mailDirectory=home=/var/vmail/%$'' example that I don't understand?
Well, you could use a single mailDirectory LDAP attribute that expands to your
mail directory to provide for all of the other home/sieve
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/,
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
With 1.2, is it possible to specify home, sieve and sieve_dir relative to
mail_location?
I have
mail_location =
maildir:/import/mail/%n/:INDEX=/var/db/dovecot/indexes/%n
and, in the plugin section,
home = /import/mail/%n/home
sieve = /import/mail/%n/dovecot.sieve