Please help, I need pop3 login and my system tells me:

[root@linuxhost mysql]# telnet 0.0.0.0 110
Trying 0.0.0.0...
Connected to 0.0.0.0 (0.0.0.0).
Escape character is '^]'.
+OK Hello there.
user pepe.pruebas.cxm
+OK Password required.
pass ppwd
-ERR Login failed.
quit
+OK Better luck next time.
Connection closed by foreign host.


the IMAP4 login ok, but pop3 don't.

RH 7.3 + MySQL 3.23.52 + courier 0.39

************* MySQL Log ************

/usr/sbin/mysqld, Version: 3.23.52-log, started with:
Tcp port: 3306  Unix socket: /var/lib/mysql/mysql.sock
Time                 Id Command    Argument
020930 12:43:23       1 Connect     postfix@localhost on 
                      1 Init DB     maildb
                      1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm " AND (imapok='1'
AND bool1='1' AND bool2='1')
020930 12:43:31       1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm " AND (imapok='1'
AND bool1='1' AND bool2='1')
020930 12:43:41       1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm" AND (imapok='1'
AND bool1='1' AND bool2='1')
                      1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm" AND (imapok='1'
AND bool1='1' AND bool2='1')
                      1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm" AND (imapok='1'
AND bool1='1' AND bool2='1')
                      1 Query       SELECT id, crypt, clear, uid, gid, home,
maildir, "", name FROM users WHERE id = "pepe.pruebas.cxm" AND (imapok='1'
AND bool1='1' AND bool2='1')

*************************************

All of the following files are post without comments for easy readability.

************ authdaemonrc ***********


authmodulelist="authmysql"

authmodulelistorig="authmysql authcustom authcram authuserdb authshadow
authpwd"

daemons="5"

version="authdaemond.mysql"

authdaemonvar=/usr/lib/courier/var/authdaemon

*************************************

********* authmysqlrc ***************


MYSQL_SERVER    localhost
MYSQL_USERNAME  postfix
MYSQL_PASSWORD  XXXXXXXXXXX


MYSQL_SOCKET    /var/lib/mysql/mysql.sock

MYSQL_PORT      3306

MYSQL_OPT       0

MYSQL_DATABASE  maildb

MYSQL_USER_TABLE        users

MYSQL_CRYPT_PWFIELD     crypt

MYSQL_CLEAR_PWFIELD     clear

MYSQL_UID_FIELD uid

MYSQL_GID_FIELD gid

MYSQL_LOGIN_FIELD       id

MYSQL_HOME_FIELD        home

MYSQL_NAME_FIELD        name

MYSQL_MAILDIR_FIELD     maildir

MYSQL_WHERE_CLAUSE      imapok='1' AND bool1='1' AND bool2='1'

*************************************

******** maillog ********************

Sep 30 11:32:32 linuxhost pop3d: Connection, ip=[::ffff:10.0.0.20]
Sep 30 11:32:37 linuxhost pop3d: LOGIN FAILED, ip=[::ffff:10.0.0.20]
Sep 30 11:32:39 linuxhost imapd: Connection, ip=[::ffff:10.0.0.20]
Sep 30 11:32:39 linuxhost imapd: LOGIN, user=pepe.pruebas.cxm,
ip=[::ffff:10.0.0.20]
Sep 30 11:32:39 linuxhost imapd: LOGOUT, user=pepe.pruebas.cxm,
ip=[::ffff:10.0.0.20], headers=0, body=0

**************************************

********** SQL DATA ******************

id,address,crypt,clear,name,uid,gid,home,domain,maildir,imapok,bool1,bool2
pepe.pruebas.cxm,[EMAIL PROTECTED],Y9Xn6IDztmfpk,ppwd,pepe,502,502,/,pruebas.
cxm,/var/spool/postfix/virtual/pruebas.cxm/pepe/Maildir/,1,1,1

**************************************


Pleassseeeeeee HELPPPPP my head is gonna blow in a few minutes.

Thx in advance

        JORGE


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to