5 messages in net.sourceforge.lists.courier-users[courier-users] authpgsql broken?
FromSent OnAttachments
Vlad MarchenkoAug 21, 2002 7:22 am 
Vlad MarchenkoAug 21, 2002 7:23 am 
Tim HunterAug 21, 2002 7:46 am 
Vlad MarchenkoAug 21, 2002 10:08 am 
Tim HunterAug 21, 2002 11:14 am.txt
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] authpgsql broken?Actions...
From:Vlad Marchenko (vl@trackingsoft.com)
Date:Aug 21, 2002 7:22:43 am
List:net.sourceforge.lists.courier-users

Hi,

compiled (FreeBSD 4-STABLE) courier-imap-1.5.3.20020819 with the following options:

./configure --prefix=/usr/local --sysconfdir=/usr/local/etc/courier-imap --w ith-authpgsql --without-authshadow --enable-workarounds-for-imap-client-bugs --enable-unicode --disable-root-check --without-authldap --without-authmysq l --without-authpam

and it fails to authentificate user (trying user "vl@mydomain.name" with "pass")

/var/log/maillog: imapd: LOGIN FAILED, ip=[::ffff:xx.xxx.xx.xx]).

Question: how can I get more debug information on what's going on and why it fails? Any ideas will be greately apreciated.

authdaemonrc:

authmodulelist="authpgsql" authmodulelistorig="authpgsql" daemons=5 version="" authdaemonvar=/usr/local/var/authdaemon

authpgsqlrc:

PGSQL_HOST mydbhost PGSQL_PORT 5432 PGSQL_USERNAME mail PGSQL_PASSWORD password PGSQL_DATABASE mail PGSQL_USER_TABLE passwd PGSQL_CLEAR_PWFIELD clear DEFAULT_DOMAIN mydomain.name PGSQL_UID_FIELD uid PGSQL_GID_FIELD gid PGSQL_LOGIN_FIELD id PGSQL_HOME_FIELD maildir PGSQL_NAME_FIELD name PGSQL_MAILDIR_FIELD home PGSQL_QUOTA_FIELD quota

db structure for passwd table:

mail=# \d passwd Table "passwd" Column | Type | Modifiers ---------+------------------------+-------------------------- id | character varying(128) | not null default '' crypt | character varying(128) | not null default '' clear | character varying(128) | not null default '' name | character varying(128) | not null default '' uid | integer | not null default '20002' gid | integer | not null default '20002' home | character varying(255) | not null default '' maildir | character varying(255) | not null default '' quota | character varying(255) | not null default '' Primary key: passwd_pkey