Re: Cyrus 2.2.8: imapd dies + corrupt inbox

2005-01-31 Thread Bernd Nies
Hi,
How is it going with the problem?
Status is unchanged.
Could this be a Solaris only problem. Asking as I am using OpenBSD. And I have 
use all releases from 2.2.6 to 2.2.10 on OpenBSD 3.5 and 3.6 and never ever 
had a Cyrus crash or a corrupt mailbox.
Don't know. Probably an issue with Solaris and Sun's Compiler. Had some 
compile problems with earlier releases because some code seemed to be 
designed for GNU-Compiler only. But I don't want to compile everything 
again with gcc just to check whether this works better or not.

I am working for a Sun microsystems partner and have a customer that 
eventually want to use Cyrus on a couple of 240 servers. So I also have an 
interest in this case.

Do you have much load ?
(My load is not that high)
We have two mail servers:
1) A SunFire V210 with Solaris 9, five concurrent users and 60 user mail 
folders. The two disks on that SunFire are mirrored.

2) An Enterprise 450 with Solaris 8 and about 100 concurrent users, 1340 
user mail folders and 308 shared folders. The IMAP folders are stored on 
two RAID 5 volumes consisting of 4 and 8 4GB disks plus a hot spare. The 
disk I/O is rather slow.

I created a package that contains all software required to run a mail 
server (Cyrus IMAP, SASL, OpenLDAP, OpenSSL, Postfix, Apache, PHP, 
PHP-Accelerator, Squirrelmail, Perl, SpamAssassin). All software is 
compiled on Solaris 9 using Sun's Studio 9 Compiler.

Both mail servers authenticate with LDAP against a Sun Directory Server 
Replica. The mail server is mostly used for intranet. Our users mainly 
connect with Mozilla, Thunderbird or Netscape on Linux or Solaris clients.

The crashing Cyrus IMAP processes only occur on mailserver 2) about 2-3 
times a week. Maybe because it's Solaris 8 and Cyrus is compiled on 
Solaris 9 or simply because on Server 1) are much less users and it just 
hasn't happened yet. But all other software components are running fine.

Imapd linked libraries on Solaris 8:
ldd /opt/adnmail/cyrus/bin/imapd
libsasl2.so.2 => /opt/adnmail/cyrus/lib/libsasl2.so.2
libdl.so.1 =>/usr/lib/libdl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libdb-4.2.so =>  /opt/adnmail/db/lib/libdb-4.2.so
libssl.so.0.9.7 =>   /opt/adnmail/openssl/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => 
/opt/adnmail/openssl/lib/libcrypto.so.0.9.7
librt.so.1 =>/usr/lib/librt.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
libaio.so.1 =>   /usr/lib/libaio.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

Imapd linked libraries on Solaris 9:
ldd /opt/adnmail/cyrus/bin/imapd
libsasl2.so.2 => /opt/adnmail/cyrus/lib/libsasl2.so.2
libdl.so.1 =>/usr/lib/libdl.so.1
libresolv.so.2 =>/usr/lib/libresolv.so.2
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>   /usr/lib/libnsl.so.1
libdb-4.2.so =>  /opt/adnmail/db/lib/libdb-4.2.so
libssl.so.0.9.7 =>   /opt/adnmail/openssl/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => 
/opt/adnmail/openssl/lib/libcrypto.so.0.9.7
librt.so.1 =>/usr/lib/librt.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
libaio.so.1 =>   /usr/lib/libaio.so.1
libmd5.so.1 =>   /usr/lib/libmd5.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1

Regards,
Bernd
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Seen file format

2005-01-31 Thread Yann Rouillard
Hi,
I am currently using Cyrus 2.2.9 and I am looking for some information 
on the seen file content.
Could someone give me some hint or give some link where I could find 
this information ?

Cheers,
yann
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus 2.2.8: imapd dies + corrupt inbox

2005-01-31 Thread Gary Mills
On Mon, Jan 31, 2005 at 08:51:52AM +0100, Bernd Nies wrote:
> 
> The crashing Cyrus IMAP processes only occur on mailserver 2) about 2-3 
> times a week. Maybe because it's Solaris 8 and Cyrus is compiled on 
> Solaris 9 or simply because on Server 1) are much less users and it just 
> hasn't happened yet. But all other software components are running fine.

That shouldn't even work!  Solaris versions are guaranteed upward
compatible, but not downward.  You should either recompile the
software under Solaris 8, or upgrade the server to Solaris 9.

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


IMAP Annotation Support

