Trying to use IMAP with 143 and STARTTLS Thunderbird gives the error:
The current operation on 'Inbox' did not succeed. The mail server for account test@examplc.com, responded: Error in IMAP command received by server.
IMAP works fine with 993 and SSL/TLS.
[root@mail ~]# cat /var/qmail/supervise/imap4-ssl/run
#!/bin/sh
HOSTNAME=`hostname --fqdn`
rm -rf ./env/*;
cat /etc/courier/imapd-ssl | /usr/bin/envconv
if [ -f /var/qmail/control/softlimit ] ; then
### MR -- softlimit file must content with '/usr/bin/softlimit -m SOFTLIMITVAR'
### where SOFTLIMITVAR is 72000000 for 64bit and 18000000
### Note: incresing SOFTLIMITVAR if not enough (example: because 'login fail')
SOFTLIMIT=$(cat /var/qmail/control/softlimit)
else
SOFTLIMIT=""
fi
IP=0
PORT=993
exec /usr/bin/envdir ./env/ \
$SOFTLIMIT \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME $IP $PORT \
/usr/bin/couriertls -server -tcpd \
/usr/sbin/imaplogin \
/usr/bin/imapd Maildir 2>&1
[root@mail ~]#
My little research so far leads me think that Kloxo-MR doesn't support STARTTLS for IMAP on port 143, but it does for SMTP on 587!
CAN ANYONE PLS TRY TO ACCESS IMAP ON PORT 143 USING STARTTLS TO CONFIRM?
Also, another subject, i think all domains should have an entry with "smtp.domain.com" with an A record to the main shared IP.
Trying to configure Gmail with one mail account from Kloxo by default was trying to look for smtp.domain.com on port 587 for SMTP
Investigate content of /var/qmail/supervise/<pop3/pop3-ssl/imap/imap-ssl>/run.