Hello.

Adding further information that might be relevant to spot the problem.

(1)
I'm not using the certificate provided in the installation, but created
one using my own CA.
The output from openssl would be 2 files ("cert" and "key") while courier
uses only one, so I combined the two into a single "imapd.pem" file, and
also added a third part (about DH parameters).
[Is this the correct procedure (and why is it different from, say,
"postfix" which uses the two files approach)?]

(2)
Attached, you'll find the "printenv" output from my configuration.
Does this contain some information (such as contradictory or missing
settings) which could explain the problem?

(3)
I'm not using "couriertcpd" but "tcpsvd" as a tcp server; and the application
is started with the following command:

  /usr/bin/tcpsvd -c 20 -C 5 192.168.20.11 993 \
        /usr/bin/couriertls \
        /usr/lib/courier/courier/imaplogin \
        /usr/lib/courier/authlib/authdaemond.ldap \
        /usr/sbin/imapd


Thanks and best regards,
Gilles
IMAP_TLS=1
        ADDRESS=192.168.20.11
PORT=143
MAXDAEMONS=40
MAXPERIP=20
PIDFILE=/var/run/courier/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=1
IMAP_SHAREDINDEXFILE=/etc/courier/shared/index
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=YES
        SSLPORT=993
SSLADDRESS=192.168.20.11
SSLPIDFILE=/var/run/courier/imapd-ssl.pid
IMAPDSSLSTART=YES
IMAPDSTARTTLS=YES
IMAP_TLS_REQUIRED=0
COURIERTLS=/usr/bin/couriertls
TLS_PROTOCOL=SSL3
TLS_STARTTLS_PROTOCOL=TLS1
TLS_CERTFILE=/etc/courier/imapd.pem
TLS_TRUSTCERTS=/etc/ssl/certs
TLS_VERIFYPEER=NONE
TLS_CACHEFILE=/var/lib/courier/couriersslcache
TLS_CACHESIZE=524288

Reply via email to