Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 12.19, Edgar Fuß wrote: >> The "mail" field defaults to mail_location setting. > Ah, yes, thanks. So simple I didn't think of it. > Will it default when the LDAP attribute is not present or will I have to > check the attribute's presence in the LDAP filter? The default settings

Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-28 Thread Edgar Fuß
> The "mail" field defaults to mail_location setting. Ah, yes, thanks. So simple I didn't think of it. Will it default when the LDAP attribute is not present or will I have to check the attribute's presence in the LDAP filter?

Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-27 at 22:18 +0200, Edgar Fuß wrote: > With 1.2, is there a syntax to, for LDAP lookups, use a given fixed > replacement for a non-present LDAP attribute? > E.g. something that would extend > user_attrs = mailFileServer=mail=maildir:/import/mail/%$/%d > to use maildir:/import/

[Dovecot] Default for non-present LDAP attributes?

2012-06-27 Thread Edgar Fuß
With 1.2, is there a syntax to, for LDAP lookups, use a given fixed replacement for a non-present LDAP attribute? E.g. something that would extend user_attrs = mailFileServer=mail=maildir:/import/mail/%$/%d to use maildir:/import/mail/foo/%d in case the mailFileServer attribute is not pre