Re: [Dovecot] Dovecot LDAP issue

2014-04-08 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 8 Apr 2014, Deeztek Support wrote: Date: Tue, 8 Apr 2014 05:36:51 -0400 From: Deeztek Support Reply-To: Dovecot Mailing List To: dovecot@dovecot.org Subject: Re: [Dovecot] Dovecot LDAP issue On 4/8/2014 2:18 AM, Steffen Kaiser wrote

Re: [Dovecot] Dovecot LDAP issue

2014-04-08 Thread Deeztek Support
On 4/8/2014 6:12 AM, Mihai Badici wrote: As I already said, authentication is one thing and delivery is other thing. This filter receive probably different variable as %u when deliver ( posibly the mail address or the user part from it, depending on your master.cf . You can use an | in the ldap

Re: [Dovecot] Dovecot LDAP issue

2014-04-08 Thread Mihai Badici
On Tuesday 08 April 2014 05:36:51 Deeztek Support wrote: > On 4/8/2014 2:18 AM, Steffen Kaiser wrote: > > The primary question is: Does > > > > ldapsearch -H ldap://server.domain.tld:389 \ > > > > -b dc=domain,dc=tld -D ... -W \ > > '(&(userPrincipalName=<>)(objectClass=person)(!(userAccount

Re: [Dovecot] Dovecot LDAP issue

2014-04-08 Thread Deeztek Support
On 4/8/2014 2:18 AM, Steffen Kaiser wrote: The primary question is: Does ldapsearch -H ldap://server.domain.tld:389 \ -b dc=domain,dc=tld -D ... -W \ '(&(userPrincipalName=<>)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))' return the user? yes it does. The authen

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Mihai Badici
On Monday 07 April 2014 13:46:20 Deeztek Support wrote: > Dovecot version: 2.0.19 > --- > grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf > > hosts = server.domain.tld:389 > ldap_version= 3 > auth_bind = yes > dn

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 7 Apr 2014, Deeztek Support wrote: On 4/7/2014 6:13 PM, Reindl Harald wrote: Am 07.04.2014 23:47, schrieb Deeztek Support: On 4/7/2014 4:42 PM, Christian Schmidt wrote: 7.04.2014 20:43, Deeztek Support: On 4/7/2014 2:08 PM, Oscar del R

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Deeztek Support
On 4/7/2014 6:13 PM, Reindl Harald wrote: Am 07.04.2014 23:47, schrieb Deeztek Support: On 4/7/2014 4:42 PM, Christian Schmidt wrote: 7.04.2014 20:43, Deeztek Support: On 4/7/2014 2:08 PM, Oscar del Rio wrote: On 04/ 7/14 01:46 PM, Deeztek Support wrote: I'm authenticating users through

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Reindl Harald
Am 07.04.2014 23:47, schrieb Deeztek Support: > On 4/7/2014 4:42 PM, Christian Schmidt wrote: >> 7.04.2014 20:43, Deeztek Support: >>> On 4/7/2014 2:08 PM, Oscar del Rio wrote: On 04/ 7/14 01:46 PM, Deeztek Support wrote: > > I'm authenticating users through AD and it seems to w

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Deeztek Support
On 4/7/2014 4:42 PM, Christian Schmidt wrote: 7.04.2014 20:43, Deeztek Support: On 4/7/2014 2:08 PM, Oscar del Rio wrote: On 04/ 7/14 01:46 PM, Deeztek Support wrote: I'm authenticating users through AD and it seems to work with no problems. Unfortunately, when I try to send e-mail from a us

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Christian Schmidt
7.04.2014 20:43, Deeztek Support: > On 4/7/2014 2:08 PM, Oscar del Rio wrote: >> >> On 04/ 7/14 01:46 PM, Deeztek Support wrote: >>> >>> I'm authenticating users through AD and it seems to work with no >>> problems. Unfortunately, when I try to send e-mail from a user who's >>> not in the testou co

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Deeztek Support
On 4/7/2014 2:08 PM, Oscar del Rio wrote: On 04/ 7/14 01:46 PM, Deeztek Support wrote: I'm authenticating users through AD and it seems to work with no problems. Unfortunately, when I try to send e-mail from a user who's not in the testou container I get the following error: Sender address re

Re: [Dovecot] Dovecot LDAP issue

2014-04-07 Thread Oscar del Rio
On 04/ 7/14 01:46 PM, Deeztek Support wrote: I'm authenticating users through AD and it seems to work with no problems. Unfortunately, when I try to send e-mail from a user who's not in the testou container I get the following error: Sender address rejected: User unknown in virtual mailbox

[Dovecot] Dovecot LDAP issue

2014-04-07 Thread Deeztek Support
Dovecot version: 2.0.19 --- grep -v '^ *\(#.*\)\?$' /etc/dovecot/dovecot-ldap.conf hosts = server.domain.tld:389 ldap_version= 3 auth_bind = yes dn = vm...@domain.tld dnpass = somepassword base

Re: [Dovecot] Dovecot+LDAP lda problem

2013-12-10 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Dec 2013, Zeljko Culek wrote: I'll try to simplify to be more understandable: I have a mailing group (or list if you prefer) e.g. develop...@nth.ch. This group has many recipients, defined with LDAP attribute maiForwardingAddress for d

Re: [Dovecot] Dovecot+LDAP lda problem

2013-12-10 Thread Zeljko Culek
I'll try to simplify to be more understandable: I have a mailing group (or list if you prefer) e.g. develop...@nth.ch. This group has many recipients, defined with LDAP attribute maiForwardingAddress for develop...@nth.ch. Those recipients can be both internal (nth.ch) and external (any other

[Dovecot] Dovecot+LDAP lda problem

2013-12-10 Thread Zeljko Culek
Hello everyone, I need some help with Dovecot+LDAP config and local delivery. We're using Dovecot 2.0.9 on Centos 6.4. Before, we used Qmail with the same LDAP. Our LDAP accounts have the attribute deliveryMode which we used for mailing lists (OK, they are in fact mailing groups rather than

Re: [Dovecot] Dovecot+LDAP lda problem

2013-12-10 Thread Giles Coochey
On 10/12/2013 09:00, Zeljko Culek wrote: Your email looks blank to me, with a jpg "NTH" logo. -- Regards, Giles Coochey, CCNP, CCNA, CCNAS NetSecSpec Ltd +44 (0) 8444 780677 +44 (0) 7983 877438 http://www.coochey.net http://www.netsecspec.co.uk gi...@coochey.net smime.p7s Description: S/MIME

Re: [Dovecot] Dovecot+LDAP lda problem

2013-12-10 Thread Zeljko Culek
<>

Re: [Dovecot] Dovecot+LDAP lda problem

2013-12-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Dec 2013, Zeljko Culek wrote: I need some help with Dovecot+LDAP config and local delivery. We're using Dovecot 2.0.9 on Centos 6.4. Before, we used Qmail with the same LDAP. Our LDAP accounts have the attribute deliveryMode which we

[Dovecot] Dovecot+LDAP lda problem

2013-12-09 Thread Zeljko Culek
<>

Re: [Dovecot] dovecot-ldap : can't find user in OU subtree // solved

2013-10-31 Thread Achim Gottinger
2013, m...@electronico.nc wrote: passdb { args = /etc/dovecot/dovecot-ldap-passdb.conf.ext driver = ldap } /etc/dovecot/dovecot-ldap-passdb.conf.ext: hosts = localhost auth_bind = yes auth_bind_userdn = cn=%u,OU=users,dc=domain,dc=lan You define your bind DN as cn=%u,OU=users,dc=domain,dc

Re: [Dovecot] dovecot-ldap : can't find user in OU subtree // solved

2013-10-30 Thread me
= /etc/dovecot/dovecot-ldap-passdb.conf.ext driver = ldap } /etc/dovecot/dovecot-ldap-passdb.conf.ext: hosts = localhost auth_bind = yes auth_bind_userdn = cn=%u,OU=users,dc=domain,dc=lan You define your bind DN as cn=%u,OU=users,dc=domain,dc=lan ldap_version = 3 base = ou=users,dc=domain,dc