2005-01-31 Thread Adam Tauno Williams
Cyrus IMAP supports setting IMAP annotations.

Does anyone know of what clients support annotation, if any?  (In
general support for IMAP extensions seems low).

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


Re: Seen file format

2005-01-31 Thread Ken Murchison
Yann Rouillard wrote:
Hi,
I am currently using Cyrus 2.2.9 and I am looking for some information 
on the seen file content.
Could someone give me some hint or give some link where I could find 
this information ?
Look at doc/internal/database-formats.html in the Cyrus distro.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: apop not working

2005-01-31 Thread Ken Murchison
Edward Rudd wrote:
I'm running cyrus Imapd 2.2.3 (Simon matter's invocha rpms) and just
noticed odd thing.. Cyrus authenticates via saslauthd over LDAP, and
pop3 user/pass works fine.. but pop3 apop fails with "user not found". 
and the auth logs looks like it's trying to look the user up in the
slapdb auxprop.
Does anyone have any idea why this is occurring? and is there anyway to
simply disable apop for the time being until I upgrade to 2.2.10 and use
the ldapdb auxprop backend again?
Recompile SASL with APOP disabled.  In later 2.2 versions of Cyrus IMAP 
you can disable APOP from withing imapd.conf (don't remember exactly 
when I added the option).

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Seen database sync not happening between processes

2005-01-31 Thread Ken Murchison
Alec H. Peterson wrote:
--On January 26, 2005 7:17:19 AM -0700 "Alec H. Peterson" 
<[EMAIL PROTECTED]> wrote:

Nice, that did it.

I noticed an interesting side effect of this patch.  While it does 
synchronize the database nicely for seen state changes, it unfortunately 
does not also notify the idled process of the database changes (probably 
because before the patch the changes weren't available anyway).

At any rate, they may have already done this for the 2.3 version,
I did.

but I 
put in a couple of little patches that notify idled in the event that 
the seen database was changed but other parts of the mailbox were not 
(ie, parts of the mailbox that would have notified idled anyway).

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

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: IMAP Annotation Support

2005-01-31 Thread Ken Murchison
Adam Tauno Williams wrote:
Cyrus IMAP supports setting IMAP annotations.
Does anyone know of what clients support annotation, if any?  (In
general support for IMAP extensions seems low).
I'm not aware of any client which supports mailbox annotations other 
Cyrus cyradm (and the underlying Perl module).  If I had to take a guess 
which client would be the first to support them, it would be Mulberry, 
which is written by one of the authors of the ANNOTATEMORE spec.

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: popminpoll problem

2005-01-31 Thread Ken Murchison
Darren Joy wrote:
On Tue, 25 Jan 2005, Kirsch, Mathew (Matt) wrote:

I suspect that popminpoll doesn't do what you think it does. See, the
computer can't possibly know that the person logging in is your problem user
until he's logged in, and then the damage is already done.

I suspect you've misread the question ;)
I don't think so.  Matt is correct, the server can't refuse the 
connection until after the user has successfully authenticated.  To the 
client, it looks like authentication has failed (a failure to the PASS, 
APOP or AUTH commands), but internally to the server the authentication 
was successful and the user's INBOX header read (to get the last login 
time), which is why the server logs the authentication.

popminpoll works as expected on my 2.3 install.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: question

2005-01-31 Thread sc2
hello my config is attached down.
but i heard from the coder that i must rebuild the index isnst it done @ 
restart? (when i delete)

if not do you know the command?
thx
richard 

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


Re: question

2005-01-31 Thread Andrew Morgan

On Sun, 30 Jan 2005 [EMAIL PROTECTED] wrote:
hello
i have a problem i did convert the mbox to cyrus format with this script 
which is down (but complete its just a part of it)
the files 1.2.3. etc are in /var/spool/imap/user/username in.
But when i try to recive it he means 0 mails...
Permissions are correct any ideas ?
Script isif you know better scripts pls let me now it
Perhaps you have "hashimapspool: true" set in your imapd.conf file, so the 
correct directory to place the 1., 2., 3. files in would be 
/var/spool/imap/mail/prefix/user/username.  I would check that mbox2cyrus 
is hashimapspool aware.

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


Re: question

2005-01-31 Thread Andrew Morgan
On Mon, 31 Jan 2005 [EMAIL PROTECTED] wrote:
hello my config is attached down.
but i heard from the coder that i must rebuild the index isnst it done @ 
restart? (when i delete)

