[Dovecot] managesieve error with dovecot

saurabh saurabh.kumar at techblue.co.uk
Thu Dec 12 14:46:03 EET 2013


Hi Steffen,

Thanks a ton. You idea helped me get out of the error.

user_attrs = =home=/mail/%d/%n/, uidNumber=uid, gidNumber=gid

this worked well without any error.

Thanks for you valuable time and support.


Regards,
Saurabh



On Thursday 12 December 2013 05:35 PM, Steffen Kaiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 12 Dec 2013, saurabh wrote:
>
>> user_attrs =  homeDirectory=/mail/%d/%n/, uidNumber=uid, gidNumber=gid
>
> That's it,
>
> If you want to use a static home dir pattern, write:
>
> user_attrs = =home=/mail/%d/%n/, uidNumber=uid, gidNumber=gid
>
> Note the =home= syntax, one = in front of and one after "home". You said:
> "The value of the LDAP attribute homeDirectory is stored in setting
> /mail/%d/%n".
>
> If that fails, too, because I do not know, if %d and %n variables
> are accepted in that config file, use:
>
> user_attrs = uidNumber=uid, gidNumber=gid
>
> and update the userdb {} setting to:
>
> userdb {
>  args = /etc/dovecot/dovecot-ldap.conf.ext
>  driver = ldap
>
>   # Default fields can be used to specify defaults that LDAP may override
>   default_fields = home=/mail/%d/%n/
>
> }
>
> Note: This time just home=, no = in front of "home".
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBUqmmoF3r2wJMiz2NAQKGbggAjUZMlSDgfeyLha856V+lZhCvS0b66IB7
> 7ZxP7Jxph3VzfbUUIJ61AjglHSPp4dud+9L5/NK0wJFylPUlqImctHjf3ucTwUmw
> TUvLQ6W2Fdu/wiSPd/h48VLuS09vFz760pvuCTUlP9eD3SzokmRatvTwhikcFkSI
> LCV2Mekzc/wxVtzcYejmBCnH0q0LMxNN2qN5P+AiSpVuYiTNQM5Dnjf+VfvmV5kl
> G2oVVihJ5eZqh4jeQs5XuiR/2cqgAi5lnGQekEBRqr0YEevbHFIlkxlqqx5xk2aV
> PqHrkE+f5AaXSCM3b4beScMnEEIhW0Egz//G3xlR3UGg1xF7zPDRDg==
> =gdr9
> -----END PGP SIGNATURE-----

-- 
Saurabh Kumar
System Admin (RHCSA,RHCE,RHCVA)



More information about the dovecot mailing list