Re: [Dovecot] dovecot-ldap : can't find user in OU subtree

2013-10-30 Thread Achim Gottinger
Am 30.10.2013 21:17, schrieb m...@electronico.nc: Hello and thanks for your answer. Le 30/10/2013 19:32, Steffen Kaiser a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Oct 2013, m...@electronico.nc wrote: passdb { args = /etc/dovecot/dovecot-ldap-passdb.conf.ext

Re: [Dovecot] dovecot-ldap : can't find user in OU subtree

2013-10-30 Thread me
Hello and thanks for your answer. Le 30/10/2013 19:32, Steffen Kaiser a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Oct 2013, m...@electronico.nc wrote: passdb { args = /etc/dovecot/dovecot-ldap-passdb.conf.ext driver = ldap } /etc/dovecot/dovecot-ldap

Re: [Dovecot] dovecot-ldap : can't find user in OU subtree

2013-10-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 30 Oct 2013, m...@electronico.nc wrote: passdb { args = /etc/dovecot/dovecot-ldap-passdb.conf.ext driver = ldap } /etc/dovecot/dovecot-ldap-passdb.conf.ext: hosts = localhost auth_bind = yes auth_bind_userdn = cn=%u,OU=users,dc

[Dovecot] dovecot-ldap : can't find user in OU subtree

2013-10-30 Thread me
False { auto = subscribe } mailbox SpamToLearn { auto = subscribe } prefix = separator = / type = private } passdb { args = /etc/dovecot/dovecot-ldap-passdb.conf.ext driver = ldap } plugin { acl = vfile mail_log_events = delete undelete expunge copy mailbox_delete mailbox_r

Re: [Dovecot] dovecot+LDAP/AD encoding issue

2012-08-09 Thread Wiethoff, Helge
Hi Matthew, > You mentioned Roundcube earlier. I notice this in Roundcube's default > main.inc.php: > > // Password charset. > // Use it if your authentication backend doesn't support UTF-8. > // Defaults to ISO-8859-1 for backward compatibility > $rcmail_config['password_charset'] = 'ISO-

Re: [Dovecot] dovecot+LDAP/AD encoding issue

2012-08-08 Thread Matthew Powell
On 2012-08-08, at 7.56, "Wiethoff, Helge" wrote: > As you can see this is ISO-8859-1: e4 --> ä > But the first incoming String from the client was UTF-8 encoded!? > > [Tue Aug 07 10:56:37 2012] [debug] mod_dumpio.c(74): mod_dumpio: dumpio_in > (data-TRANSIENT): _pass=T%C3%A4st1234 > > Anyway.

Re: [Dovecot] dovecot+LDAP/AD encoding issue

2012-08-08 Thread Wiethoff, Helge
Hello Daniel, Daniel Parthey wrote: > Probably you are interested in reading the discussion from 2008: > http://www.dovecot.org/list/dovecot/2008-November/035263.html > > I think, a simple and robust solution would be to limit the > allowed characters for user passwords in your password > manageme

Re: [Dovecot] dovecot+LDAP/AD encoding issue

2012-08-07 Thread Daniel Parthey
Wiethoff, Helge wrote: > Hello everybody, > > i have a problem with dovecot+Active Directory as Authentication-Service. I > am not able to use special characters (äöüß (german umlaut)) within a > password. Normally I would suggest that the ldap-query is done in UTF-8 but > as I debugged the aut

[Dovecot] dovecot+LDAP/AD encoding issue

2012-08-07 Thread Wiethoff, Helge
Hello everybody, i have a problem with dovecot+Active Directory as Authentication-Service. I am not able to use special characters (äöüß (german umlaut)) within a password. Normally I would suggest that the ldap-query is done in UTF-8 but as I debugged the auth-process, I have seen that the pas

Re: [Dovecot] dovecot, ldap and multiple auth_bind_userdn

2012-05-01 Thread Timo Sirainen
On 1.5.2012, at 11.33, Cédric Jeanneret wrote: > Unfortunately, I cannot manage to tell him "hey guy, uses those two branches": > uid=%u,ou=user,dc=org and uid=%u,ou=external,dc=org > > Is there a special way to do that ? Is it even possible ? > I cannot modify the ldap tree, so this option is ou

[Dovecot] dovecot, ldap and multiple auth_bind_userdn

2012-05-01 Thread Cédric Jeanneret
Hello List! I'm having some troubles for a client of mine: he has two ldap branches which may contain valid users for imap login... For now, dovecot is configured so that it uses the auth_bind: uris = ldap://localhost:389/ auth_bind = yes auth_bind_userdn = uid=%u,ou=user,dc=org ldap

[Dovecot] Dovecot + LDAP login issues

2011-08-07 Thread ml lists
Morning all, I've managed to work my self into a corner and hoping someone can help me out I have OpenLDAP and Dovecot installed based on the following documents: https://help.ubuntu.com/community/DovecotLDAP https://help.ubuntu.com/community/OpenLDAPServer When Dovecot is set up to log in

Re: [Dovecot] dovecot ldap failed to recover

2011-04-04 Thread Timo Sirainen
On Wed, 2011-03-30 at 15:26 +0200, Jan-Frode Myklebust wrote: > The problem seemed to start with this log entry: > > Mar 29 18:57:21 popimap1 dovecot: auth(default): > ldap(us...@example.com,192.168.42.15): Connection appears to be hanging, > reconnecting So far looks ok.. > and this su

[Dovecot] dovecot ldap failed to recover

2011-03-30 Thread Jan-Frode Myklebust
One of our backend pop/imap-server running dovecot v1.2.16 experienced some problems yesterday. It suddenly couldn't authenticate users anymore, flooding the logs with: pop3-login: Disconnected (auth failed, 1 attempts): user=, method=PLAIN, rip=192.168.42.15, lip=192.168.42.28 The prob

Re: [Dovecot] Dovecot ldap connection reconnecting after inactivity

2010-11-17 Thread Timo Sirainen
On Tue, 2010-11-16 at 20:48 -0400, Aliet Santiesteban Sifontes wrote: > Hi people, I have a setup configured using ldap, I have noticed that after a > period of user inactivity if a client open connections to dovecot first > attemps fails with this: > > Nov 16 19:34:43 cl05-02 dovecot: auth: Error

[Dovecot] Dovecot ldap connection reconnecting after inactivity

2010-11-16 Thread Aliet Santiesteban Sifontes
Hi people, I have a setup configured using ldap, I have noticed that after a period of user inactivity if a client open connections to dovecot first attemps fails with this: Nov 16 19:34:43 cl05-02 dovecot: auth: Error: ldap(u...@xxx.xx.xx,172.29.13.26): Connection appears to be hanging, reconnect

Re: [Dovecot] Dovecot Ldap Problem

2010-08-10 Thread Timo Sirainen
On Tue, 2010-08-10 at 14:01 +0100, Timo Sirainen wrote: > /* Maximum number of pending requests before delaying new requests. */ > #define DB_LDAP_MAX_PENDING_REQUESTS 128 A quick look at OpenLDAP code shows that it defaults to 16 worker threads. I guess I should reduce this to 8 or something. :)

Re: [Dovecot] Dovecot Ldap Problem

2010-08-10 Thread Timo Sirainen
On Tue, 2010-08-10 at 18:13 +0550, Aravind Divakaran wrote: > > > > Dovecot never disconnects from LDAP server. You're using > > passdb/userdb ldap and not pam_ldap, right? > > I am using passdb/userdb ldap not pam_ldap. My googling shows: "It means there are too many operations active on the g

Re: [Dovecot] Dovecot Ldap Problem

2010-08-10 Thread Aravind Divakaran
> > Dovecot never disconnects from LDAP server. You're using > passdb/userdb ldap and not pam_ldap, right? I am using passdb/userdb ldap not pam_ldap. -- Rgds, Aravind M D

Re: [Dovecot] Dovecot Ldap Problem

2010-08-10 Thread Timo Sirainen
On 10.8.2010, at 7.16, Aravind Divakaran wrote: > My server is running with Dovecot 1.2.11 and openldap > 2.4.17 it was working fine but suddenly my dovecot auth started to > failing sometimes. After restarting dovecot everything will work fine. > The slapd log file is showing "deffering operation

[Dovecot] Dovecot Ldap Problem

2010-08-09 Thread Aravind Divakaran
Hi All, My server is running with Dovecot 1.2.11 and openldap 2.4.17 it was working fine but suddenly my dovecot auth started to failing sometimes. After restarting dovecot everything will work fine. The slapd log file is showing "deffering operation: too many executing". When i googled i have

Re: [Dovecot] dovecot ldap search result ordering?

2010-07-02 Thread chasye
?? Thu, 1 Jul 2010 10:11:23 +0200 (CEST) Steffen Kaiser : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sat, 26 Jun 2010, chasye wrote: > > > pass_attrs = mail=user, > > uid=userdb_home=/home/xadmin/%d/%$,userPassword=password pass_filter = > > (&(objectClass=posixAccount)(uid=%u

Re: [Dovecot] dovecot ldap search result ordering?

2010-07-02 Thread chasye
?? Mon, 28 Jun 2010 21:22:36 +0100 Timo Sirainen : > On Sat, 2010-06-26 at 14:53 +0800, chasye wrote: > > It works fine, but some account failed to get their domain in pass_attrs. > > I check the log. > > when it success, the result order is "mail, uid, userPassword" > > when it failed, the o

Re: [Dovecot] dovecot ldap search result ordering?

2010-07-01 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 26 Jun 2010, chasye wrote: pass_attrs = mail=user, uid=userdb_home=/home/xadmin/%d/%$,userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u)) default_pass_scheme = SSHA user_attrs = mail=user, uid=home=/home/xadmin/%d/%$ u

Re: [Dovecot] dovecot ldap search result ordering?

2010-06-28 Thread Timo Sirainen
On Sat, 2010-06-26 at 14:53 +0800, chasye wrote: > It works fine, but some account failed to get their domain in pass_attrs. > I check the log. > when it success, the result order is "mail, uid, userPassword" > when it failed, the order is "userPassword, uid, mail" You didn't mention what Dovecot

[Dovecot] dovecot ldap search result ordering?

2010-06-25 Thread chasye
I use openLDAP as dovecot pass/user db. here is main part of dovecot-ldap.conf: pass_attrs = mail=user, uid=userdb_home=/home/xadmin/%d/%$,userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u)) default_pass_scheme = SSHA user_attrs = mail=user, uid=home=/home/xadmin/%d/%$ user_

