imap en ldap

Geert Reijnders reijnders at
Fri Dec 12 04:41:16 EST 2003

Oke I think I'am almost there.
I did miss the openldap libraries so I installed them and reconfigured cyrus sasl. When I run the command 'saslauthd -v' ldap is aviable :-)
So I executed the command 'saslauthd -a ldap and I needed to create an extra directory but after that I didn't get a error message.
In my imapd.conf I did add some extra lines. My imapd.conf looks now like this:
# Debian Cyrus imapd.conf
# See imapd.conf(5) for more information
# Configuration directory
configdirectory: /var/lib/cyrus
# Which partition to use for default mailboxes
defaultpartition: default
partition-default: /var/spool/cyrus/mail
# News setup
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
# Uncomment the following and add the space-separated users who
# have admin rights
admins:root cyrus
# No anonymous logins
allowanonymouslogin: no
# Minimum time between POP mail fetches in minutes
popminpoll: 1
# umask used by Cyrus programs
umask: 077
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
But when I try to start outlook express and create a new mailbox I get the following error message:
Fatal error: invalid option name on line 28 of configuration file
In my imapd.conf is line 28: sasl_pwcheck_method
Is there another package I need to install or is there again something I did forget?

Many thanks in advance

Geert Reijnders

-----Oorspronkelijk bericht-----
Van: owner-info-cyrus at [mailto:owner-info-cyrus at] Namens Etienne Goyer
Verzonden: donderdag 11 december 2003 16:08
Aan: info-cyrus at;
Onderwerp: Re: imap and ldap

Did you compiled your own cyrus-sasl or used a third-party package ? If
you compiled, did you used the "--with-ldap" switch to configure ? Do
you have OpenLDAP and assorted libs installed ?
On Thu, Dec 11, 2003 at 03:07:11PM +0100, Geert Reijnders wrote:
> Hi all
> Again I have a question. I want to setup a mail-server and the users must be retrieved from the ldap-server. I have heard from several people and read in several guides that it is possible with saslauthd -a ldap and put the following option in the imapd.conf:
> sasl_pwcheck_method: saslauthd
> But of course when I try to do that I get error messages. The first one is when I execute the command saslauthd -a ldap:
> saslauthd[285] :set_auth_mech : unknown authentication mechanism: ldap
> the solution is not by using pam because that is not an option in saslauthd.
> The second one is when I try to open a mailbox in outlook express. Then I get the messages that on line .... (the line where sasl_pwcheck_method is located) that the command is unknown.
> What am I missing or doing wrong? I hope anyone could help me.
> Thanks in advance
> Geert Reijnders

Etienne Goyer Linux Québec Technologies Inc. etienne.goyer at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6575 bytes
Desc: not available
Url :

More information about the Info-cyrus mailing list