if not do you know the command?
thx
richard
I assume that they are referring to the "reconstruct" command, which you 
will need to run for each user you have migrated.  Make sure you run it as 
the cyrus user, like so:

  su cyrus -c '/usr/local/cyrus/bin/reconstruct -f user.username'
Adjust the path and username for your site.
Andy
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: IMAP Annotation Support

2005-01-31 Thread Joon Radley
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Adam Tauno Williams
> Sent: Monday, January 31, 2005 6:08 PM
> To: info-cyrus@lists.andrew.cmu.edu
> Subject: IMAP Annotation Support
> 
> Cyrus IMAP supports setting IMAP annotations.
> 
> Does anyone know of what clients support annotation, if any?  
> (In general support for IMAP extensions seems low).

The following clients use ANNOTATMORE as part of the kolab-xml format to
identify the groupware content of a mail box:

KDE Kontact (Proko2/Kolab2 branch)
Horde Web Client ( also to do with the Proko2/Kolab2 project )
Toltec Connector ( open format version )

See http://www.kolab.org/documentation.html for more information regarding
the project and the format. The project has also contributed a patch that
allows clients to set custom annotations to a mail box.

Joon

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


.forward and vacation

2005-01-31 Thread Mauricio Tavares
	Stupid question:  how can a user setup something like .forward and the 
vacation thingie (i.e. saying he is away for the time being) under cyrus 
if he does not have direct access (i.e. cannot login) to the mail server?

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


Re: .forward and vacation

2005-01-31 Thread Patrick Gibson
Cyrus has a superior way of doing this using a simple scripting 
language called Sieve: .

Patrick
On Jan 31, 2005, at 11:19 AM, Mauricio Tavares wrote:
	Stupid question:  how can a user setup something like .forward and 
the vacation thingie (i.e. saying he is away for the time being) under 
cyrus if he does not have direct access (i.e. cannot login) to the 
mail server?

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

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


newbie install

2005-01-31 Thread Kern, Tom
Hi, i'm just trying to get cyrus installed and it doesn't seem to work.
there are no /usr/cyrus dirs.
cyradm - command cannot be found.


obiviously i screwed up. but where?
i'm trying to install cyrus-imapd-2.2.10.
i already have cyrus-sasl 2.1.15-3 installed.

I followed the install/compile instructions that came with the distrib.



i'm trying to run cyrus with postfix 2.1.5 on RedHat EL 3


thanks. sorry in advanced for being such a newbie

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


RE: newbie install

2005-01-31 Thread Doug Koobs
I found it much easier to use Simon's packages from:
http://www.invoca.ch/pub/packages/cyrus-imapd/

They work on CentOS3, so they should work on RHEL3. If you decide to go
this route, uninstall what you have done so far, and start over with the
rpm's. 

Doug 


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom
> Sent: Monday, January 31, 2005 3:07 PM
> To: info-cyrus@lists.andrew.cmu.edu
> Subject: newbie install
> 
> 
> Hi, i'm just trying to get cyrus installed and it doesn't 
> seem to work.
> there are no /usr/cyrus dirs.
> cyradm - command cannot be found.
> 
> 
> obiviously i screwed up. but where?
> i'm trying to install cyrus-imapd-2.2.10.
> i already have cyrus-sasl 2.1.15-3 installed.
> 
> I followed the install/compile instructions that came with 
> the distrib.
> 
> 
> 
> i'm trying to run cyrus with postfix 2.1.5 on RedHat EL 3
> 
> 
> thanks. sorry in advanced for being such a newbie
> 
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
> 



Confidential: This electronic message and all contents contain information from 
Financial Credit Services which may be privileged, confidential or otherwise 
protected from disclosure. The information is intended to be for the addressee 
only. If you are not the addressee, any disclosure, copy, distribution or use 
of the contents of this message is prohibited. If you have received this 
electronic message in error, please notify the sender and destroy the original 
message and all copies.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: .forward and vacation

2005-01-31 Thread Michael Plate
Hi,
Mauricio Tavares schrieb:
Stupid question:  how can a user setup something like .forward and 
the vacation thingie (i.e. saying he is away for the time being) under 
cyrus if he does not have direct access (i.e. cannot login) to the mail 
server?
Cyrus uses sieve for that. A cool thingy, despite I don't know any mail 
client supporting it (maybe mulberry). However there is a number of 
other ways: we do use a webinterface (Squirrelmail) and plugin called 
avelsieve for that.

Freshmeat lists 12 products when searching for sieve.
CU
Michael
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[no subject]

2005-01-31 Thread info-andrew-bugs
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html