[Dovecot] Dovecot LDAP problems

2010-05-20 Thread Adam Pardy
I'm currently trying to configure a linux mailserver running centos to use an xserve running snow leopard. I am configuring the mailserver to run dovecot,sendmail,clamav,spam assassin and squirrelmail so it matches those used by the mac. The problem I am having is that I cannot get the server

Re: [Dovecot] Dovecot+LDAP issues

2010-04-05 Thread Brian Candler
On Mon, Apr 05, 2010 at 11:16:04AM +0100, Daniel Gomes wrote: > >P.S. Unrelated, but I hope you're aware that Ubuntu 7.10 went out of support > >on Apr 18th last year? https://wiki.ubuntu.com/Releases > > Thanks for the heads up! We (and by "we" I mean "me") are slowly > upgrading our servers for

Re: [Dovecot] Dovecot+LDAP issues

2010-04-05 Thread Daniel Gomes
Hey there, first of all, sorry for the late reply, the long easter weekend got in the way... Answering your questions: Em 31-03-2010 17:13, Hugo Monteiro escreveu: Hi Daniel, Are you using by any chance the slapo-rwm overlay? There is mention in openldap 2.4.13 changelog that prior version

Re: [Dovecot] Dovecot+LDAP issues

2010-04-01 Thread Brian Candler
On Wed, Mar 31, 2010 at 02:59:28PM +0100, Daniel Gomes wrote: > Unfortunately, I seemed to have run into a big problem on an occasion > when dovecot was unable to connect my first server (gold) and hence went > to the second one (extra). I set up a simple test by configuring hosts = 10.1.1.1

