Displaying 3 results from an estimated 3 matches for "mnuser".
Did you mean:
myuser
2017 Jul 21
2
Return extra fields from passwd userdb
...= /var/log/dovecot/dovecot-lda.log
log_path = /var/log/dovecot/dovecot-lda.log
mail_plugins = acl quota sieve
}
protocol imap {
mail_max_userip_connections = 20
mail_plugins = acl quota imap_acl imap_quota
}
File /var/etc/dovecot/dovecot-ldap.conf.ext is:
hosts = localhost
base = ou=mnusers,dc=majornet,dc=local
user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes}
But when I run:
doveadm -D quota get -u afasystems
No extra field is returned:
doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot
doveadm(root): Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so...
2017 Jul 21
0
Return extra fields from passwd userdb
...a.log log_path =
> /var/log/dovecot/dovecot-lda.log mail_plugins = acl quota sieve }
> protocol imap { mail_max_userip_connections = 20 mail_plugins =
> acl quota imap_acl imap_quota }
>
>
> File /var/etc/dovecot/dovecot-ldap.conf.ext is:
>
> hosts = localhost base = ou=mnusers,dc=majornet,dc=local
> user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes}
>
>
> But when I run: doveadm -D quota get -u afasystems
Well, first try this:
doveadm user afasystems
All extra fields should be displayed (quotaByte only in your example).
Then verify that this user has q...
2017 Jul 20
3
Return extra fields from passwd userdb
Hi,
thanks for your helpful reply.
I understand that default_fields is not my solution.
To be more accurate, all users in ldap db need to use mail, but some
users in /etc/passwd file use mail too.
For this reason I set up "driver=passwd" in userdb section and in
/etc/nsswitch.conf I set up "passwd: files ldap".
Now I want to use dovecot per user quota to limit ldap