From: "Jay Lee" <[EMAIL PROTECTED]>
To: "Tom Lee" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Courier-imap] login with [EMAIL PROTECTED]
Date: Tue, 31 Jan 2006 18:42:45 -0500 (EST)
On Tue, January 31, 2006 6:30 pm, Tom Lee wrote:
> it goes by default. I think it uses /etc/passwd and /etc/shadow.
OK, so your using the default authpam then I believe...
> I am not sure how to use a different password file.
You have multiple options... If you have an organizational LDAP database
I'd recommend authldap, otherwise authmysql is quite nice and extremely
flexible. See http://www.courier-mta.org/authlib/README.authmysql.html
for notes on setting up authmysql.
thanks. jay.
I have created the database and tables with passwd.
the necessary changes for authmysqlrc has been done as well.
do you know where I can find a sample value for the following table?
CREATE TABLE passwd (
id char(128) DEFAULT '' NOT NULL,
crypt char(128) DEFAULT '' NOT NULL,
clear char(128) DEFAULT '' NOT NULL,
name char(128) DEFAULT '' NOT NULL,
uid int(10) unsigned DEFAULT '65534' NOT NULL,
gid int(10) unsigned DEFAULT '65534' NOT NULL,
home char(255) DEFAULT '' NOT NULL,
maildir char(255) DEFAULT '' NOT NULL,
defaultdelivery char(255) DEFAULT '' NOT NULL,
quota char(255) DEFAULT '' NOT NULL,
options char(255) DEFAULT '' NOT NULL,
KEY id (id(128))
);
how to get the crypt value for a user such as [EMAIL PROTECTED] r from the OS?
I tried to put some valubes for the table, but the it is rejected for the
data.
> there is no configuration files used by courier-imap and
courire-authlib.
Yes there are...
> here is the output from rpm installation.
thanks.
Tom
> /usr/lib/courier-imap/etc
> /usr/lib/courier-imap/etc/imapd-ssl.dist
> /usr/lib/courier-imap/etc/imapd.cnf
> /usr/lib/courier-imap/etc/imapd.dist
> /usr/lib/courier-imap/etc/pop3d-ssl.dist
> /usr/lib/courier-imap/etc/pop3d.cnf
> /usr/lib/courier-imap/etc/pop3d.dist
> /usr/lib/courier-imap/etc/quotawarnmsg.example
> /usr/lib/courier-imap/etc/shared
> /usr/lib/courier-imap/etc/shared.tmp
Your courier-imap config files...
> [EMAIL PROTECTED] ~]# rpm -ql courier-authlib
> /etc/authlib
> /etc/authlib/authdaemonrc.dist
> /etc/authlib/authldaprc.dist
> /etc/authlib/authmysqlrc.dist
> /etc/authlib/authpgsqlrc.dist
and your courier-authlib config files...
Jay
--
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap