Displaying 10 results from an estimated 10 matches for "virtualmailaccount".
2007 Feb 13
1
Problems to put dovecot-ldap.conf working
...ving a little trouble to put dovecot authenticating in ldap.
My postfix and saslauthd are authenticating fine.
Here is what I have in my main.cf:
# Accounts
accounts_server_host = $ldap_server_host
accounts_search_base = $ldap_search_base
accounts_query_filter =
(&(&(objectClass=VirtualMailAccount)(mail=%s))(forwardActive=FALSE)(acco
untActive=TRUE)(delete=FALSE))
accounts_result_attribute = mailbox
accounts_cache = no
# aliases
aliases_server_host = $ldap_server_host
aliases_search_base = $ldap_search_base
aliases_query_filter =
(&(&(objectClass=VirtualMailAlias)(mail=%s))(...
2007 May 04
1
Help with LDAP authentication - user / user+domain
...hosts = localhost
dn = uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot
dnpass = XXXXXX
auth_bind = no
ldap_version = 3
base = dc=domain,dc=com
deref = never
scope = subtree
user_attrs = mail,homeDirectory,,,,quota=quota=maildir:storage
user_filter =
(&(objectClass=VirtualMailAccount)(mail=%u)(accountActive=TRUE)(delete=F
ALSE))
pass_attrs = mail,userPassword
pass_filter =
(&(objectClass=VirtualMailAccount)(mail=%u)(accountActive=TRUE)(delete=F
ALSE))
default_pass_scheme = SSHA
user_global_uid = 100
user_global_gid = 101
My logs:
Apr 30 13:47:58 server dovec...
2011 Nov 22
2
"%d" does not expand to domain on wildcard search
...search like:
doveadm search *@domain ALL LARGER 10000k
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users
In /var/log/dovecot.log:
Nov 22 20:48:07 auth-worker: Debug: ldap: iterate: base=vd=%d,dc=domain
scope=subtree
filter=(&(objectClass=VirtualMailAccount)(accountActive=TRUE)) fields=mail
Nov 22 20:48:07 auth-worker: Error: ldap(?):
ldap_search((&(objectClass=VirtualMailAccount)(accountActive=TRUE)))
failed: No such object
Is this a bug?
Configs:
#file /usr/local/etc/dovecot/dovecot-ldap.conf.ext:
hosts = x.x.x.x
dn = cn=dovecot,dc=domain
d...
2007 Feb 15
1
Dovecot forward problems
...02: from=<me at domain>, size=360, nrcpt=1
(queue active)
dovecot: auth(default_with_listener): master in: USER 1
user at domain service=deliver
dovecot: auth(default_with_listener): ldap(user at domain): user search:
base=dc=example,dc=com scope=subtree
filter=(&(objectClass=VirtualMailAccount)(mail=user at domain)(accountActiv
e=TRUE)(delete=FALSE)) fields=mail,homeDirectory
dovecot: auth(default_with_listener): master out: USER 1
user at domain uid=202 gid=202
deliver(user at domain): msgid=<20070215182523.62C9034002 at mysmtpserver>:
saved mail to INBOX
postfix/pipe...
2007 Oct 16
1
Errata: dovecot + ldap + virtual mailbox: building mail location path
...ot;, i.e.
writers.com/Jack.London) from the userdb in dovecot-ldap.conf:
auth_bind = yes
auth_bind_userdn = mail=%u,vd=%d,o=hosting,dc=example,dc=com
ldap_version = 3
base = o=hosting,dc=example,dc=com
deref = never
scope = subtree
user_attrs = mail,,mailbox,mail,,
user_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
pass_attrs =
mail=user,userPassword=password,mailbox=userdb_home,mail=userdb_uid,mail
=userdb_mail
pass_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
default_pass_scheme = CRYPT
In the LDAP database the fields are something like:
mail...
2014 Dec 18
4
Awfully slow dovecot
...l
group: mail
plugin:
convert_mail: maildir:/var/mail/domains/%d/%u/mail
dovecot-ldap.conf:
auth_bind = yes
hosts = example.com
ldap_version = 3
base = o=hosting,dc=example,dc=com
dn = cn=phamm,o=hosting,dc=example,dc=com
dnpass = password
pass_attrs = mail
pass_filter = (&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
user_attrs = mail,,,mail,,,quota=quota=maildir:storage
user_filter = (&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
deref = never
scope = subtree
default_pass_scheme = MD5
user_global_uid = 500
user_global_gid = 12
2008 Dec 23
1
Dovecot-auth timeouts
...---
hosts = localhost
auth_bind = yes
auth_bind_userdn = cn=%n,ou=%d,ou=mail,dc=domain,dc=com
ldap_version = 3
base = ou=mail,dc=domain,dc=com
dn = cn=Manager,dc=domain,dc=com
dnpass = secret
deref = never
scope = subtree
pass_attrs = mail=user,userPassword=password
user_filter = (&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
pass_filter = (&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
user_global_uid = 1001
user_global_gid = 1001
---end---
2014 Oct 27
1
dovecot ldap quota
...e-ns-eoh
grep -v '^ *\(#.*\)\?$' dovecot-ldap.conf.ext
uris = ldap://localhost
dn = cn=phamm,o=hosting,dc=example,dc=com
dnpass = ops
auth_bind = yes
ldap_version = 3
base = o=hosting,dc=example,dc=com
deref = never
user_attrs = quota=quota_rule=*:bytes=%$
user_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
pass_attrs = mail=user,userPassword=password
pass_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
And at the end the problem that i see on log:
Oct 27 20:42:36 mail dovecot: imap: Debug: Loading modules from
directory: /usr/lib/dovecot...
2007 Feb 22
0
Dovecot Quota + LDAP
...vmail/%d/%u/mail:storage=102400
# convert_mail = maildir:/var/lib/imap/vmail/%d/%u/mail
#quota = maildir:storage=102400
}
And here is my user attributes in my dovecot-ldap.conf:
user_attrs = mail,homeDirectory,,,,quotaStorage=quota=dirsize:storage
user_filter =
(&(objectClass=VirtualMailAccount)(mail=%u)(accountActive=TRUE)(delete=F
ALSE))
As you can see above in my dovecot.conf, I made a comment at plugin
section to ensure that there's no quota usage for all system. I'd like
to have per user quota stored in my ldap base.
Here is a value off my quota attribute:
quota...
2007 May 24
1
Simple questions about Quota
...mode = 0660
user = vmail
group = mail
}
}
}
plugin {
quota = maildir
}
/etc/dovecot-ldap.conf
...
user_attrs = mail,homeDirectory,,,,quota=quota=maildir:storage
user_filter =
(&(objectClass=VirtualMailAccount)(mail=%u)(accountActive=TRUE)(delete=F
ALSE))
I'm heaving heavy load of e-mails in this environment, so this problem
started to happen:
Almost all users have 100MB of quota, that's ok for us and we are
storing 102400 at our ldap. But, when I put this configuration working
on, all cl...