search for: search_base

Displaying 20 results from an estimated 32 matches for "search_base".

2011 Aug 04
0
dovecot + postfix + kerberos + AD - Multiple mailboxes ???
...ux, postfix-2.7.3, dovecot-2.0.11, AD-Windows2008R2 *main.cf:* virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf, ldap:/etc/postfix/ldap-users_oblr.cf I create a two ldap files for search Multiple mailboxes in attribute AD (mail, othermailbox). *ldap-users.cf:* server_host = srv-ad.cn.energy search_base = dc=cn,dc=energy version = 3 bind = yes bind_dn = admin bind_pw = passwd chase_referrals = no scope = sub query_filter = (&(objectclass=person)(|(mail=%s))(!(userAccountControl=514))) result_attribute = mail result_format = %s/ *ldap-users_oblr.cf:* server_host = srv-ad.cn.energy search_base...
2015 Feb 27
1
postfix ldap unknown user
...irtual_aliases.cf virtual_mailbox_domains = hash:/etc/postfix/virtual_domains virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf virtual_transport = dovecot My ldap_virtual_recipients.cf (same in ldap-citoyen.cf and in ldap_virtual_aliases.cf) server_host = ldap.marche.be search_base = ou=Users,ou=Citoyens,dc=marche,dc=be scope = sub bind = no version = 3 #query_filter = (&(|(mail=%s)(gosaMailAlternateAddress=%s))(objectClass=gosaMailAccount)) query_filter = (|(gosaMailAlternateAddress=%s)(mail=%s)(uid=%s)) #result_attribute = uid result_attribute = gosaMailForwardingAdd...
2010 Jan 05
6
Sieve > Pigeonhole > external storage with LDAP or other data source available to dovecot
I am looking at porting and generalizing an old in-house patch that I'm using for the CMU Sieve plugin. It allows sieve script to test & lookup arguments from LDAP. Before getting too involved in this, I'd like to discuss my goals here in the hopes that someone else also thinks this would be useful. Many heads may make better design? Goal: ------ Allows scripts which are still
2010 Jul 18
2
Unable to get Dovecot LDA/deliver working
...tc/postfix/ldap-users.cf virtual_alias_maps = ldap:/etc/postfix/ldap-groups.cf virtual_uid_maps = static:500 virtual_gid_maps = static:500 dovecot_destination_recipient_limit = 1 #virtual_transport = dovecot ## Commented out to deliver by Postfix /etc/postfix/ldap-users.cf server_host = localhost search_base = dc=domain,dc=com version = 3 query_filter = (&(objectclass=mailUser)(mail=%s)) result_attribute = uid result_format = %s/Maildir/ /etc/postfix/ldap-groups.cf server_host = localhost search_base = dc=domain,dc=com version = 3 query_filter = (&(objectclass=mailGroup)(mail=%s)) leaf_result...
2010 Feb 13
2
Dovecot+Postfix+Maildir with ActiveDirectory userbase
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, has anyone implemented a mail server with maildir, Postfix and Dovecot using Active Directory ad userbase and password authentication? Do I need Samba to authenticate users? Can I use credential caching just like mysql? Ciao, luigi - -- / +--[Luigi Rosa]-- \ This morning at breakfast, I noticed that Kellogg's have put a helpline number
2007 May 17
9
LDAP for Virtual Domains
Is anyone using LDAP along with Dovecot where mail is being accessed in the form of /var/vmail/${domain}/${user}? I have not figured out how to extract the domain from LDAP in order to make this work. I know this is sparse information but maybe there is an easy fix. If not, I can post more information. Bryan
2015 Apr 01
0
Mismatch search user in ldap
...toto at marche.be dovecot-ldap.conf.ext user_filter = (&(objectClass=posixAccount)(uid=%n)) virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf ldap_virtual_recipients.cf : server_host = localhost search_base = ou=Users,ou=Citoyens,dc=marche,dc=be scope = sub bind = no version = 3 query_filter = (&(|(mail=%s)(gosaMailAlternateAddress=%s)(gosaMailForwardingAddress=%s)(uid=%s))(objectClass=gosaMailAccount)) result_attribute = uid is it correct ? thanks
2016 Aug 04
0
Problem in samba-tool ldapcmp
...usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py", line 698, in __init__ self.dn_list = self.get_dn_list(context) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py", line 841, in get_dn_list res = self.con.ldb.search(base=self.search_base, scope=self.search_scope, attrs=["dn"])
2015 Feb 27
0
postfix ldap unknown user
...irtual_aliases.cf virtual_mailbox_domains = hash:/etc/postfix/virtual_domains virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf virtual_transport = dovecot My ldap_virtual_recipients.cf (same in ldap-citoyen.cf and in ldap_virtual_aliases.cf) server_host = ldap.marche.be search_base = ou=Users,ou=Citoyens,dc=marche,dc=be scope = sub bind = no version = 3 #query_filter = (&(|(mail=%s)(gosaMailAlternateAddress=%s))(objectClass=gosaMailAccount)) query_filter = (|(gosaMailAlternateAddress=%s)(mail=%s)(uid=%s)) #result_attribute = uid result_attribute = gosaMailForwardingAdd...
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Am 16.07.2015 um 17:18 schrieb Rowland Penny: > On 16/07/15 13:27, Reindl Harald wrote: >> >> Am 16.07.2015 um 14:02 schrieb Rowland Penny: >>> /etc/hosts should be: >>> >>> 127.0.0.1 localhost.localdomain localhost >> >> uhm no - you want 127.0.0.1 normally resolved to localhost and hence >> 127.0.0.1 localhost
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
...rf=self.errf) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 698, in __init__ self.dn_list = self.get_dn_list(context) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 841, in get_dn_list res = self.con.ldb.search(base=self.search_base, scope=self.search_scope, attrs=["dn"]) ---------------------- Which led me to check my /etc/resolv.conf and on one DC there was only one DNS entry to access local Samba and no line to ask to the other DC. I've added the second DC as nameserver and rerun the command... to obtain the...
2007 Feb 13
1
Problems to put dovecot-ldap.conf working
Hi Folks, I'm having 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_...
2010 Nov 14
1
dovecot with Active Directory problem
..."Error: re_encode_request new request is" occurs, and it doesn't operate still as follows. Postfix operates though connects with LDAP. The following are samples. ------------------------ # Active Directory Server settings domain = example.com server_host = ldap://xxx.xxx.xxx.xxx:389 search_base = dc=example, dc=com version = 3 timeout = 30 # Active Directory Searcher settings bind = yes bind_dn = cn=Mail Administrator, cn=Users, dc=example, dc=com bind_pw = ********* # Filter Query query_filter = (&(&(objectCategory=person)(|(mail=%s)(userPrincipalName=%s)))(!(userAccountControl...
2010 Jun 30
1
Dovecot LDA/LDAP
...500 /etc/postfix/master.cf (Dovecot settings) dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient} /etc/postfix/domains.cf domain.com /etc/postfix/ldap-users.cf server_host = host.domain.com search_base = dc=domain,dc=com version = 3 query_filter = (&(objectclass=person)(mail=%s)) result_attribute = uid result_format = %s/Maildir/ I've used http://www.linuxmail.info as an example. That works fine, but I want more.
2019 Apr 06
0
SMTPUTF8 support
...use Postfix LDAP lookup. For instance, I am using this LDAP schema: https://tools.ietf.org/html/draft-stroeder-mailboxrelatedobject-07 So, my LDAP lookup table for Postfix looks like this: # Basic LDAP settings for postfix server_host = ldap://ldap.rodier.me/ start_tls = yes search_base = dc=rodier,dc=me search_scope = sub # Allow advanced LDAP search with the recipient delimiter query_filter = (|(mail=%s)(intlMailAddr=%s)) result_attribute = mail # Force support for UTF8 version = 3 Therefore, postmap query works as expected: postmap -q andr...
2015 Jul 23
2
4.2.2 as AD with 2 DCs: database incoherency
...usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line > 698, in __init__ > self.dn_list = self.get_dn_list(context) > File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line > 841, in get_dn_list > res = self.con.ldb.search(base=self.search_base, > scope=self.search_scope, attrs=["dn"]) > > Finally I tried to demote non-FSMO DC: > > dc00:~# samba-tool domain demote -Uadministrator > Using dc20.ad.dgfip.lan as partner server for the demotion > ERROR(<class 'samba.drs_utils.drsException'>): uncaug...
2015 Jul 23
0
4.2.2 as AD with 2 DCs: database incoherency
...rf=self.errf) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 698, in __init__ self.dn_list = self.get_dn_list(context) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 841, in get_dn_list res = self.con.ldb.search(base=self.search_base, scope=self.search_scope, attrs=["dn"]) Finally I tried to demote non-FSMO DC: dc00:~# samba-tool domain demote -Uadministrator Using dc20.ad.dgfip.lan as partner server for the demotion ERROR(<class 'samba.drs_utils.drsException'>): uncaught exception - drsException: DRS...
2018 Dec 03
2
vacation script issue
Hello, I have a complete Postfix + Dovecot + openLDAP setup almost working, the only issue I have is the vacation script auto-reply that doesn't work properly. If I send an email to a user with the vacation filter enabled, the auto-reply is send to a local recipient with the same account name. So for example if I send a mail from test at xyz.com to test at example.com, the auto-reply is
2015 Jul 24
2
4.2.2 as AD with 2 DCs: database incoherency
On 24/07/15 13:53, mathias dufresne wrote: > The following commands work on both DC: > host -t A <short_hostname_of_other_DC> > host -t A <fqdn_hostname_of_other_DC> > > hostname and hostname --fqdn are working on both DC.The simplest way > is to not declare external IP /etc/hosts > > > SRV DNS entries which are working are: > host -t SRV >
2019 Apr 05
6
SMTPUTF8 support
Andr?, are you quite sure you have it working? In this thread someone from Open-Xchange stated that no, Dovecot doesn?t have SMTPUTF8 support implemented, and the same response was given by another Dovecot developer last September (it ?is being considered? was the answer then, see https://dovecot.org/pipermail/dovecot/2018-September/112887.html). I am using LMTP to deliver mail to Dovecot from