[Kolab-devel] IMAPD vs IMAPS

gelpi@corona.it corona at gelpi.it
Mon Jan 23 12:57:41 CET 2006


HI,
	on my kolab 2.1 development installation I created about 10 users and 
using imapsync I copied bout 1.3 GB of data from my old server to kolab 
server.

Now I configured a client (thunderbird) to access 7 of these accounts 
(about 1 GB data).

All is doing well only if I connect using IMAPD (port 143).

If I use imap over ssl (port 993) after a while I got some problems. It 
seems that the connection closes or dies on the server without 
notification to the client, that after a timeout must reconnect.

This problem is more evident using a mac os x with mail (the client 
included)

Here exist the function to syncronized all the configured accounts via imap.

After first syncronization that tooks some ours (1 GB to copy locally),
Imap syncronization tooks tens of seconds, but if i select ssl it tooks 
quit 10 minutes.

Debugging the problem I saw that every about 15/20 seconds the transfer 
of data stopped for about 1 minute.

On /kolab/var/imapd/log/imapd.log I saw:

Jan 22 00:12:26 dafnen <debug> imaps[28229]: open: user liste at gelpi.it 
opened INBOX/Sent/Personali/Campanale
Jan 22 00:12:27 dafnen <debug> imaps[28231]: open: user liste at gelpi.it 
opened INBOX/Sent/Personali/Curzel
Jan 22 00:12:27 dafnen <debug> imaps[28232]: open: user liste at gelpi.it 
opened INBOX/Sent/Personali/Dehoniani
Jan 22 00:12:28 dafnen <debug> imaps[28230]: open: user liste at gelpi.it 
opened INBOX/Sent/Personali/Ghigi Paolo
Jan 22 00:12:28 dafnen <debug> imaps[28229]: open: user liste at gelpi.it 
opened INBOX/Sent/Personali/Sirignano
Jan 22 00:12:29 dafnen <debug> imaps[28231]: open: user liste at gelpi.it 
opened INBOX/Sent/IOL/Howto
Jan 22 00:12:29 dafnen <debug> imaps[28232]: open: user liste at gelpi.it 
opened INBOX/Sent/IOL/LinuxTrent
Jan 22 00:12:30 dafnen <debug> imaps[28230]: open: user liste at gelpi.it 
opened INBOX/a-sistemi/a-gelpi_it

The syncronization of last subfolder was not completed (the client is 
waiting), but everything is calm for a minute. Then ...

Jan 22 00:13:31 dafnen <debug> imaps[28587]: accepted connection
Jan 22 00:13:31 dafnen <notice> imaps[28587]: TLS server engine: cannot 
load CA data
Jan 22 00:13:31 dafnen <debug> imaps[28587]: mystore: starting txn 
2147484405
Jan 22 00:13:31 dafnen <debug> imaps[28587]: mystore: committing txn 
2147484405
Jan 22 00:13:31 dafnen <notice> imaps[28587]: starttls: TLSv1 with 
cipher RC4-SHA (128/128 bits new) no authentication
Jan 22 00:13:31 dafnen <notice> imaps[28587]: login: mac.gelpi.it 
[192.168.255.5] liste at gelpi.it plaintext+TLS User logged i
n
Jan 22 00:13:31 dafnen <debug> imaps[28587]: seen_db: user 
liste at gelpi.it opened /kolab/var/imapd/domain/g/gelpi.it/user/l/l
iste.seen
Jan 22 00:13:31 dafnen <debug> imaps[28587]: open: user liste at gelpi.it 
opened INBOX/a-sistemi/a-gelpi_it

Now this subfolder ended syncronization.

Jan 22 00:13:31 dafnen <debug> imaps[28229]: open: user liste at gelpi.it 
opened INBOX/a-sistemi/a-pic_gelpi_it
Jan 22 00:13:49 dafnen <debug> imaps[28231]: open: user liste at gelpi.it 
opened INBOX/a-sistemi/a-recla_it
Jan 22 00:15:23 dafnen <debug> imaps[28231]: accepted connection

Can someone tell me how can I debug what's happening?

I don't know if this is connected to the fact that mac os x says that 
/kolab/etc/kolab/cert.pem is not a valid x509 certificate. The reason 
seems to be that there is not a root certificate over it.

When I display the certificate tree it is at root level and this seems 
to be a problem. I'm investigating.

Andrea Gelpi







More information about the devel mailing list