LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2004, 12:07 AM   #1
rafalek
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
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?
 
Old 05-15-2004, 02:38 AM   #2
rafalek
Member
 
Registered: Oct 2003
Posts: 43

Original Poster
Rep: Reputation: 15
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.
 
Old 05-15-2004, 03:32 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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
 
Old 05-15-2004, 03:45 AM   #4
rafalek
Member
 
Registered: Oct 2003
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 05-27-2004, 02:19 PM   #5
Profane
LQ Newbie
 
Registered: May 2004
Location: Netherlands
Posts: 2

Rep: Reputation: 0
try with a number before the command:
01 login rafalek@localhost ******
 
Old 05-27-2004, 03:44 PM   #6
rafalek
Member
 
Registered: Oct 2003
Posts: 43

Original Poster
Rep: Reputation: 15
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail-ldap + courier-imap woes (imap capability) syahid Linux - General 1 10-12-2005 12:03 AM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
IMAP and Cyrus-IMAP on Slackware 10 cyberjames Slackware 2 01-10-2005 01:07 AM
IMAP works but IMAP TLS doesn't under PHP (Horde IMP) theparadigm Linux - Software 0 11-17-2003 12:35 AM
UW IMAP problem downloading IMAP folders nuzzy Linux - Software 1 04-17-2003 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration