Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Shuvam Misra
Dear Patrick, > How would you do the IMAP append? Using a Perl::IMAP function? > > This isn't necessarily a concern for this list, but a few days ago I > upgraded a site from cyrus 2.1.16 to cyrus 2.3.16 by using imapsync to > transfer mail from the old server to the new one. This worked grea

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 05:26:19PM -0400, Chris Pepper wrote: > Thanks, all, for the generous help. Bron asked about output from > reconstruct, which never provided any. It turns out that I was using the > wrong delimiters (., per chk_cyrus output, rather than /), and reconstruct > wasn't

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
Thanks, all, for the generous help. Bron asked about output from reconstruct, which never provided any. It turns out that I was using the wrong delimiters (., per chk_cyrus output, rather than /), and reconstruct wasn't even trying. It looks like all the missing mail is accessible again.

packages for solaris 10 x86

2010-10-04 Thread Frank Pittel
I'm looking for packages for cyrus imap and cyrus ssl/sasl for solaris-10 on an x86 box. I looked around on the sun freeware site and the cyrus site and didn't find anything. Does anyone know where I can find the packages? Frank Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Wesley Craig
On 04 Oct 2010, at 13:37, Patrick Goetz wrote: > On 10/04/2010 12:29 PM, Andrew Morgan wrote: >> cyrus-be4:~# cyradm --user cyrus --tlskey '' localhost > > That did it! The trick is to use --tlskey with an empty field as > demonstrated above. Who knew? That's a bug, please report it. It ought

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Dan White
On 04/10/10 11:51 -0500, Patrick Goetz wrote: >On 10/04/2010 11:07 AM, Dan White wrote: >> >> You can connect via a non plaintext mechanism, like digest-md5. >> > >This seems like a straightforward case of RTFM, but how does one >determine the auth mechanism? I'm using saslauthd, pam, and have a >

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Andrew Morgan
On Mon, 4 Oct 2010, Patrick Goetz wrote: > On 10/04/2010 12:29 PM, Andrew Morgan wrote: >> >> cyrus-be4:~# cyradm --user cyrus --tlskey '' localhost > > > That did it! The trick is to use --tlskey with an empty field as > demonstrated above. Who knew? > > -- > ibis:~~$ cyradm --user pgoet

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Patrick Goetz
On 10/04/2010 12:29 PM, Andrew Morgan wrote: > > cyrus-be4:~# cyradm --user cyrus --tlskey '' localhost That did it! The trick is to use --tlskey with an empty field as demonstrated above. Who knew? -- ibis:~~$ cyradm --user pgoetz --tlskey '' localhost verify error:num=18:self signed

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Andrew Morgan
On Mon, 4 Oct 2010, Patrick Goetz wrote: > On 10/04/2010 08:41 AM, Wesley Craig wrote: >> >> TLS isn't available to Cyrus::IMAP pre 2.3.2. I expect it's a bug. > > > Sorry,I didn't specifically say that I'm using the latest release, 2.3.16. > > > I find cyradm to be very convenient to use for sma

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 11:36 AM, Bron Gondwana wrote: > On Mon, Oct 04, 2010 at 11:17:59AM -0400, Chris Pepper wrote: >> On 10/4/10 10:23 AM, Patrick Goetz wrote: >>> I wasn't clear about whether the old install was completely gone or >>> could still be booted. If you can still start cyrus on the old server,

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Patrick Goetz
On 10/04/2010 11:41 AM, Wesley Craig wrote: > I understood that, tho I did notice you pasted the 2.2.x error, not the 2.3.x > error. > Nope, this is precisely the error I'm getting on my 2.3.16 install: ibis:~~$ dpkg -l | grep cyrus-common ii cyrus-common-2.32.3.16-1 Cyru

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Patrick Goetz
On 10/04/2010 11:07 AM, Dan White wrote: > > You can connect via a non plaintext mechanism, like digest-md5. > This seems like a straightforward case of RTFM, but how does one determine the auth mechanism? I'm using saslauthd, pam, and have a self-signed certificate (which I know works): -

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Wesley Craig
On 04 Oct 2010, at 10:26, Patrick Goetz wrote: > Sorry,I didn't specifically say that I'm using the latest release, 2.3.16. I understood that, tho I did notice you pasted the 2.2.x error, not the 2.3.x error. > I find cyradm to be very convenient to use for smaller sites, but is > this essentia

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Dan White
On 04/10/10 09:26 -0500, Patrick Goetz wrote: >On 10/04/2010 08:41 AM, Wesley Craig wrote: >> >> TLS isn't available to Cyrus::IMAP pre 2.3.2. I expect it's a bug. > > >Sorry,I didn't specifically say that I'm using the latest release, 2.3.16. > > >I find cyradm to be very convenient to use for sm

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 11:17:59AM -0400, Chris Pepper wrote: > On 10/4/10 10:23 AM, Patrick Goetz wrote: > > I wasn't clear about whether the old install was completely gone or > > could still be booted. If you can still start cyrus on the old server, > > you could try imapsync to transfer mail t

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 10:17 AM, Chris Pepper wrote: > On 10/4/10 10:23 AM, Patrick Goetz wrote: >> >> I wasn't clear about whether the old install was completely gone or >> could still be booted. If you can still start cyrus on the old server, >> you could try imapsync to transfer mail to the new one. > >

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread André Schild
I wasn't clear about whether the old install was completely gone or >> could still be booted. If you can still start cyrus on the old server, >> you could try imapsync to transfer mail to the new one. > Old system is not bootable, unfortunately. > > FYI: I have 943 directories& 298,

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 10:23 AM, Patrick Goetz wrote: > On 10/04/2010 08:37 AM, Chris Pepper wrote: >> >> No, users see the folders, just not old messages. For most (all?) >> INBOXes but my own, new messages started arriving as 1. and continued >> from there. Users can see the new mail, but not the old. T

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 08:47 AM, Bron Gondwana wrote: > A script to find each file and IMAP append it? Just thinking outside the box > here! > How would you do the IMAP append? Using a Perl::IMAP function? This isn't necessarily a concern for this list, but a few days ago I upgraded a site from cyrus 2

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Patrick Goetz
On 10/04/2010 08:41 AM, Wesley Craig wrote: > > TLS isn't available to Cyrus::IMAP pre 2.3.2. I expect it's a bug. Sorry,I didn't specifically say that I'm using the latest release, 2.3.16. I find cyradm to be very convenient to use for smaller sites, but is this essentially a dead tool and I

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 08:37 AM, Chris Pepper wrote: > > No, users see the folders, just not old messages. For most (all?) > INBOXes but my own, new messages started arriving as 1. and continued > from there. Users can see the new mail, but not the old. This makes me > think it's not an internal permi

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Simon Matter
> All, > > I have run a small mail service based on Cyrus IMAP for a few > years. The (CentOS 5) server I've used for the past couple years failed > last week. I brought up a new CentOS 5 system on a new Linux server, > installed cyrus-imapd-2.3.7-7.el5_4.3, mounted the old /var disk > (actual

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
Simon, I did recover /var/lib/imap (although a bit later, FWIW) and /etc/imapd.conf. I just now compared /etc/cyrus.conf and added squatter & adjusted prefork numbers -- the rest all matched. Is there other configuration I should check? Both systems are 64-bit CentOS 5, so the

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Simon Matter
> Simon, > > I did recover /var/lib/imap (although a bit later, FWIW) and I think "a bit later" is your problem. But I think reconstruct should fix this. BTW, did you check the subscription status of mailboxes? Maybe the folders are there but not subscribed, and that's why some users can't s

cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Patrick Goetz
I was having problems making Cyrus 2.2.x work with only encrypted passwords. Setting allowplaintext: no in imapd.conf prevents plain text logins, but then cyradm stops working: ibis:~etc$ cyradm localhost Login disabled. cyradm: cannot authenticate to server as pgoetz I though

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 1:12 AM, Patrick Goetz wrote: > On 10/3/2010 6:57 AM, Chris Pepper wrote: >> >>More importantly, I don't know how to make the old messages >> accessible to my users via IMAP (I can give them the files, but that's >> quite awkward). chk_cyrus agrees with IMAP clients about message

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
A script to find each file and IMAP append it? Just thinking outside the box here! "Chris Pepper" wrote: >On 10/4/10 9:17 AM, Simon Matter wrote: >>> Simon, >>> >>> I did recover /var/lib/imap (although a bit later, FWIW) and >> >> I think "a bit later" is your problem. But I think reconstr

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/3/2010 6:57 AM, Chris Pepper wrote: > > More importantly, I don't know how to make the old messages > accessible to my users via IMAP (I can give them the files, but that's > quite awkward). chk_cyrus agrees with IMAP clients about message counts > (very low). I have tried reconstruct w

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 9:17 AM, Simon Matter wrote: >> Simon, >> >> I did recover /var/lib/imap (although a bit later, FWIW) and > > I think "a bit later" is your problem. But I think reconstruct should fix > this. > BTW, did you check the subscription status of mailboxes? Maybe the folders > are there bu

Re: cyradm and allowing only encrypted passwords with 2.3.16?

2010-10-04 Thread Wesley Craig
On 04 Oct 2010, at 01:09, Patrick Goetz wrote: > I was having problems making Cyrus 2.2.x work with only encrypted > passwords. Setting > > allowplaintext: no > > in imapd.conf prevents plain text logins, but then cyradm stops working: > > ibis:~etc$ cyradm localhost > Login disabled. >