Prophylatic reconstruct before xfer?

2010-01-23 Thread wcooley
I have a bunch of older 2.2 backends that I am migrating mailboxes off of,
on to new 2.3 backends. I am starting with my dead accounts (which should
really be deleted, but for various reasons aren't), which means these are
among my oldest and cruftiest accounts.

For reasons that I am only sometimes able to ascertain, some xfers fail or
they partially fail (a subset of folders will transfer, but not the INBOX
and possibly some other folders). Sometimes the xfer will just hang,
forcing me to kill it when I find it hours later. (On my to-do list is to
put in a reasonable time-out, so it doesn't waste the whole night.)

I am looking for ways that I can prevent these failures or hangs, so I am
considering a few things, among which is unconditionally running a
recursive in-band reconstruct before attempting the xfer. Would this
increase the risk of something getting corrupted with these old 2.2.12/13
backends or should it be safe?

I have noticed that in many cases the reconstructs return an Operating
System Error on otherwise fine mailboxes (including a test mailbox that
doesn't have more than a handful of messages and was recently created).
Why would that be? I am considering ignoring the return value of the
reconstruct command, which makes me even more uneasy about it.

Wil


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


TLS fails on imaps port

2010-01-23 Thread Bob Dye

I'm running Cyrus-imapd 2.3.7 on a Redhat Enterprise Linux 5 system.

TLS works fine if I connect to the imap port (143). If I try to connect 
instead via the imaps port (993), the attempt times out and I get the 
following in the log:


imaps[27170]: imaps TLS negotiation failed: [xx.xx.xx.xx]
imaps[27170]: Fatal error: tls_start_servertls() failed

Any ideas?

--

Bob Dye
Vintagefactor

http://www.vintagefactor.com/


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: TLS fails on imaps port

2010-01-23 Thread Joseph Brennan


--On Saturday, January 23, 2010 4:54 PM -0800 Bob Dye 
bob...@vintagefactor.com wrote:

 I'm running Cyrus-imapd 2.3.7 on a Redhat Enterprise Linux 5 system.

 TLS works fine if I connect to the imap port (143). If I try to connect
 instead via the imaps port (993), the attempt times out and I get the
 following in the log:

 imaps[27170]: imaps TLS negotiation failed: [xx.xx.xx.xx]
 imaps[27170]: Fatal error: tls_start_servertls() failed



Normal.  It should fail.  993 requires SSL.


Joseph Brennan
Columbia University Information Technology



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html