Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Edgar Fuß
It doesn't matter if Dovecot's home directories are different from the users' primary home directories. It's probably even better if they're different. Yes, I thought so. http://wiki.dovecot.org/VirtualUsers#homedirs should apply to your use case as well. Yes, I read that one. But I couldn't

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Edgar Fuß
.., =home=/import/mail/%u/home Ah, using % Expansion works even if returned from an LDAP query? Great. Is this nothing=Dovecot Param=Value form documented somewhere? I mean, is it documented that the LDAP Attribute is allowed to be empty? Thanks.

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Edgar Fuß
.., =home=/import/mail/%u/home Unfortunately, the whole thing doesn't work. I'm using Postfix with mailbox_command set to dovecot's deliver. Now, Postfix seems to use nss to get the user's home dir and passes this to mailbox_command as HOME. It looks like deliver prefers the environment

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 12:44 +0200, Edgar Fuß wrote: .., =home=/import/mail/%u/home Ah, using % Expansion works even if returned from an LDAP query? Great. Is this nothing=Dovecot Param=Value form documented somewhere? I mean, is it documented that the LDAP Attribute is allowed to be empty?

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 15:25 +0200, Edgar Fuß wrote: .., =home=/import/mail/%u/home Unfortunately, the whole thing doesn't work. I'm using Postfix with mailbox_command set to dovecot's deliver. Now, Postfix seems to use nss to get the user's home dir and passes this to mailbox_command as

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Timo Sirainen
On Tue, 2009-10-13 at 21:57 +0200, Edgar Fuß wrote: Wouldn't it be much simpler to either -- make sieve (optionally) put .dovecot.lda-dupes in sieve_dir -- have a dovecot.conf home_dir parameter that, like mail_location, may be overridden by userdb? See if this works: plugin { home =

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Edgar Fuß
See if this works: plugin { home = /blah/%u } YES! Thanks! Regarding your response time, sometimes I'm convinced that ,,Timo Sirainen'' is really a pseudonym for a group of some ten people operating in 12-hour shifts, half of whose keep hacking on dovecot around the clock while the

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-13 Thread Charles Marcus
On 10/13/2009, Edgar Fuß (e...@math.uni-bonn.de) wrote: Regarding your response time, sometimes I'm convinced that ,,Timo Sirainen'' is really a pseudonym for a group of some ten people operating in 12-hour shifts, half of whose keep hacking on dovecot around the clock while the other half

[Dovecot] Homedir for sieve/LDAP

2009-10-12 Thread Edgar Fuß
I'm somewhat confused regarding Home Directories needed by sieve and setting them for an LDAP userdb. We have system users, passdb ldap, userdb ldap, but home directories are not mounted on the mail server. Now apparently, sieve needs the home directory for .dovecot.lda-dupes. Is there an

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-12 Thread Timo Sirainen
On Tue, 2009-10-13 at 00:02 +0200, Edgar Fuß wrote: We have system users, passdb ldap, userdb ldap, but home directories are not mounted on the mail server. It doesn't matter if Dovecot's home directories are different from the users' primary home directories. It's probably even better if

Re: [Dovecot] Homedir for sieve/LDAP

2009-10-12 Thread Timo Sirainen
On Tue, 2009-10-13 at 00:02 +0200, Edgar Fuß wrote: Is there an easier way to give lda/sieve a home directory than setting something along the lines of user_attrs = ...,uid=home=/import/mail/%$/home in dovecot-ldap.conf? You could also avoid using uid for that and use instead: ..,