Re: Hello cyrus users

2008-04-24 Thread Simon Matter
 I am not sure how happy I am too find out about cyrus.

 I just spent a lot of time getting everythig working on my first
 server...and even sendmail was not too hard (centos 5 sets it up rather
 well)...

 Then I see I needed a pop3 doo hickey..

 Holy moly.

 Looking for cyrus on machine was interesting as almost all of the files
 would not come up with a 'locate' command. And still do not. I am manually
 going through all the doc folders and etc and sys folders since locate
 cannot find them (and they are there)

maybe
rpm -ql cyrus-imapd


 There is only one book on amazon about cyrus and it is not in print
 yetone. And it has nothing to do with sendmail. Redhat has little info
 on it although it calls it the 'default' pop3 for the enterprise 5.1
 (centos
 in my case)

 All I am looking to do is have sendmail put the mail into users mailboxes
 (users who will be from virtual hosts like [EMAIL PROTECTED] and
 [EMAIL PROTECTED]) and just allow me to grab the emails with good old
 outlookand of course send the mails (but that is sendmail I believe.)

 Are there any good tutorials just for that, cause by god the program does
 everything under the sun and is rather confusing at first glance...

How many users do you have, how do you want to authenticate them? Things
are quite different if you have 10 or 1 users on a server. Cyrus can
do alot which is why it has quite some features you may have to configure.
I can't help with sendmail, I didn't touch it in the last 8 years but
found postfix much easier for me.

Simon


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: Hello cyrus users

2008-04-24 Thread Sebastian Hagedorn
--On 24. April 2008 09:06:33 +0200 Simon Matter [EMAIL PROTECTED] 
wrote:



Holy moly.

Looking for cyrus on machine was interesting as almost all of the files
would not come up with a 'locate' command. And still do not. I am
manually going through all the doc folders and etc and sys folders since
locate cannot find them (and they are there)


maybe
rpm -ql cyrus-imapd


True. locate only works after updatedb has been run.


There is only one book on amazon about cyrus and it is not in print
yetone. And it has nothing to do with sendmail. Redhat has little
info on it although it calls it the 'default' pop3 for the enterprise 5.1
(centos
in my case)

All I am looking to do is have sendmail put the mail into users mailboxes
(users who will be from virtual hosts like [EMAIL PROTECTED] and
[EMAIL PROTECTED]) and just allow me to grab the emails with good old
outlookand of course send the mails (but that is sendmail I believe.)


And you think that's *easy*?? Whenever you work with virtual hosts, things 
get tricky.




Are there any good tutorials just for that, cause by god the program does
everything under the sun and is rather confusing at first glance...


How many users do you have, how do you want to authenticate them? Things
are quite different if you have 10 or 1 users on a server. Cyrus can
do alot which is why it has quite some features you may have to configure.
I can't help with sendmail, I didn't touch it in the last 8 years but
found postfix much easier for me.


I can help with the sendmail integration if neccesary. The authentication 
is probably the most difficult part, though.

--
.:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
  .:.:.:.Skype: shagedorn.:.:.:.

pgpCwKf1vUa7K.pgp
Description: PGP signature

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Thomas Robers
Andy Fiddaman schrieb:
 That's the line that the patch changes, and that's the old version of the
 line, so something didn't take with your patching.
 
 A.

