Please help with imap
I try to run an imap server. Everythink is ok but when I try to login I type telnet localhost 143
/usr/local/libexec/courier-imap # 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-2004 Double Precision, Inc. See COPYING for distribution information. LOGIN rafalek LOGIN NO Error in IMAP command received by server. For imap-uw, bincimap and cyrus-imap is similar. What I do wrong? Can you help me? |
Now I try to configure bincimap.
When try to connect and type correct password connection close. /usr/local/etc/bincimap # telnet localhost 143 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal Hanssen at 2004-05-15 09:31:17 CEST . login rafalek ******** * BYE The server died unexpectedly. Please contact your system administrator for more information. Connection closed by foreign host. But when I type bad password /usr/local/etc/bincimap # telnet localhost 143 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Welcome to Binc IMAP Copyright (C) 2002-2004 Andreas Aardal Hanssen at 2004-05-15 09:31:38 CEST . login rafalek beled . NO LOGIN failed: Login failed. Either your user name or your password was wrong. Please try again, and if the problem persists, please contact your system administrator. * BYE Timeout after 60 seconds of inactivity. Connection closed by foreign host. My bincimap.conf: Authentication { allow plain auth in non ssl = "yes", /* allow login or authenticate when not in SSL/TLS mode */ auth penalty = 4, /* on auth failure, * server sleeps so * many seconds * before allowing * client to * authenticate * again. */ disable starttls = "yes" } //---------------------------------------------------------------------------- Security { jail path = "/usr/local/bin", jail user = "nobody", jail group = "nobody" } //---------------------------------------------------------------------------- Log { type = "syslog", /* supports * multilog or * syslog or * stderr (for testing). */ environment ip variable = "TCPREMOTEIP" } //---------------------------------------------------------------------------- Mailbox { depot = "Maildir++", /* Use Maildir++ style * depot. */ type = "Maildir", /* only Maildir * support */ path = "Maildir", /* default path */ auto create inbox = "yes", /* create INBOX in * given format if * it doesn't * exist. */ auto subscribe mailboxes = "INBOX", /* list mailboxes * in one string, * seperated by * commas */ umask = "077" /* use this umask * when creating * mailboxes, or * when copying and * appending * messages. */ } //---------------------------------------------------------------------------- Session { idle timeout = 1860, /* idle timeout in seconds */ auth timeout = 60, /* timeout before auth in seconds */ transfer timeout = 1200, /* timeout per transferred com unit (I/O) */ transfer buffer size = 1024 /* number of bytes to buffer before passing on to client. */ } //---------------------------------------------------------------------------- SSL { pem file = "/usr/local/etc/bincimap/bincimap.pem", /* private key and certificate chain PEM file name */ ca file = "", /* file to use as certificate authority */ ca path = "", /* path to search for more certificate authorities */ cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP", verify peer = "no" } What I do wrong? What to change? I use FreeBSD 5.1 but it doesn't matter. |
i dont know where the trouble is. but have a look at http://freebsd.qmailrocks.org/imap.htm
it describes howto install courier-imap on freeBSD 5.1 for qmail. i hope it helps u |
That is result of trying to login per imap to courier-imap
/usr/local/etc/rc.d.temp # 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-2004 Double Precision, Inc. See COPYING for distribution information. login rafalek@localhost ****** login NO Error in IMAP command received by server. I done everything what was writen on above page |
try with a number before the command:
01 login rafalek@localhost ****** |
I found answer for this trouble
I add this line to /etc/c-client.cf: I accept the risk set disable-plaintext 0 And it works! |
All times are GMT -5. The time now is 04:14 AM. |