Re: [Dovecot] Dovecot+LDAP issues

2010-04-01 Thread Brian Candler
On Wed, Mar 31, 2010 at 02:59:28PM +0100, Daniel Gomes wrote: > I am having some problems with a LDAP passdb authentication on Dovecot. > Before I forget, the specs: it's a Ubuntu 7.10 server running Dovecot > 1.0.5 connecting to 2 different machines running LDAP servers: gold with > OpenLDAP 2.4.1

Re: [Dovecot] Dovecot+LDAP issues

2010-03-31 Thread Hugo Monteiro
On 03/31/2010 02:59 PM, Daniel Gomes wrote: Dear list members, I am having some problems with a LDAP passdb authentication on Dovecot. Before I forget, the specs: it's a Ubuntu 7.10 server running Dovecot 1.0.5 connecting to 2 different machines running LDAP servers: gold with OpenLDAP 2.4.19 an

[Dovecot] Dovecot+LDAP issues

2010-03-31 Thread Daniel Gomes
Dear list members, I am having some problems with a LDAP passdb authentication on Dovecot. Before I forget, the specs: it's a Ubuntu 7.10 server running Dovecot 1.0.5 connecting to 2 different machines running LDAP servers: gold with OpenLDAP 2.4.19 and extra with OpenLDAP 2.4.9 (extra is a replic

