Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier IMAP with TLS not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tridus
n00b
n00b


Joined: 04 Oct 2003
Posts: 12
Location: Canada

PostPosted: Sun Jan 25, 2004 3:00 pm    Post subject: Courier IMAP with TLS not working Reply with quote

I've got a setup that follows the virtual mail guide. What does work:
- sending mail (using SMTP AUTH and TLS)
- pop3
- pop3 with TLS
- imap

imap with TLS doesn't work, mail clients tell me the server doesn't support it. I don't understand why this would be the case.

Any suggestions?
Back to top
View user's profile Send private message
Tridus
n00b
n00b


Joined: 04 Oct 2003
Posts: 12
Location: Canada

PostPosted: Mon Jan 26, 2004 8:12 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Mon Jan 26, 2004 8:56 pm    Post subject: Reply with quote

Try getting them to connect to the port 993 (The secure IMAP port, make sure you have it open on your firewall!).

143 is normally reserved for the cleartext service.

Cheers,
Chris.
_________________
THIS SIG INTENTIONALLY LEFT BLANK
Back to top
View user's profile Send private message
Tridus
n00b
n00b


Joined: 04 Oct 2003
Posts: 12
Location: Canada

PostPosted: Mon Jan 26, 2004 10:30 pm    Post subject: Reply with quote

Yeah, I got that working today (I'm not really sure why it wasn't actually).

Still though, I would like to offer STARTTLS ability, since I know the server is supposed to be able to do it.
Back to top
View user's profile Send private message
Tridus
n00b
n00b


Joined: 04 Oct 2003
Posts: 12
Location: Canada

PostPosted: Mon Jan 26, 2004 11:42 pm    Post subject: Reply with quote

Here's my configuration if it helps:

imapd:
ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon"
DEBUG_LOGIN=1
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_ULIMITD=65536
IMAP_USELOCKS=0
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/sbin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=NO
MAILDIR=.maildir
PRERUN=


imapd-ssl:
SSLPORT=993
SSLADDRESS=0
SSLPIDFILE=/var/run/imapd-ssl.pid
IMAPDSSLSTART=YES (coincidentally setting this to NO seems to not do anything, making me wonder if its actually even reading my configuration files properly)
IMAPDSTARTTLS=YES
IMAP_TLS_REQUIRED=0 (this option also doesn't seem to do anything)
COURIERTLS=${bindir}/couriertls
TLS_PROTOCOL=SSL3
TLS_STARTTLS_PROTOCOL=TLS1
TLS_CERTFILE=/etc/courier-imap/imapd.pem
TLS_VERIFYPEER=NONE
TLS_CACHEFILE=/var/lib/courier-imap/couriersslcache
TLS_CACHESIZE=524288
Back to top
View user's profile Send private message
timmy
n00b
n00b


Joined: 24 May 2002
Posts: 56
Location: Bath, UK

PostPosted: Wed Mar 10, 2004 1:37 pm    Post subject: Reply with quote

Have a look at bug 39653, I think there is a bug in gentoo-imapd.rc that prevents STARTTLS from working.

Tim

[edit] Just noticed it's your bug! Oops.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum