Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier-IMAP + Postfix + LDAP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Thu Oct 07, 2004 9:12 pm    Post subject: Courier-IMAP + Postfix + LDAP Reply with quote

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
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Thu Oct 07, 2004 9:37 pm    Post subject: Reply with quote

are you using tcpwrapper? If you are then add `slapd: your_ip' to /etc/hosts.allow.
Back to top
View user's profile Send private message
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Thu Oct 07, 2004 11:43 pm    Post subject: Reply with quote

No, I don't have yet configured the tcpwrappers around, let me see if your sugestion could fix my problem...

cheers...
Back to top
View user's profile Send private message
shell_ramix
n00b
n00b


Joined: 03 Mar 2003
Posts: 17
Location: Mexico

PostPosted: Thu Oct 07, 2004 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
mxc
Guru
Guru


Joined: 05 Mar 2003
Posts: 442
Location: South Africa

PostPosted: Mon Feb 14, 2005 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum