View previous topic :: View next topic |
Author |
Message |
shell_ramix n00b
Joined: 03 Mar 2003 Posts: 17 Location: Mexico
|
Posted: Thu Oct 07, 2004 9:12 pm Post subject: Courier-IMAP + Postfix + LDAP |
|
|
Hi, I am trying to find out how to tune up a Courier-IMAP configuration, along with Postfix and LDAP support. All of this without using MySQL.. All the examples and explanaitons to do this with this kind of configurations lacks of some of one of this elements.
By now, Postfix is configured through out SASL2 to do the autentication vía LDAP... And currently i have this kind of error:
Quote: |
postfix/smtpd[20343]: connect from unknown[192.168.1.10]
postfix/smtpd[20343]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused
postfix/smtpd[20343]: warning: SASL authentication failure: Password verification failed
postfix/smtpd[20343]: warning: unknown[192.168.1.10]: SASL PLAIN authentication failed
postfix/smtpd[20343]: warning: SASL authentication failure: cannot connect to saslauthd server: Connection refused
|
My current smtpd.conf from /etc/sasl2 is:
Code: |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/smtp.sasl,v 1.2 2004/07/18 03:26:56 dragonheart Exp $
#pwcheck_method:pam
pwcheck_method:saslauthd
mech_list: LOGIN PLAIN
|
My other and most concern, is about make courier-imap talk well with LDAP, in order to serve as a Mail Transport for Postfix... Can anybody help me about this..? Postfix already talk well with OpenLDAP !
Thanks ..!!! |
|
Back to top |
|
|
langthang Retired Dev
Joined: 27 Nov 2003 Posts: 620
|
Posted: Thu Oct 07, 2004 9:37 pm Post subject: |
|
|
are you using tcpwrapper? If you are then add `slapd: your_ip' to /etc/hosts.allow. |
|
Back to top |
|
|
shell_ramix n00b
Joined: 03 Mar 2003 Posts: 17 Location: Mexico
|
Posted: Thu Oct 07, 2004 11:43 pm Post subject: |
|
|
No, I don't have yet configured the tcpwrappers around, let me see if your sugestion could fix my problem...
cheers... |
|
Back to top |
|
|
shell_ramix n00b
Joined: 03 Mar 2003 Posts: 17 Location: Mexico
|
Posted: Thu Oct 07, 2004 11:55 pm Post subject: |
|
|
Let me anknowledge something.... If im using LDAP for authenticating SASL... I still need tcpwrappers around..? if this true... then, how can i know if SASL2 is really do auth by OpenLDAP..? |
|
Back to top |
|
|
mxc Guru
Joined: 05 Mar 2003 Posts: 442 Location: South Africa
|
Posted: Mon Feb 14, 2005 5:06 pm Post subject: |
|
|
Did you manage to get this to work? I have done the following:
1) edited /etc/imap.conf - Added sasl_pwcheck_method: saslauthd
2) added /etc/sasl2/smtpd.conf - Added sasl_pwcheck_method: saslauthd
3) added /etc/saslautd.conf with all the entries for sasl ldap e.g. ldap_server: etc
4) edited the file /etc/conf/saslautd to use the -a ldap option.
No matter what I do I cannot get imap cyrus to authenticate to to ldap. I dont see any ldap log entries when I run the imtest command coming through. I just get told the user cannot be found in the database _________________ http://www.CyberDesigns.co.za
http://www.Jumpingbean.co.za |
|
Back to top |
|
|
|