[Dovecot] dovecot + ldap

2009-10-14 Thread bely junior
Hi, I have a configuration with dovecot authenticating to AD. I would like to authenticate using the user logon name in AD. and mail box were created according to the field mail in AD anyone have any idea about this? my dovecot-ldap: hosts = xx.xx.xx.xx base = dc=domain,dc=com ldap_version = 3

[Dovecot] dovecot + ldap

2009-10-14 Thread bely junior
Hi, I have a configuration with dovecot authenticating to AD. I would like to authenticate using the user logon name in AD. and mail box were created according to the field mail in AD anyone have any idea about this? my dovecot-ldap: hosts = xx.xx.xx.xx base = dc=domain,dc=com ldap_version = 3

Re: [Dovecot] Dovecot LDAP Auth & Usernames with dashes

2009-10-02 Thread Timo Sirainen
On Fri, 2009-10-02 at 21:20 +0100, Chris Jones wrote: > We're seeing an issue with LDAP auth when the username contains a - > char. > > We're using 1.0.15 as packaged for Debian Lenny > > Oct 2 12:29:02 silver dovecot: auth(default): LDAP: binding failed > (dn (none)): Protocol error Either

[Dovecot] Dovecot LDAP Auth & Usernames with dashes

2009-10-02 Thread Chris Jones
Hi All, We're seeing an issue with LDAP auth when the username contains a - char. We're using 1.0.15 as packaged for Debian Lenny Oct 2 12:29:02 silver dovecot: auth(default): LDAP: binding failed (dn (none)): Protocol error Oct 2 12:29:03 silver dovecot: imap-login: Aborted login (1 a

Re: [Dovecot] Dovecot Ldap Logs

2008-09-13 Thread Timo Sirainen
On Fri, 2008-09-12 at 09:56 +0400, Proskurin Kirill wrote: > Timo Sirainen wrote: > > >> Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.80): result: > >> accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= > >> initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknow

