

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-users[courier-users] authpgsql broken?| From | Sent On | Attachments |
|---|---|---|
| Vlad Marchenko | Aug 21, 2002 7:22 am | |
| Vlad Marchenko | Aug 21, 2002 7:23 am | |
| Tim Hunter | Aug 21, 2002 7:46 am | |
| Vlad Marchenko | Aug 21, 2002 10:08 am | |
| Tim Hunter | Aug 21, 2002 11:14 am | .txt |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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
mail=# select * from passwd; id | crypt | clear | name | uid | gid | home | maildir | quota ----------------------------+-------+--------+----------------+-------+----- --+------+---------------------------------------+------- vl...@mydomain.name | | pass | Vlad Marchenko | 20002 | 20002 | . | /var/mail/mydomain.name/vlad/ | (1 row)
-- Vlad Marchenko








.txt