Hi all!

I'm setting up a new mail server (virtual users and domains) with
Courier-IMAP and MySQL (+ Postfix ) on a Debian machine (kernel 2.6).

I have other servers (packed-based installations) working well with them
but now I'm trying to configure everything from sources to have more
control for future instalations on other servers with other distros (and
for updates).

Now: it's working well with MySQL authentication.
The problem is that I need PAM in order to use a developed pam module
(it's working in ohter servers), but I can't get authdaemond working
with /etc/pam.d/imap, and I don't know where is getting PAM config from.

So, It's always looking for the user at /etc/passwd (pam_unix.so I
think), and any changes in /etc/pam.d/imap are ignored.

I'm confused at this point with the implication of SASL lib: is
saslauthd necessary? I think don't but please correct me if I'm wrong.
I suppose that I'm missing some option/s at configuration (see below)
but please tell me.

Thanks in advance.

Regards,

Pablo.

----

I based my installation in the tutorial from postfix wiki:
http://postfixwiki.org/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL#SASL2_smtpd.conf
to use postfixadmin.

Last configure options I used:

cyrus-sasl-2.1.19:

./configure --with-mysql=/usr/include/mysql/ --disable-cram
--disable-digest  --disable-krb4 --enable-login --with-pam
--libdir=/usr/lib --includedir=/usr/include --without-des

courier-authlib-0.58:

./configure --with-mysql-libs=/var/lib/mysql/
--with-mysql-includes=/usr/include/mysql/

courier-0.53.0:

./configure --with-ispell=/usr/bin/ispell --enable-unicode
--with-authmysql --with-authpam --with-mysql-libs=/var/lib/mysql/
--with-mysql-includes=/usr/include/mysql/ --without-authuserdb
--with-trashquota
--without-authuserdb

(Tell me if you need something more)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to