Re: [Dovecot] Dovecot Ldap Logs

2008-09-11 Thread Proskurin Kirill
Timo Sirainen wrote: Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.80): result: accountStatus(?unknown?)= cn(?unknown?)= givenName(?unknown?)= initials(?unknown?)= l(?unknown?)= o(?unknown?)= objectClass(?unknown?)= telephoneNumber(?unknown?)= sn(?unknown?)= title(?unknown?)= uid(?unkn

Re: [Dovecot] Dovecot Ldap Logs

2008-09-11 Thread Timo Sirainen
On Thu, 2008-09-11 at 19:45 +0400, Proskurin Kirill wrote: > Hello all! > > One question about ldap. > In my logs im see this: > > Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.80): user search: > base=dc=CAS scope=subtree > filter=(&(objectClass=mailUser)([EMAIL PROTECTED])) fields=(all

[Dovecot] Dovecot Ldap Logs

2008-09-11 Thread Proskurin Kirill
Hello all! One question about ldap. In my logs im see this: Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.80): user search: base=dc=CAS scope=subtree filter=(&(objectClass=mailUser)([EMAIL PROTECTED])) fields=(all) Info: auth(default): ldap([EMAIL PROTECTED],172.16.1.80): result: acc

Re: [Dovecot] Dovecot, LDAP and something akin to Postfix' "table search order" from virtual deliver.

2008-02-01 Thread Pawel J. Sawicki
Hi! Just for the sake of archive completeness - I've managed to solve my problem without any dirty hacks or something. The key part was to rewrite recipient address before relying mail to dovecot deliver. This can be achieved using e.g. recipient_canonical_maps. More info can be found here: http

[Dovecot] Dovecot, LDAP and something akin to Postfix' "table search order" from virtual deliver.

2008-01-31 Thread Maciej Paczesny
hi, i've found this topic while looking for a solution for the way to use 'mail groups' with dovecot an postfix, using dovecot as LDA. i'm not sure if this patch is implemented into the source or not. or maybe there is a 'special' way to have multilpe mailboxes served by postfix/dovecot? -- Maci

Re: [Dovecot] dovecot + LDAP + SASL?

2007-11-02 Thread Timo Sirainen
On Thu, 2007-11-01 at 11:37 +0100, Hadmut Danisch wrote: > So is there a way to configure dovecot to just pass SASL through to > LDAP, allowing the IMAP client to talk SASL with the LDAP server > through dovecot? No, there's no SASL proxying support. But Dovecot doesn't necessarily require a passw

[Dovecot] dovecot + LDAP + SASL?

2007-11-01 Thread Hadmut Danisch
Hi, I would like to setup an IMAP server with SASL and LDAP support. As far as I can see dovecot supports SASL and LDAP, but not the way I need it. If I understand dovecot correctly, it has it's own set of SASL mechnisms and uses the LDAP server just to store the plaintext password. In case o

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Hadmut Danisch
Timo Sirainen wrote: > > For plaintext authentication you can use authentication binds and have > the password stored on LDAP side in any way you want. > > For non-plaintext authentication Dovecot needs the secret in plaintext > or some other specific format. LDAP doesn't support "SASL forwarding"

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-07 Thread Timo Sirainen
On Tue, 2007-08-07 at 08:38 +0200, Hadmut Danisch wrote: > Hi, > > just a question: > > I know that dovecot supports SASL authentication and supports LDAP. > Which means that dovecot performs the SASL methods itself and stores the > plaintext secret on LDAP. > > But it is also possible to have t

Re: [Dovecot] dovecot + LDAP-SASL ?

2007-08-06 Thread Sergey A. Kobzar
Hi Hadmut, You can keep crypted passwords in LDAP also. See man (8) slappasswd: -h scheme If -h is specified, one of the following RFC 2307 schemes may be specified: {CRYPT}, {MD5}, {SMD5}, {SSHA}, and {SHA}. The default is {SSHA}. Note that scheme names may need to be protect

[Dovecot] dovecot + LDAP-SASL ?

2007-08-06 Thread Hadmut Danisch
Hi, just a question: I know that dovecot supports SASL authentication and supports LDAP. Which means that dovecot performs the SASL methods itself and stores the plaintext secret on LDAP. But it is also possible to have the LDAP do the SASL work and dovecot just pass SASL messages through? Even