It seems so, but I don't understand, why. Here's the patch:

 --- cyrus-imapd-2.3.12/lib/libconfig.c  2008/04/11 20:07:00 1.18
 +++ cyrus-imapd-2.3.12/lib/libconfig.c  2008/04/23 11:00:13 1.18.2.1
 @@ -39,7 +39,7 @@
   * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
   * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   *
 - * $Id: libconfig.c,v 1.18 2008/04/11 20:07:00 murch Exp $
 + * $Id: libconfig.c,v 1.18.2.1 2008/04/23 11:00:13 murch Exp $
   */
  
  #include config.h
 @@ -340,7 +340,7 @@ void config_read_file(const char *filena
  while (fgets(buf+len, bufsize-len, infile)) {
 if (buf[len]) {
 len = strlen(buf);
 -   if (buf[len-1] == '\n') {
 +   if (len  buf[len-1] == '\n') {
 /* end of line */
 buf[--len] = '\0';
 ../libconfig2.patch (END)

and the patching did without error:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig2.patch 
 patching file lib/libconfig.c

So no errors but after installling i still get that segfault.

I also tried the other patch from Andy Fiddaman:

 --- cyrus-imapd-2.3.12/lib/libconfig.cTue Apr 22 20:30:33 2008
 +++ cyrus-imapd-2.3.12/lib/libconfig.cTue Apr 22 20:30:40 2008
 @@ -344,7 +344,7 @@
 /* end of line */
 buf[--len] = '\0';
 
 -   if (buf[len-1] == '\\') {
 +   if (len  buf[len-1] == '\\') {
 /* line continuation */
 len--;
 lineno++;
 ../libconfig3.patch (END) 

but this one got rejected:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig3.patch 
 patching file lib/libconfig.c
 Hunk #1 FAILED at 344.
 1 out of 1 hunk FAILED -- saving rejects to file lib/libconfig.c.rej

I'm not such an expert to see why this one got rejected.

Thomas

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Gabor Gombas
On Thu, Apr 24, 2008 at 09:58:05AM +1000, Bron Gondwana wrote:

 Have you looked at:
 
 http://cyrus.brong.fastmail.fm/patches/cyrus-auditlog-2.3.11.diff
 
 It's a very detailed logging system which logs all create, delete,
 append, copy, expunge, unlink, etc events.  Anything which changes
 a mailbox or message (but not metadata events like flag changes
 at the moment).  It also logs noteworthy sieve events.
 
 It logs everything at LOG_NOTICE.
 
 If there are other users for it, I'm happy to put some effort into
 making auditlog acceptable for upstream, and possibly generalising
 it to allow logging of different classes of events.

If you do that, please create a dedicated function for emitting audit
messages instead of calling syslog directly. That would make it easier
to send audit messages to a different destination (socket, fifo, or just
a log file) instead of cluttering syslog.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 Andy Fiddaman schrieb:
 That's the line that the patch changes, and that's the old version of
 the
 line, so something didn't take with your patching.

 A.

 It seems so, but I don't understand, why. Here's the patch:

 --- cyrus-imapd-2.3.12/lib/libconfig.c  2008/04/11 20:07:00 1.18
 +++ cyrus-imapd-2.3.12/lib/libconfig.c  2008/04/23 11:00:13 1.18.2.1
 @@ -39,7 +39,7 @@
   * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
   * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 SOFTWARE.
   *
 - * $Id: libconfig.c,v 1.18 2008/04/11 20:07:00 murch Exp $
 + * $Id: libconfig.c,v 1.18.2.1 2008/04/23 11:00:13 murch Exp $
   */

  #include config.h
 @@ -340,7 +340,7 @@ void config_read_file(const char *filena
  while (fgets(buf+len, bufsize-len, infile)) {
 if (buf[len]) {
 len = strlen(buf);
 -   if (buf[len-1] == '\n') {
 +   if (len  buf[len-1] == '\n') {
 /* end of line */
 buf[--len] = '\0';
 ../libconfig2.patch (END)

 and the patching did without error:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig2.patch
 patching file lib/libconfig.c

 So no errors but after installling i still get that segfault.

 I also tried the other patch from Andy Fiddaman:

 --- cyrus-imapd-2.3.12/lib/libconfig.cTue Apr 22 20:30:33 2008
 +++ cyrus-imapd-2.3.12/lib/libconfig.cTue Apr 22 20:30:40 2008
 @@ -344,7 +344,7 @@
 /* end of line */
 buf[--len] = '\0';

 -   if (buf[len-1] == '\\') {
 +   if (len  buf[len-1] == '\\') {
 /* line continuation */
 len--;
 lineno++;
 ../libconfig3.patch (END)

 but this one got rejected:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig3.patch
 patching file lib/libconfig.c
 Hunk #1 FAILED at 344.
 1 out of 1 hunk FAILED -- saving rejects to file lib/libconfig.c.rej

 I'm not such an expert to see why this one got rejected.

They don't apply togheter, only one can be applied. Try with fresh sources
and Andy Fiddaman's patch should apply fine.

Simon



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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 Simon Matter schrieb:
 They don't apply togheter, only one can be applied. Try with fresh
 sources
 and Andy Fiddaman's patch should apply fine.

 Simon

 I should have mentioned that that I did it with fresh sources.

 1. fresh sources with first patch
 2. delete source tree
 3. unpack sources and second patch

Did you copy/paste the patch? Then maybe it's a problem with whitespace
and such. Can you try the attached one.

Simon


 I also verified right now again with fresh sources:

 imap-1:/export/build# tar -xvzf source/cyrus-imapd-2.3.12.tar.gz
   imap-1:/export/build# cd cyrus-imapd-2-3-12
 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig3.patch
 patching file lib/libconfig.c
 Hunk #1 FAILED at 344.
 1 out of 1 hunk FAILED -- saving rejects to file lib/libconfig.c.rej

 Thomas

--- cyrus-imapd-2.3.12/lib/libconfig.c.orig	2008-04-11 22:07:00.0 +0200
+++ cyrus-imapd-2.3.12/lib/libconfig.c	2008-04-23 21:27:46.0 +0200
@@ -344,7 +344,7 @@
 		/* end of line */
 		buf[--len] = '\0';
 
-		if (buf[len-1] == '\\') {
+		if (len  buf[len-1] == '\\') {
 		/* line continuation */
 		len--;
 		lineno++;
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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Thomas Robers
Simon Matter schrieb:
 They don't apply togheter, only one can be applied. Try with fresh sources
 and Andy Fiddaman's patch should apply fine.
 
 Simon

I should have mentioned that that I did it with fresh sources.

1. fresh sources with first patch
2. delete source tree
3. unpack sources and second patch

I also verified right now again with fresh sources:

 imap-1:/export/build# tar -xvzf source/cyrus-imapd-2.3.12.tar.gz
  imap-1:/export/build# cd cyrus-imapd-2-3-12
 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  ../libconfig3.patch  

 patching file lib/libconfig.c
 Hunk #1 FAILED at 344.
 1 out of 1 hunk FAILED -- saving rejects to file lib/libconfig.c.rej

Thomas

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Thomas Robers
Simon Matter schrieb:
 Did you copy/paste the patch? Then maybe it's a problem with whitespace
 and such. Can you try the attached one.

Yes I did c/p and that seems to be the problem, because with your
patch it did that:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1  
 ../cyrus-imapd-2.3.12-config_parser.patch 
 patching file lib/libconfig.c
 patch unexpectedly ends in middle of line
 Hunk #1 succeeded at 344 with fuzz 1.

and after installing I get:

 (gdb) file /opt/cyrus-imapd-2.3.12/libexec/master
 Reading symbols from /opt/cyrus-imapd-2.3.12/libexec/master...done.
 Using host libthread_db library /lib/libthread_db.so.1.
 (gdb) run -d
 Starting program: /opt/cyrus-imapd-2.3.12/libexec/master -d
 
 Program exited normally.
 (gdb)

and cyrus master is running.

 Simon

Thanks Thomas

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 Simon Matter schrieb:
 Did you copy/paste the patch? Then maybe it's a problem with whitespace
 and such. Can you try the attached one.

 Yes I did c/p and that seems to be the problem, because with your
 patch it did that:

 imap-1:/export/build/cyrus-imapd-2.3.12# patch -p1 
 ../cyrus-imapd-2.3.12-config_parser.patch
 patching file lib/libconfig.c
 patch unexpectedly ends in middle of line
 Hunk #1 succeeded at 344 with fuzz 1.

 and after installing I get:

 (gdb) file /opt/cyrus-imapd-2.3.12/libexec/master
 Reading symbols from /opt/cyrus-imapd-2.3.12/libexec/master...done.
 Using host libthread_db library /lib/libthread_db.so.1.
 (gdb) run -d
 Starting program: /opt/cyrus-imapd-2.3.12/libexec/master -d

 Program exited normally.
 (gdb)

 and cyrus master is running.

OK, that also means that the patch in CVS is really the bad one and Andi's
patch is the one to put into CVS.

Simon


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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 I am pleased to announce the release of Cyrus IMAPd 2.3.12.  This
 release should be considered production quality.


 Noteworthy changes:

 * Added statuscache.db to cache IMAP STATUS data which
 significantly reduces the amount of I/O necessary when neither the
 mailbox nor \Seen state has changed -- courtesy of Fastmail.fm

While upgrading my RPM packages I found that logging is too noisy for my
taste. I get alot of syslog messages like so:

Apr 24 11:35:30 test imap[10457]: statuscache, 'user.simix', 'simix',
'0x13', 'yes'

and

Apr 24 11:59:13 test imap[17299]: skiplist:
/var/lib/imap/user/s/simix.seen is already open 1 time, returning object

I wanted to change things so that those logs are only generated with
CYRUS_VERBOSE  1 but that seems not be intended for syslog calls other
than from the standalone programs like master.c, make_md5.c and so. I
finally simply disabled those calls I considered too much:

--- cyrus-imapd-2.3.12/lib/cyrusdb_skiplist.c.orig  2008-04-09
19:56:57.0 +0200
+++ cyrus-imapd-2.3.12/lib/cyrusdb_skiplist.c   2008-04-24
12:10:24.0 +0200
@@ -751,8 +751,8 @@
 }
 if (list_ent) {
/* we already have this DB open! */
-   syslog(LOG_NOTICE, skiplist: %s is already open %d time%s,
returning object,
-   fname, list_ent-refcount, list_ent-refcount == 1 ?  : s);
+   /* syslog(LOG_NOTICE, skiplist: %s is already open %d time%s,
returning object,
+   fname, list_ent-refcount, list_ent-refcount == 1 ?  : s); */
*ret = list_ent-db;
++list_ent-refcount;
return 0;
--- cyrus-imapd-2.3.12/imap/index.c.orig2008-03-24
18:09:17.0 +0100
+++ cyrus-imapd-2.3.12/imap/index.c 2008-04-24 11:25:28.0 +0200
@@ -1573,13 +1573,13 @@
 */

if (!r) {
-   syslog(LOG_DEBUG, statuscache, '%s', '%s', '0x%02x', 'yes',
-  mboxname, imapd_userid, statusitems);
+   /* syslog(LOG_DEBUG, statuscache, '%s', '%s', '0x%02x', 'yes',
+  mboxname, imapd_userid, statusitems); */
goto statusdone;
}

-   syslog(LOG_DEBUG, statuscache, '%s', '%s', '0x%02x', 'no',
-  mboxname, imapd_userid, statusitems);
+   /* syslog(LOG_DEBUG, statuscache, '%s', '%s', '0x%02x', 'no',
+  mboxname, imapd_userid, statusitems); */
 }

 /* Missing or invalid cache entry */


With those changes the logging quantity is almost the same like with
2.3.11, not ten times more.

Statuscache: I have intended to enable statuscache by default in the RPM
and configure it to skiplist be default. (As usual, the imapd.conf manpage
states that those changes are RPM specific!)
Do I have to expect any troubles with this setup? Unfortunately I don't
have a really large server anymore to test with thousands of users and
very large storage. Bron?

Regards,
Simon


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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Ken Murchison
Simon Matter wrote:
 I am pleased to announce the release of Cyrus IMAPd 2.3.12.  This
 release should be considered production quality.


 Noteworthy changes:

 * Added statuscache.db to cache IMAP STATUS data which
 significantly reduces the amount of I/O necessary when neither the
 mailbox nor \Seen state has changed -- courtesy of Fastmail.fm
 
 While upgrading my RPM packages I found that logging is too noisy for my
 taste. I get alot of syslog messages like so:
 
 Apr 24 11:35:30 test imap[10457]: statuscache, 'user.simix', 'simix',
 '0x13', 'yes'

These messages are at the DEBUG level.  Do you usually ship your RPM 
with the logging set to DEBUG?  I don't really see a problem leaving 
these messages alone, since I would expect most production systems to be 
logging at INFO or higher.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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: Hello cyrus users

2008-04-24 Thread Alain Spineux
On Thu, Apr 24, 2008 at 9:06 AM, Simon Matter [EMAIL PROTECTED] wrote:
  I am not sure how happy I am too find out about cyrus.
  
   I just spent a lot of time getting everythig working on my first
   server...and even sendmail was not too hard (centos 5 sets it up rather
   well)...
  
   Then I see I needed a pop3 doo hickey..
  
   Holy moly.
  
   Looking for cyrus on machine was interesting as almost all of the files
   would not come up with a 'locate' command. And still do not. I am manually
   going through all the doc folders and etc and sys folders since locate
   cannot find them (and they are there)

  maybe
  rpm -ql cyrus-imapd


  
   There is only one book on amazon about cyrus and it is not in print
   yetone. And it has nothing to do with sendmail. Redhat has little info
   on it although it calls it the 'default' pop3 for the enterprise 5.1
   (centos
   in my case)
  
   All I am looking to do is have sendmail put the mail into users mailboxes
   (users who will be from virtual hosts like [EMAIL PROTECTED] and
   [EMAIL PROTECTED]) and just allow me to grab the emails with good old
   outlookand of course send the mails (but that is sendmail I believe.)
  
   Are there any good tutorials just for that, cause by god the program does
   everything under the sun and is rather confusing at first glance...

  How many users do you have, how do you want to authenticate them? Things
  are quite different if you have 10 or 1 users on a server. Cyrus can
  do alot which is why it has quite some features you may have to configure.
  I can't help with sendmail, I didn't touch it in the last 8 years but
  found postfix much easier for me.

postfix is a very good alternative to sendmail, I dont know why
redhat/fedora still
provide sendmail as the default !

Use google, for example search for : postfix cyrus imap howto
You will find link like below, read some of them to have a whider advice.

http://nakedape.cc/info/Cyrus-IMAP-HOWTO/quickstart-fedora.html

an hint: prefer LMTP  to cyrdeliver.

Regards




  Simon



  
  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




-- 
Alain Spineux
aspineux gmail com
May the sources be with you

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 Simon Matter wrote:
 I am pleased to announce the release of Cyrus IMAPd 2.3.12.  This
 release should be considered production quality.


 Noteworthy changes:

 * Added statuscache.db to cache IMAP STATUS data which
 significantly reduces the amount of I/O necessary when neither the
 mailbox nor \Seen state has changed -- courtesy of Fastmail.fm

 While upgrading my RPM packages I found that logging is too noisy for my
 taste. I get alot of syslog messages like so:

 Apr 24 11:35:30 test imap[10457]: statuscache, 'user.simix', 'simix',
 '0x13', 'yes'

 These messages are at the DEBUG level.  Do you usually ship your RPM
 with the logging set to DEBUG?  I don't really see a problem leaving
 these messages alone, since I would expect most production systems to be
 logging at INFO or higher.

The RPM logs to mail facility and priority of mail is * by default on
RedHat. That means out of the box we get quite alot messsages in maillog
now. With statuscache enabled the number of log entries is about 10 times
higher than without.
I understand that others may want those logs at the DEBUG level, it's only
a problem in my situation.

Simon


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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Ken Murchison
Simon Matter wrote:
 Simon Matter wrote:
 I am pleased to announce the release of Cyrus IMAPd 2.3.12.  This
 release should be considered production quality.


 Noteworthy changes:

 * Added statuscache.db to cache IMAP STATUS data which
 significantly reduces the amount of I/O necessary when neither the
 mailbox nor \Seen state has changed -- courtesy of Fastmail.fm
 While upgrading my RPM packages I found that logging is too noisy for my
 taste. I get alot of syslog messages like so:

 Apr 24 11:35:30 test imap[10457]: statuscache, 'user.simix', 'simix',
 '0x13', 'yes'
 These messages are at the DEBUG level.  Do you usually ship your RPM
 with the logging set to DEBUG?  I don't really see a problem leaving
 these messages alone, since I would expect most production systems to be
 logging at INFO or higher.
 
 The RPM logs to mail facility and priority of mail is * by default on
 RedHat. That means out of the box we get quite alot messsages in maillog
 now. With statuscache enabled the number of log entries is about 10 times
 higher than without.
 I understand that others may want those logs at the DEBUG level, it's only
 a problem in my situation.


Don't you also get a ton of transaction log messages, regardless of the 
statuscache code?

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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: Cyrus IMAPd 2.3.12 Released

2008-04-24 Thread Simon Matter
 Simon Matter wrote:
 Simon Matter wrote:
 I am pleased to announce the release of Cyrus IMAPd 2.3.12.  This
 release should be considered production quality.


 Noteworthy changes:

 * Added statuscache.db to cache IMAP STATUS data which
 significantly reduces the amount of I/O necessary when neither the
 mailbox nor \Seen state has changed -- courtesy of Fastmail.fm
 While upgrading my RPM packages I found that logging is too noisy for
 my
 taste. I get alot of syslog messages like so:

 Apr 24 11:35:30 test imap[10457]: statuscache, 'user.simix', 'simix',
 '0x13', 'yes'
 These messages are at the DEBUG level.  Do you usually ship your RPM
 with the logging set to DEBUG?  I don't really see a problem leaving
 these messages alone, since I would expect most production systems to
 be
 logging at INFO or higher.

 The RPM logs to mail facility and priority of mail is * by default on
 RedHat. That means out of the box we get quite alot messsages in maillog
 now. With statuscache enabled the number of log entries is about 10
 times
 higher than without.
 I understand that others may want those logs at the DEBUG level, it's
 only
 a problem in my situation.


 Don't you also get a ton of transaction log messages, regardless of the
 statuscache code?

Of course I get quite a number of log messages but that's still
acceptable. However with statuscache enabled the number of log messages
increases dramatically. As I said it increases at a factor of ~10.

The other log with skiplist doesn't hurt so much because it's not so
often. Still it doesn't seem to make much sense to log that message
whenever a seen db is opened, which it looks like in my tests. Maybe
that's only here because we run all db's as skiplist.

Simon


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


Cyrus IMAPd 2.3.12p1 Released

2008-04-24 Thread Ken Murchison
I am pleased to announce the release of Cyrus IMAPd 2.3.12p1.  This
release should be considered production quality.

The only change from 2.3.12 is a patch to fix a memory corruption in the 
imapd.conf parsing code which could cause segfaults on certain platforms.

Noteworthy changes from 2.3.11:

* Added statuscache.db to cache IMAP STATUS data which
significantly reduces the amount of I/O necessary when neither the
mailbox nor \Seen state has changed -- courtesy of Fastmail.fm
* Added option to unexpunge to restore messages by time interval --
courtesy of David Carter
* Implemented undocumented IMAP SCAN extension, which allows
Pine/Alpine to do cross-mailbox searches -- based on work of David Carter
* Implemented incremental squat updates (see squatter.8) -- courtesy of
David Carter
* Fixed major bugs in reconstruct -k implementation -- courtesy of David
Carter

For full details, please see doc/changes.html and
doc/install-upgrade.html which are included in the distribution.

URLs for this release:
ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.12p1.tar.gz
or
http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.12p1.tar.gz


Questions and comments can be directed to
info-cyrus@lists.andrew.cmu.edu (public list), or [EMAIL PROTECTED]

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University













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


Cyrus IMAPd 2.3.12p2 Released

2008-04-24 Thread Ken Murchison
I am pleased to announce the release of Cyrus IMAPd 2.3.12p2.  This
release should be considered production quality.

I was careless in applying the memory corruption patch in 2.3.12p1 and 
it didn't actually solve the problem.  It should be fixed now.

Noteworthy changes from 2.3.11:

* Added statuscache.db to cache IMAP STATUS data which
significantly reduces the amount of I/O necessary when neither the
mailbox nor \Seen state has changed -- courtesy of Fastmail.fm
* Added option to unexpunge to restore messages by time interval --
courtesy of David Carter
* Implemented undocumented IMAP SCAN extension, which allows
Pine/Alpine to do cross-mailbox searches -- based on work of David Carter
* Implemented incremental squat updates (see squatter.8) -- courtesy of
David Carter
* Fixed major bugs in reconstruct -k implementation -- courtesy of David
Carter

For full details, please see doc/changes.html and
doc/install-upgrade.html which are included in the distribution.

URLs for this release:
ftp://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.12p2.tar.gz
or
http://ftp.andrew.cmu.edu/pub/cyrus/cyrus-imapd-2.3.12p2.tar.gz


Questions and comments can be directed to
info-cyrus@lists.andrew.cmu.edu (public list), or [EMAIL PROTECTED]

-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University














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: Cyrus IMAPd 2.3.12p2 Released

2008-04-24 Thread Simon Matter
 I am pleased to announce the release of Cyrus IMAPd 2.3.12p2.  This
 release should be considered production quality.

 I was careless in applying the memory corruption patch in 2.3.12p1 and
 it didn't actually solve the problem.  It should be fixed now.

Ken, I can't see any difference between p1 and p2 apart from the create
dates in the html docs. Are you sure the right tarball got to the download
site?

Simon


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