Hi, 

I have problem with login - in logs have, that all is ok, but I cannot connect. 

Configuration:

FreeBSD server.starnet.cz 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Mon Dec  6 
06:42:35 CET 2010     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

Courier IMAP from latest ports.
courier-imap-4.8.1,2 IMAP (and POP3) server that provides access to Maildir mail

After instalation works evertithing fine, but after while I got this:

debug.log
---------------------------------------------------------------------------------------------------------------------
Jan 18 20:11:52 adelka imapd: Connection, ip=[::1]
Jan 18 20:11:52 adelka authdaemond: received auth request, service=imap, 
authtype=login
Jan 18 20:11:52 adelka authdaemond: authpam: trying this module
Jan 18 20:11:52 adelka authdaemond: authpam: username 
'[email protected]' not found in password file
Jan 18 20:11:52 adelka authdaemond: authpam: REJECT - try next module
Jan 18 20:11:52 adelka authdaemond: authmysql: trying this module
Jan 18 20:11:52 adelka authdaemond: authmysqllib: connected. Versions: header 
50153, client 50154, server 50154
Jan 18 20:11:52 adelka authdaemond: SQL query: SELECT username, password, "", 
'207', '207', '/data/mail', maildir, "", name, "" FROM mailbox WHERE username = 
'[email protected]'
Jan 18 20:11:52 adelka authdaemond: password matches successfully
Jan 18 20:11:52 adelka authdaemond: authmysql: sysusername=<null>, 
sysuserid=207, sysgroupid=207, homedir=/data/mail, 
[email protected], fullname=Radek KrejÄM-^Ma, 
maildir=muj-denicek.cz/[email protected]/, quota=<null>, options=<null>
-------------------------------------------------------------------------------------------------------------------------

maillog
Jan 18 20:11:52 adelka authdaemond: Authenticated: sysusername=<null>, 
sysuserid=207, sysgroupid=207, homedir=/data/mail, 
[email protected], fullname=Radek KrejÄM-^Ma, 
maildir=muj-denicek.cz/[email protected]/, quota=<null>, options=<null>

No a nyni vysledek telnetu:

telnet localhost 143
Trying ::1...
Connected to localhost.
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-2010 Double Precision, Inc.  See COPYING for distribution 
information.
login [email protected] hesloheslo
login NO Error in IMAP command received by server.

or (from faq)

telnet localhost 143
Trying ::1...
Connected to localhost.
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-2010 Double Precision, Inc.  See COPYING for distribution 
information.
0 login [email protected] radek
* BYE Clock skew detected. Check the clock on the file server
Connection closed by foreign host.

Now ls of maildir [email protected]

drwx------  5 207  207  5 Jan 19 09:17 .
drwx------  3 207  207  3 Dec 11 23:50 ..
drwx------  2 207  207  2 Jan 12 08:16 cur
drwx------  2 207  207  2 Jan 12 07:56 new
drwx------  2 207  207  2 Jan 19 09:24 tmp

grep MAX /usr/local/etc/courier-imap/imapd
##NAME: MAXDAEMONS:0
MAXDAEMONS=120
##NAME: MAXPERIP:0
MAXPERIP=100

I tried login from many clients, but I cannot connect and someone yes.

Where could be a problem?

Radek

-- 
S pozdravem,
 Bc. Radek Krejča
 STARNET, s. r. o.
 [email protected]
 +420 608 470980
 http://www.starnet.cz
 http://www.ceskedomeny.cz
 Jabber: [email protected]



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to