Re: [Dovecot] Dovecot LDAP schema?

2007-07-30 Thread Sergey A. Kobzar
Hi Hadmut, Monday, July 30, 2007, 11:27:37 AM, you wrote: > Hi Sergey, > Sergey A. Kobzar wrote: >> >> You can use standard LDAP attributes. It's more than enough. > Well, I know that it works with standard LDAP attributes, that's what I > do right now. But that is what I want to avoid, becau

Re: [Dovecot] Dovecot LDAP schema?

2007-07-30 Thread Hadmut Danisch
Hi Sergey, Sergey A. Kobzar wrote: > > You can use standard LDAP attributes. It's more than enough. Well, I know that it works with standard LDAP attributes, that's what I do right now. But that is what I want to avoid, because I want to have IMAP users *without* standard uid/gid attributes bec

Re: [Dovecot] Dovecot LDAP schema?

2007-07-28 Thread Sergey A. Kobzar
Hi Hadmut, You can use standard LDAP attributes. It's more than enough. My configs: dovecot.conf: first_valid_uid = 8 last_valid_uid = 8 first_valid_gid = 12 last_valid_gid = 12 auth_username_format = %Lu auth default { mechanisms = plain passdb ldap { args = /etc/dovecot/dovecot-ld

[Dovecot] Dovecot LDAP schema?

