LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2005, 08:00 PM   #1
Jukas
Member
 
Registered: Mar 2005
Posts: 141

Rep: Reputation: 15
Courier problems


I've been going through the qmailrocks install and I'm up to the portion on Courier. I'm running into a problem where I can't login via a telnet window to the IMAP service

Code:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE
AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr
ight 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
a login me@myniftydomain.com passwd
a NO Login failed.
However I can login fine through the pop3 service (vpopmail)

Code:
+OK <27433.1127436844@myniftydomain.com>
user
-ERR syntax error
user me@myniftydomain.com
+OK
pass passwd
+OK
list
+OK
.
I don't see a seperate log directory for courier in /var/log and I can't find any reference to a failed login in the auth, user or syslog and I can see the imap service running.

Code:
nix:/var/log# ps -aux | grep courier
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
root     27269  0.0  0.0   1688   476 ?        S    17:27   0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/authlib/authdaemond.plain
root     27270  0.0  0.1   1832   524 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27271  0.0  0.1   1832   528 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27272  0.0  0.1   1832   528 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27273  0.0  0.1   1832   528 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27274  0.0  0.1   1832   528 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27275  0.0  0.1   1832   528 ?        S    17:27   0:00 /usr/lib/courier/authlib/authdaemond.plain
root     27318  0.0  0.1   2732   916 ?        S    17:33   0:00 /usr/sbin/couriertcpd -address=xxx.xxx.xxx.xx
-stderrlogger=/usr/sbin/courierlogger -maxprocs=40 -maxperip=20 -pid=/var/run/courier/imapd.pid -nodnslookup -noidentlookup 143 /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root     27320  0.0  0.0   1692   468 ?        S    17:33   0:00 /usr/sbin/courierlogger imaplogin
root     27335  0.0  0.1   2732   904 ?        S    17:33   0:00 /usr/sbin/couriertcpd -address=xxx.xxx.xxx.xx -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40 -maxperip=20 -pid=/var/run/courier/imapd-ssl.pid -nodnslookup -noidentlookup 993 /usr/bin/couriertls -server -tcpd /usr/lib/courier/courier/imaplogin /usr/bin/imapd Maildir
root     27337  0.0  0.0   1560   312 ?        S    17:33   0:00 /usr/sbin/courierlogger imapd-ssl
Anyone know what I'm missing or able to point me in a direction to look to?
 
Old 09-23-2005, 12:17 PM   #2
Jukas
Member
 
Registered: Mar 2005
Posts: 141

Original Poster
Rep: Reputation: 15
In further troubleshooting I was able to turn on debug logging and when I try and log into the account I see the following

Quote:
Sep 23 10:07:10 nix imaplogin: Connection, ip=[::ffff:216.229.107.32]
Sep 23 10:07:10 nix imaplogin: LOGIN: DEBUG: ip=[::ffff:216.229.107.32], command=CAPABILITY
Sep 23 10:07:10 nix imaplogin: LOGIN: DEBUG: ip=[::ffff:216.229.107.32], command=LOGIN
Sep 23 10:07:10 nix imaplogin: LOGIN: DEBUG: ip=[::ffff:216.229.107.32], username=user@myniftydomain.com
Sep 23 10:07:10 nix imaplogin: LOGIN: DEBUG: ip=[::ffff:216.229.107.32], password=mypass
Sep 23 10:07:15 nix imaplogin: LOGIN FAILED, ip=[::ffff:216.229.107.32]
Sep 23 10:07:18 nix imaplogin: DISCONNECTED, ip=[::ffff:216.229.107.32], time=8
Seems to be passing the username and password fine, but then disconnects. The exact same u/p works via pop3 no problem so it seems to only be a problem with the Imap service.

Any ideas?
 
Old 09-23-2005, 02:44 PM   #3
Jukas
Member
 
Registered: Mar 2005
Posts: 141

Original Poster
Rep: Reputation: 15
Problem found and solved. Yay!
 
  


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
posfix with courier maildrop and courier-imap Anuragn Linux - Enterprise 4 01-17-2007 04:33 AM
Courier Imap Problems madunix General 2 02-19-2006 09:34 AM
Configuring courier-imap courier-pop redsky Debian 1 06-02-2004 03:09 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 12:06 PM
Problems With Courier-imapd And Slack 9 pitardo454 Slackware 0 07-08-2003 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 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