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 present?
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/mail/foo/%d in case the mailFileServer attribute is not present?The "mail" field defaults to mail_location setting. Other fields you can put to plugin {} section.