2007-07-28 Thread Hadmut Danisch
Hi, does dovecot define its own LDAP schema or should I create my own one? (I want to provide IMAP boxes for virtual users that do not have a Unix account on the mail server and thus do not want to use the plain uid/gid entries of the posix account objectclass to avoid confusion and accidentl

Re: [Dovecot] dovecot + ldap tls

2007-05-23 Thread Timo Sirainen
On Wed, 2007-05-23 at 13:58 +0300, Timo Sirainen wrote: > > dovecot: May 22 15:48:31 Error: auth(default): LDAP: ldap_start_tls_s() > > failed: Can't contact LDAP server > > Does it manage to get a TCP connection at all (check with eg. tcpdump), > or is the error message just bad? I checked OpenL

Re: [Dovecot] dovecot + ldap tls

2007-05-23 Thread Timo Sirainen
On Tue, 2007-05-22 at 18:54 +, aza zel wrote: > hi... > i trying to have a secure conetion between dovecot and directory server, but > i cant do it. The documentation are so poor ( > http://wiki.dovecot.org/AuthDatabase/LDAP) As it says there: "FIXME: I'm not sure how the actual TLS configura

[Dovecot] dovecot + ldap tls

2007-05-22 Thread aza zel
hi... i trying to have a secure conetion between dovecot and directory server, but i cant do it. The documentation are so poor ( http://wiki.dovecot.org/AuthDatabase/LDAP) these are my configurations files: (pre: i have a directory server accepting secure conections (port 389 via TLS and port 636

Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-05-01 Thread Tan Shao Yi
Hi, Sorry, I forgot to mention I am on 1.0.0 on a Solaris 10 box connecting to a OpenLDAP server on localhost. :) Just cannot figure out why it is printing these messages though everything seems to be working fine; users are connecting to download e-mails. And when I logged slapd connection

Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-05-01 Thread funkypunky drunky
tml) I think it would worth a shoot. Láďa > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Charles Marcus > Sent: Tuesday, May 01, 2007 12:07 PM > To: dovecot@dovecot.org > Subject: Re: [Dovecot] dovecot-ldap and ldap_result()

Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-05-01 Thread Láďa
sday, May 01, 2007 12:07 PM > To: dovecot@dovecot.org > Subject: Re: [Dovecot] dovecot-ldap and ldap_result() failed. > > On 5/1/2007 funkypunky drunky ([EMAIL PROTECTED]) wrote: > > I am using postfix with dovecot 1.31 > > I assume you mean 1.0rc31? > > Of course, it

Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-05-01 Thread Charles Marcus
On 5/1/2007 funkypunky drunky ([EMAIL PROTECTED]) wrote: I am using postfix with dovecot 1.31 I assume you mean 1.0rc31? Of course, it is recommended to now be using the release version, 1.0.0 Not sure if that will fix this particular problem though, but it makes it easier for those who use

Re: [Dovecot] dovecot-ldap and ldap_result() failed.

2007-04-30 Thread funkypunky drunky
Hi guys, I see this notifications in my logs too. But everything is working fine. Yesterday in my logs May 1 00:56:57 email4 dovecot: auth(default): LDAP: ldap_result() failed: Can't contact LDAP server May 1 01:57:05 email4 dovecot: auth(default): LDAP: ldap_result() failed: Can't contact LDAP

[Dovecot] dovecot-ldap and ldap_result() failed.

2007-04-29 Thread Tan Shao Yi
Hi, I have configured dovecot for auth_bind against an LDAP server on the localhost and I'm seeing the following error in my dovecot logs: dovecot: Apr 30 09:03:18 Error: auth(default): LDAP: ldap_result() failed: Can't contact LDAP server dovecot: Apr 30 09:03:27 Error: auth(default): LDAP:

Re: [Dovecot] dovecot + ldap + quota

2007-04-27 Thread Venilton Junior
: Re: [Dovecot] dovecot + ldap + quota aza zel wrote: > hi > > i using dovecot 1.0rc26 Please upgrade to 1.0.0 release version, then if you are still having problems, come back and provide dovecot -n output... and i started to configure quota plugin but i think > its not w

Re: [Dovecot] dovecot + ldap + quota

2007-04-27 Thread Charles Marcus
aza zel wrote: hi i using dovecot 1.0rc26 Please upgrade to 1.0.0 release version, then if you are still having problems, come back and provide dovecot -n output... and i started to configure quota plugin but i think its not working fine. i configure like suggested in http://wiki.dove

Re: [Dovecot] dovecot + ldap + quota

2007-04-27 Thread Venilton Junior
dores Ltda. Office:   +55 47 3431-9700 Fax:   +55 47 3431-9747 Mobile: +55 47 9653-5872 www.sercompe.com.br -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aza zel Sent: sexta-feira, 27 de abril de 2007 16:43 To: Dovecot Mailing List Subject: [Dovecot] do

[Dovecot] dovecot + ldap + quota

2007-04-27 Thread aza zel
hi i using dovecot 1.0rc26 and i started to configure quota plugin but i think its not working fine. i configure like suggested in http://wiki.dovecot.org/Quota in dovecot.conf: protocol imap { mail_plugins = quota imap_quota } plugin { # 10 MB quota limit quota = maildir:storage=10240

Re: [Dovecot] dovecot/LDAP: Multiple password replies

2007-04-02 Thread Timo Sirainen
On Mon, 2007-04-02 at 12:17 +0300, Antonis Faragitakis wrote: > Apr 2 11:47:50 srv-ath dovecot: auth(default): > ldap(a.faragitakis,127.0.0.1): > Multiple password replies I changed this error message now to: "pass_filter matched multiple objects, aborting". So with the given pass_filter and u

[Dovecot] dovecot/LDAP: Multiple password replies

2007-04-02 Thread Antonis Faragitakis
Hello list, I'm trying to connect to pop3 using dovecot which authenticates through ldap, but i get the following Multiple password replies when i try to connect to server Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1): base=ou=email,ou=services,dc=company,dc=com s

Re: [Dovecot] dovecot-ldap for active directory 2003 r2

2007-03-30 Thread Claudio Roberto Prateat
Hi, You have example of the dovecot-ldap.conf for authenticate in active directory 2003 r2 ? I have squid, apache authenticate in active directory, but dovecot return failed. Help, please... Lets see your configuration and the error message then. Best regards ! PS. Reply to the list

Re: [Dovecot] dovecot-ldap for active directory 2003 r2

2007-03-30 Thread Dominic Marks
On Thu, 29 Mar 2007 17:15:51 -0300 "Claudio Roberto Prateat" <[EMAIL PROTECTED]> wrote: > Hi, > > You have example of the dovecot-ldap.conf for authenticate in active > directory 2003 r2 ? > > I have squid, apache authenticate in active directory, but dovecot return > failed. > > Help, please

[Dovecot] dovecot-ldap for active directory 2003 r2

2007-03-29 Thread Claudio Roberto Prateat
Hi, You have example of the dovecot-ldap.conf for authenticate in active directory 2003 r2 ? I have squid, apache authenticate in active directory, but dovecot return failed. Help, please... Best regards !

Re: [Dovecot] dovecot + ldap

2007-03-21 Thread Ejay Hire
again, I would use the qmail schema. -ejay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of aza zel Sent: Monday, March 19, 2007 8:57 AM To: dovecot@dovecot.org Subject: [Dovecot] dovecot + ldap hi... i want to know how schema dovecot uses to use with

Re: [Dovecot] dovecot + ldap

2007-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 19 Mar 2007, aza zel wrote: i want to know how schema dovecot uses to use with ldap None. You configure Dovecot to: a) use a specific filter to find an user and b) which attributes to consult for which Dovecot-internal data. You do so f

[Dovecot] dovecot + ldap

2007-03-19 Thread aza zel
hi... i want to know how schema dovecot uses to use with ldap -- Salu2 ;)