Hi All
I am facing a problem when i telnet to port 110 and 143 i am able to
do so but when i put in my user name and password it gives me
Temporary problem.( see log bellow )

[EMAIL PROTECTED] ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision,
Inc.  See COPYING for distribution information.
a login [EMAIL PROTECTED] agnello
* BYE Temporary problem, please try again later
Connection closed by foreign host.
[EMAIL PROTECTED] ~]#


[EMAIL PROTECTED] ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user [EMAIL PROTECTED]
+OK Password required.
pass agnello
-ERR Temporary problem, please try again later
Connection closed by foreign host.

I have also checked if my authdaemon is running  ( see log bellow)

[EMAIL PROTECTED] ~]# ps -aux |grep authdaemo
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.5/FAQ
root      2952  0.0  0.2   1560   468 ?        S    15:58   0:00
/usr/sbin/courierlogger -pid=/var/spool/authdaemon/pid -start
/usr/libexec/courier-authlib/authdaemond
root      2953  0.0  0.7   5560  1244 ?        S    15:58   0:00
/usr/libexec/courier-authlib/authdaemond
root      2954  0.0  0.7   5560  1248 ?        S    15:58   0:00
/usr/libexec/courier-authlib/authdaemond
root      2955  0.0  0.7   5560  1248 ?        S    15:58   0:00
/usr/libexec/courier-authlib/authdaemond
root      2956  0.0  0.8   5604  1404 ?        S    15:58   0:00
/usr/libexec/courier-authlib/authdaemond
root      3231  0.0  0.4   3760   700 pts/0    R+   16:15   0:00 grep authdaemo

Even my IMAP server is working fine  ( seelog bellow   )

[EMAIL PROTECTED] ~]# ps -aux |grep imap
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.5/FAQ
root      2986  0.0  0.2   1560   436 ?        S    15:58   0:00
/usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd
/usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
-maxperip=4 -nodnslookup -noidentlookup 143
/usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd
/home/vmail
root      2987  0.0  0.3   2660   624 ?        S    15:58   0:00
/usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
-maxperip=4 -nodnslookup -noidentlookup 143
/usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd
/home/vmail
root      2993  0.0  0.2   1556   400 ?        S    15:58   0:00
/usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start
-name=imapd-ssl /usr/lib/courier-imap/libexec/couriertcpd -address=0
-maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 993
/usr/lib/courier-imap/bin/couriertls -server -tcpd
/usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd
Maildir
root      2994  0.0  0.3   2660   628 ?        S    15:58   0:00
/usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
-maxperip=4 -nodnslookup -noidentlookup 993
/usr/lib/courier-imap/bin/couriertls -server -tcpd
/usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd
Maildir
root      2999  0.0  0.2   1560   468 ?        S    15:58   0:00
/usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d
/usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
-maxperip=4 -nodnslookup -noidentlookup 110
/usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d
Maildir
root      3000  0.0  0.4   2660   672 ?        S    15:58   0:00
/usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40
-maxperip=4 -nodnslookup -noidentlookup 110
/usr/lib/courier-imap/sbin/pop3login /usr/lib/courier-imap/bin/pop3d
Maildir


My vi /etc/authlib/authmysqlrc looks as follows

MYSQL_SERVER localhost
MYSQL_USERNAME postfix
MYSQL_PASSWORD postfix

# if you used the MySQL package from Server Logistics use the
# following settings otherwise check your MySQL installation.
MYSQL_SOCKET /private/tmp/mysql.sock
MYSQL_PORT 3306

# The name of the MySQL database we will use:
MYSQL_DATABASE postfix

# the table in the database with the users
MYSQL_USER_TABLE mailbox

# which field in the table has the password
MYSQL_CRYPT_PWFIELD password

# the numerical userid of the postfix account
MYSQL_UID_FIELD '5000'

#the numerical groupid of the postfix account
MYSQL_GID_FIELD '5000'

# the username as defined in the table mailbox
MYSQL_LOGIN_FIELD username

# the location of the mailboxes on the server
# Please change this is you are going to use a different location.
MYSQL_HOME_FIELD '/home/vmail'

# The user's name (optional)
MYSQL_NAME_FIELD name

# The location where the user mailbox is defined in the table.
MYSQL_MAILDIR_FIELD maildir

then only changes i msge to vi /etc/authlib/authdaemonrc is :-

[...]
authmodulelist="authmysql"
[...]


when i restart the following service there is no service failure

/etc/init.d/courier-authlib restart
/etc/init.d/courier-imap restart

Then what is the problem , where have i gone wrong. PLs help me figure this out

-- 
Warm Regards

Agnello . G .Dsouza

Reply via email to