View previous topic :: View next topic |
Author |
Message |
Tridus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Oct 2003 Posts: 12 Location: Canada
|
Posted: Sun Jan 25, 2004 3:00 pm Post subject: Courier IMAP with TLS not working |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Tridus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Oct 2003 Posts: 12 Location: Canada
|
Posted: Mon Jan 26, 2004 8:12 pm Post subject: |
|
|
bump |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puddpunk l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/7188255843f00221d1a238.jpg)
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Mon Jan 26, 2004 8:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Tridus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Oct 2003 Posts: 12 Location: Canada
|
Posted: Mon Jan 26, 2004 10:30 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Tridus n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Oct 2003 Posts: 12 Location: Canada
|
Posted: Mon Jan 26, 2004 11:42 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
timmy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 24 May 2002 Posts: 56 Location: Bath, UK
|
Posted: Wed Mar 10, 2004 1:37 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|