please help with configuring courier imap

Gregory Nowak greg at romuald.net.eu.org
Sat Aug 3 23:48:19 EDT 2002


Hi all.

I've got courier imap 1.4.6, the stand-alone version.

I would like to provide imap over ssl, and have logins authenticated via the authpwd module.

I've read the docs backwords and forwords, but still can't get it to work successfully. I have edited imapd, imapd.cnf, and imapd-ssl in /usr/lib/courier-imap/etc to provide what I think are the correct values.

I run imapd-ssl.rc start, and it starts just fine.
When I run fetchmail in vurbose mode, I get the following.

fetchmail: 5.9.11 querying linserver.romuald.net.eu.org (protocol auto) at Sat Aug  3 22:37:44 2002: poll started
fetchmail: 5.9.11 querying linserver.romuald.net.eu.org (protocol IMAP) at Sat Aug  3 22:37:44 2002: poll started
fetchmail: running ssh romualt@%h /usr/sbin/imapd (host linserver.romuald.net.eu.org service 143)
romualt at linserver.romuald.net.eu.org's password:
fetchmail: IMAP< * PREAUTH [CAPABILITY IMAP4 IMAP4REV1 NAMESPACE IDLE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] [0.0.0.0] IMAP4rev1 2000.287 at Sat, 3 Aug 2002 22:35:29 -0500 (CDT)
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE IDLE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS AUTH=LOGIN
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: IMAP> A0002 SELECT "INBOX"
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1] UID validity status
fetchmail: IMAP< * OK [UIDNEXT 1] Predicted next UID
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
fetchmail: IMAP< * OK [PERMANENTFLAGS ()] Permanent flags
fetchmail: IMAP< A0002 OK [READ-WRITE] SELECT completed
fetchmail: No mail for romualt at linserver.romuald.net.eu.org
fetchmail: IMAP> A0003 LOGOUT
fetchmail: IMAP< * BYE linserver.romuald.net.eu.org IMAP4rev1 server terminating connection
fetchmail: IMAP< A0003 OK LOGOUT completed
fetchmail: 5.9.11 querying linserver.romuald.net.eu.org (protocol IMAP) at Sat Aug  3 22:37:53 2002: poll completed
fetchmail: 5.9.11 querying linserver.romuald.net.eu.org (protocol auto) at Sat Aug  3 22:37:53 2002: poll completed
fetchmail: normal termination, status 1

Everything looks fine, right? No, it doesn't since there actually is mail waiting for romualt (I'm positive of that).

When I do the same with outlook distress,
1. I select the account. 
2. It tells me that it doesn't have the folders for that account, and do I want to download them.
3. I say yes, and give it my password.
4. It tells me that my ssl certificate is not in the official root certificates database, and asks me if I still want to connect. I answer yes.
5. It gives me an ok dialogue saying that the server unexpectedly terminated the connection.

I get the following in the server's /var/log/messages file.

Aug  3 22:35:29 linserver sshd[848]: Accepted password for romualt from 192.168.0.2 port 1028 ssh2
Aug  3 22:35:29 linserver imapd[849]: Preauthenticated user=romualt host=[34.163.4.8]
Aug  3 22:35:29 linserver imapd[849]: Logout user=romualt host=[34.163.4.8]

I'm obviously close, but not home. 

Can someone who is using courier imap successfully please advise?
If you need to see any of my config files, output from the authinfo program, or anything else, please let me know.

Thanks in advance for any help.
Greg





More information about the Speakup mailing list