search for: iterate_filt

Displaying 20 results from an estimated 101 matches for "iterate_filt".

Did you mean: iterate_filter
2018 Oct 25
1
Exclude userdb from iterate users
Hi, I have a system with various userdbs defined, mostly all of them based on ldap (and a few passwd-files). I want one of my ldap userdbs not to be used in "doveadm user -A" commands, that is to be excluded in iterate searchs. I have no iterate_filter neither iterate_attrs configured in that userdb, but it is still used. Is it possible? How? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337
2011 Dec 15
3
doveadm quota does not list all accounts
Hello, I am running dovecot-2.0.13-1_128.el5 x86_64 RPM on CentOS 5.7. All accounts are virtual, hosted on LDAP Server. My problem is that the command: doveadm quota get -A stopped listing all accounts. I think this problem started after I changed in LDAP lookup configuration from "scope = subtree" to "scope = onelevel", because it did not occur before (I did no
2014 Jun 05
4
doveadm index - Bug or expected behaviour?
..._version = 3 base = ou=%d,ou=mail,ou=services,dc=domain scope = subtree deref = never user_filter = (& (cn=%n)(objectclass=nisMailAlias)(ContaAtiva=TRUE) ) user_attrs = cn=rfc822mailmember,EmailQuota=quota_rule=*:storage=%$M,EmailQuotaSpecial=quota_rule=*:storage=%$M,eduPersonPrincipalName=eppn iterate_filter = (&(objectclass=nisMailAlias)(ContaAtiva=TRUE)(!(EmailQuota=0))) iterate_attrs = rfc822mailmember=user This is the error reported by doveadm index: doveadm(root): Error: User listing returned failure doveadm: Error: Failed to iterate through some users If you put a tcpdump to monitor the...
2017 Jul 07
2
how to make user iteration work (with active directory ldap)
...pecific emails from all mailboxes, in case of for example received virusses... Here is my question again: Hi, User iteration doesn't work, we're getting: > auth: Error: Trying to iterate users, but userdbs don't support it The way I understand it, I need to set iterate_attrs and iterate_filter for iteration to work. I have set it (see configs below) and yet dovecot says "userdbs don't support it". What else do I need to do to enable it? Our config is against samba Active Directory ldap and generally works fine. Can anyone here take a quick look at the configs below, a...
2017 Feb 13
0
pop3 and dsync master-master replication issue causing duplicate delivery (resolved)
...s = PASSWORD ldap_version = 3 base = ou=instances,dc... deref = never scope = subtree user_attrs = \ =home=/mail/spool/hash-%0.2M{ldap:uid}/%{ldap:uid}, \ =mail=maildir:/mail/spool/hash-%0.2M{ldap:uid}/%{ldap:maildrop} user_filter = (&(objectClass=mailUser)(uid=%n)) iterate_attrs = uid=user iterate_filter = (objectClass=mailUser) ############################################### passdsb ############################################### hosts = localhost dn = cn=dovecot,dc=dc... dnpass = PASSWORD ldap_version = 3 base = ou=instances,dc=dc... deref = never scope = subtree pass_attrs = uid=user,userPa...
2018 Jan 16
1
Replication configuration
...eplication between two servers, for only specified virtual users, without success of course :) I am using LDAP for accounting. I have tried to pass a file with list like this: replication_dsync_parameters = -d -N -l 30 -U -F /etc/dovecot/list I have even tried to specify users with LDAP filter: iterate_filter = (|(uid=user1)(uid=user2)) both without success... But replicator every 5 minutes tries to replicate all users. I want this mainly for testing (i am preparing to server migration) and for bigger control who and when will be replicated/transferred. Dovecot 2.2.27 (Debian 9.3) -- Pagarbia...
2017 Aug 04
2
Problem switching from LDA to LMTP (with Postfix)
...nelevel ldap_version = 3 dn = uid=auth,ou=Sys,dc=noa,dc=gr dnpass = secret auth_bind = yes user_filter = (uid=%u) pass_filter = (uid=%u) pass_attrs = uid=user,userPassword=password auth_bind_userdn = uid=%u,ou=people,dc=noa,dc=gr user_attrs = roomNumber=quota_rule=*:bytes=%$,uid=home=/home/vmail/%u iterate_filter = (objectClass=*) ---------------------------------------------------------------------------------------- Thanks in advance, Nick
2015 Jun 26
2
authenticate LDAP to email server
...her question, can i set up mail groups on dovecot? > > cheers > > rob > Hi Rob, all you need to do is figure out what the attribute in your LDAP tree is, that holds the email address. Then configure uris, dn, dnpass, [tls*], base, scope, user_attrs, user_filter, iterate_attrs and iterate_filter in /etc/dovecot/dovecot-ldap.conf.ext and uncomment the include line in /etc/dovecot/conf.d/10-auth.conf http://wiki2.dovecot.org/AuthDatabase/LDAP/Userdb Good luck Daniel
2017 Sep 13
3
Problem w/ Dovecot authentication against AD
...ind = yes ldap_version = 3 base = DC=srv,dc=SLD,dc=net deref = never scope = subtree user_attrs =? sAMAccountName=user user_filter = (&(sAMAccountName=%n)(objectclass=person)) pass_attrs = sAMAccountName=user pass_filter = (&(sAMAccountName=%n)(objectclass=person)) iterate_attrs = mail=user iterate_filter = (objectclass=person) default_pass_scheme = PLAIN The problem might be caused by the referal-info sent by the AD, which I can see both in the results dovecot gets (checked with tcpdump), as well as in ldapsearch ... apart from the actual search result, I always get three additional results: #...
2016 Oct 24
2
Problem to configure dovecot-ldap.conf.ext
...serdb_gid # Filter for password lookups #pass_filter = (&(objectClass=posixAccount)(uid=%u)) pass_filter = (&(objectClass=mailrecipient)(|(uid=%Ln)(mail=%Lu) (mailAlternateAddress=%Lu))) # Attributes and filter to get a list of all users iterate_attrs = uid=user, mailAlternateAddress=user iterate_filter = (objectClass=posixAccount) # Default password scheme. "{scheme}" before password overrides this. # List of supported schemes is in: http://wiki2.dovecot.org/Authentication #default_pass_scheme = CRYPT -- mit freundlichen Gr??en / best regards, G?nther J. Niederwimmer
2017 Jul 04
0
how to make user iteration work (ldap)
Hi, User iteration doesn't work, we're getting: > auth: Error: Trying to iterate users, but userdbs don't support it The way I understand it, I need to set iterate_attrs and iterate_filter for iteration to work. I have set it, and yet it does't work with the above failure. Our config is against ldap (active directory) and generdoveadm user -u "*" oalally works fine. Can anyone here take a quick look, and tell me how to make > doveadm user -u "*" work...
2015 Jun 25
2
authenticate LDAP to email server
hi all, first things first my version and config - # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-504.el6.x86_64 x86_64 CentOS release 6.6 (Final) auth_mechanisms = plain login mail_location = maildir:~/Maildir mbox_write_locks = fcntl passdb { driver = pam } protocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode =
2011 Jul 16
1
dovecot 2.0.13 using LDAP and proxying IMAP4 and POP3 to gmail
...r scope = subtree user_attrs = =home=/var/mail,uidNumber=uid,gidNumber=gid user_filter = (&(objectClass=posixAccount)(uid=%n)) pass_attrs = mail=user,userPassword=password,uid=proxy,=ssl=any-cert,city=host,description=pass,cn=nologin pass_filter = (&(objectClass=posixAccount)(uid=%n)) iterate_filter = (objectClass=posixAccount) default_pass_scheme = CRYPT When connecting to dovecot through an IMAP client (evolution in my case) the dovecot log shows: Jul 16 13:32:17 linux-1hen dovecot: auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth Jul 16 13:32:17 linux-1hen do...
2016 Oct 25
0
Problem to configure dovecot-ldap.conf.ext
...mail=%Lu) > (mailAlternateAddress=%Lu))) Looks good, if doveadm user -u info at example.co returns something sensible, beause the user filter is the same. > # Attributes and filter to get a list of all users > iterate_attrs = uid=user, mailAlternateAddress=user same as pass_attr. > iterate_filter = (objectClass=posixAccount) Looks strange, should be iterate_filter = (objectClass=mailrecipient) > # Default password scheme. "{scheme}" before password overrides this. > # List of supported schemes is in: http://wiki2.dovecot.org/Authentication > #default_pass_scheme = CR...
2017 Nov 02
2
LDAP Filters as defined for dovecot UserDB and passDB
...k at the attributes seen by one of these accounts, I used the apache studio to find out what was visible. >From that I saw inetOrgPerson could be used. So I changed the filters. ?user_filter = (&(objectClass=inetOrgPerson)(uid=%u)) ?pass_filter = (&(objectClass=inetOrgPerson)(uid=%n)) ?iterate_filter = (objectClass=inetOrgPerson) Nov 02 14:26:44 mail2 dovecot[29047]: auth: Debug: client in: AUTH??????? 1??????? PLAIN??????? service=imap??????? secured??????? session=Y0GBzgVdlorAqHsn??????? lip=192.168.123.236? Nov 02 14:26:44 mail2 dovecot[29047]: auth-worker(29066): Debug: ldap(sales at use...
2016 Feb 12
2
Segmentation fault on doveadm search -A with a huge user base
Hi, I'm using dovecot 2.2.9 with a director/backend setup. The user base is about 4711 users currently. If I start at one of the directors doveadm search -A all savedbefore 5000d it terminates with doveadm(1rrissma): Error: doveadm server disconnected before handshake: EOF doveadm(1rrissma): Error: 2001:638:913:f33::5:ff:24245: Command search failed for 1phaaman: EOF
2018 Feb 22
2
replication and .dovecot.lda-dupes
...dovecot/ldap.conf (hostnames anonymized): uris = ldaps://ldap1/ ldaps://ldap2/ base = dc=domain user_filter = (&(objectClass=posixAccount)(uid=%u)) user_attrs = \ =user=%{ldap:uid}, \ =uid=%{ldap:uidNumber}, \ =gid=%{ldap:gidNumber} pass_filter = (&(objectClass=posixAccount)(uid=%u)) iterate_filter = (&(objectClass=posixAccount)(istMailHomeServer=servername)) auth_bind = yes /etc/dovecot/userdb.override is currently an empty file. P.S.: Although I do not think, that this has something to do with our problem, I should mention that we run SIS with system uids. This needs some permiss...
2013 Dec 16
2
connection Dovecot to samba4
...localhost dn = cn=ldap,cn=Users,DC=domain,DC=local dnpass = password ldap_version = 3 base = cn=Users,DC=domain,DC=local #user_attrs = user_attrs=uid=5000,=gid=5000,=home=/data/mail/%d/%n,mail=/data/mail/%d/%u/Maildir user_filter = (&(objectClass=person)(cn=%u)(mail=*)) iterate_attrs = cn=user iterate_filter = (objectClass=person) When I try to login with useraccountadministrator I get the following error messages: 2013-12-16 11:28:29 auth: Info: ldap(ldap,127.0.0.1,<N3HjRaTtdAB/AAAB>): unknown user 2013-12-16 11:28:29 auth: Error: userdb(ldap,127.0.0.1,<N3HjRaTtdAB/AAAB>): user not...
2013 Apr 17
2
qmail-ldap LDA Delivery and sieve
...= subtree user_attrs = uidNumber=11184,gidNumber=2110 user_filter = (&(objectClass=qmailUser)(uid=%u)(accountStatus=active)) pass_attrs=uid=user,userPassword=password,mailHost=host,=proxy_maybe=y pass_filter = (&(objectClass=qmailUser)(uid=%u)(accountStatus=active)) iterate_attrs = uid=user iterate_filter = (&(objectClass=qmailUser)(accountStatus=active)) # dovecot -n output: # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-xen-amd64 x86_64 Debian 6.0.7 ext4 default_client_limit = 8000 default_process_limit = 2048 disable_plaintext_auth = no hostname = mail.mondialline.com.br lda_mailb...
2013 May 31
1
Configuration advice needed.
...auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso)(auaStatut=perso-sortant))) pass_attrs = uid=user,userPassword=password pass_filter = (&(|(uid=%u) (mail=%u) (auaAliasEmail=%u)) (|(auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso) (auaStatut=perso-sortant))) iterate_attrs = uid=user iterate_filter = (|(auaStatut=etu)(auaStatut=etu-sortant)(auaStatut=perso)(auaStatut=perso-sortant)) default_pass_scheme = MD5-CRYPT