Conditional unixhierarchysep ?

2003-09-18 Thread Jason Fesler
Is it possible to, for some clients, have unixhierarchysep be enabled, but
not touch other clients?  I only have one single machine for testing, and
I'm loathe to change things on everyone without testing things out myself
(specifically, the user pain of migration).

Alternately, can this be done on a per instance of imapd basis, ie on a
different port number?

Kind of ditto for altnamespace ..  :-)



Re: how to disable pop?

2003-09-18 Thread Tarjei Huse
Michael Grundmann wrote:

Hi,

how can i disable pop3-funktion in cyrus?

Michael

Comment out the pop3 entries in /etc/cyrus.conf.

Tarjei



Re: Conditional unixhierarchysep ?

2003-09-18 Thread Christian Schulte
Jason Fesler schrieb:

Is it possible to, for some clients, have unixhierarchysep be enabled, but
not touch other clients?  I only have one single machine for testing, and
I'm loathe to change things on everyone without testing things out myself
(specifically, the user pain of migration).
Alternately, can this be done on a per instance of imapd basis, ie on a
different port number?
Why not simply add another imapd on another port in cyrus.conf which 
gets its own imapd.conf file with the -C option ?

--Christian



Re: Conditional unixhierarchysep ?

2003-09-18 Thread Ken Murchison


Christian Schulte wrote:
Jason Fesler schrieb:

Is it possible to, for some clients, have unixhierarchysep be enabled, 
but
not touch other clients?  I only have one single machine for testing, and
I'm loathe to change things on everyone without testing things out myself
(specifically, the user pain of migration).

Alternately, can this be done on a per instance of imapd basis, ie on a
different port number?
Why not simply add another imapd on another port in cyrus.conf which 
gets its own imapd.conf file with the -C option ?
Exactly.  I always have services running on an alternate port.  This is 
how I test code changes before I commit them to CVS or deploy them in 
production.

--
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


Cyradm fails to load

2003-09-18 Thread Arunvijai



Hello All,
 
When i try to run "cyradm" tool, It gives lots of errors,

--
# /opt/perl/bin/cyradmCan't load 
'/opt/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0-thread-multi/auto/Cyrus/IMAP/IMAP.so' 
for module Cyrus::IMAP: Unresolved external at 
/opt/perl/lib/5.6.1/IA64.ARCHREV_0-thread-multi/DynaLoader.pm line 
206.Compilation failed in require at 
/opt/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.BEGIN failed--compilation aborted at 
/opt/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0-thread-multi/Cyrus/IMAP/Admin.pm 
line 44.Compilation failed in require at 
/opt/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.BEGIN failed--compilation aborted at 
/opt/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0-thread-multi/Cyrus/IMAP/Shell.pm 
line 60.Compilation failed in require.BEGIN failed--compilation 
aborted.---

Any suggestions ?

TIA,
Arun

---Outgoing mail is certified Virus 
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version: 6.0.518 / 
Virus Database: 316 - Release Date: 9/11/2003


can't login with SSL

2003-09-18 Thread Alexandru Coseru



Hello..
I've installed cyrus-imapd-2.2and i'm 
trying to make it work with SSL.
I have compiled it with --with-openssl

But now , when I'm starting it , i have some errors 
in logs:


Sep 18 15:18:32 alexl master[14810]: setrlimit: 
Unable to set file descriptors limit to -1: Operation not permittedSep 18 
15:18:32 alexl master[14810]: retrying with 1024 (current max)Sep 18 
15:18:32 alexl saslauthd[14811]: detach_tty : 
master pid is: 14811Sep 18 15:18:32 alexl saslauthd[14811]: 
ipc_init : listening on socket: 
/var/run/saslauthd/muxSep 18 15:18:32 alexl master[14810]: process 
startedSep 18 15:18:32 alexl master[14810]: process 14815 exited, signaled 
to death by 11Sep 18 15:18:33 alexl master[14810]: ready for workSep 18 
15:18:33 alexl tls_prune[14822]: DBERROR db4: operation not permitted during 
recovery.Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening 
/var/imap/tls_sessions.db: Invalid argumentSep 18 15:18:33 alexl 
tls_prune[14822]: DBERROR: opening /var/imap/tls_sessions.db: cyrusdb 
errorSep 18 15:18:33 alexl ctl_cyrusdb[14824]: checkpointing cyrus 
databasesSep 18 15:18:33 alexl ctl_cyrusdb[14824]: done checkpointing cyrus 
databases


I'm interested mainly on thoose regarding 
tls_prune.
None of the SSL clients i'm using works 

If I connect directly to imap or pop3 
(without SSL) , it works fine...


I have put in /etc/imapd.conf

tls_ca_file: /var/imap/server.pemtls_cert_file: 
/var/imap/server.pemtls_key_file: /var/imap/server.pem



Can somebody give me a hint 
?


Re: Conditional unixhierarchysep ?

2003-09-18 Thread Jason Fesler
  Why not simply add another imapd on another port in cyrus.conf which
  gets its own imapd.conf file with the -C option ?

 Exactly.  I always have services running on an alternate port.  This is
 how I test code changes before I commit them to CVS or deploy them in
 production.

Mea culpa, missed that.  Any locking issues to beware if the same user is
hitting both services at the same time?


can't login with SSL (II)

2003-09-18 Thread Alexandru Coseru



I forgot to say that when i'm starting cyrus imap , 
i get an core dump in /var/imap..
and tls_session.db dissapears...

[EMAIL PROTECTED] imap]# lsannotations.db 
core.14785 db/ 
db.backup2/ domain/ mailboxes.db 
proc/ quota/ 
socket/core.14754 core.14815 
db.backup1/ deliver.db log/ 
msg/ ptclient/ 
server.pem

Any clue ?

Regards
 Alex


- Original Message - 
From: Alexandru Coseru 
To:   
Sent: Thursday, September 18, 2003 7:25 PM
Subject: can't login with SSL

Hello..
I've installed cyrus-imapd-2.2and i'm 
trying to make it work with SSL.
I have compiled it with --with-openssl

But now , when I'm starting it , i have some errors 
in logs:


Sep 18 15:18:32 alexl master[14810]: setrlimit: 
Unable to set file descriptors limit to -1: Operation not permittedSep 18 
15:18:32 alexl master[14810]: retrying with 1024 (current max)Sep 18 
15:18:32 alexl saslauthd[14811]: detach_tty : 
master pid is: 14811Sep 18 15:18:32 alexl saslauthd[14811]: 
ipc_init : listening on socket: 
/var/run/saslauthd/muxSep 18 15:18:32 alexl master[14810]: process 
startedSep 18 15:18:32 alexl master[14810]: process 14815 exited, signaled 
to death by 11Sep 18 15:18:33 alexl master[14810]: ready for workSep 18 
15:18:33 alexl tls_prune[14822]: DBERROR db4: operation not permitted during 
recovery.Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening 
/var/imap/tls_sessions.db: Invalid argumentSep 18 15:18:33 alexl 
tls_prune[14822]: DBERROR: opening /var/imap/tls_sessions.db: cyrusdb 
errorSep 18 15:18:33 alexl ctl_cyrusdb[14824]: checkpointing cyrus 
databasesSep 18 15:18:33 alexl ctl_cyrusdb[14824]: done checkpointing cyrus 
databases


I'm interested mainly on thoose regarding 
tls_prune.
None of the SSL clients i'm using works 

If I connect directly to imap or pop3 
(without SSL) , it works fine...


I have put in /etc/imapd.conf

tls_ca_file: /var/imap/server.pemtls_cert_file: 
/var/imap/server.pemtls_key_file: /var/imap/server.pem



Can somebody give me a hint 
?


Re: can't login with SSL

2003-09-18 Thread Patrick Morris
In the case of this particulkar error message, you were trying to log in 
before the system had finished starting up.  What happens now that it's 
running?

Alexandru Coseru wrote:

Hello..
I've installed cyrus-imapd-2.2  and i'm trying to make it work with SSL.
I have compiled it with --with-openssl
 
But now , when I'm starting it , i have some errors in logs:
 
 
Sep 18 15:18:32 alexl master[14810]: setrlimit: Unable to set file 
descriptors limit to -1: Operation not permitted
Sep 18 15:18:32 alexl master[14810]: retrying with 1024 (current max)
Sep 18 15:18:32 alexl saslauthd[14811]: detach_tty  : master pid 
is: 14811
Sep 18 15:18:32 alexl saslauthd[14811]: ipc_init: listening on 
socket: /var/run/saslauthd/mux
Sep 18 15:18:32 alexl master[14810]: process started
Sep 18 15:18:32 alexl master[14810]: process 14815 exited, signaled to 
death by 11
Sep 18 15:18:33 alexl master[14810]: ready for work
Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR db4: operation not 
permitted during recovery.
Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening 
/var/imap/tls_sessions.db: Invalid argument
Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening 
/var/imap/tls_sessions.db: cyrusdb error
Sep 18 15:18:33 alexl ctl_cyrusdb[14824]: checkpointing cyrus databases
Sep 18 15:18:33 alexl ctl_cyrusdb[14824]: done checkpointing cyrus 
databases
 
 
I'm interested mainly on thoose regarding tls_prune.
None of the SSL clients i'm using works 
If I connect directly to imap or pop3  (without SSL) , it works fine...
 
 
I have put in /etc/imapd.conf
 
tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
 
 
 
Can somebody give me a hint ?




This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.


Re: can't login with SSL

2003-09-18 Thread Alexandru Coseru
Also , there are remaining process that won't die..

15074 pts/0S  0:00 [master]
15075 ?S  0:00 /usr/local/sbin/saslauthd -a pam
15077 ?S  0:00 /usr/local/sbin/saslauthd -a pam
15078 ?S  0:00 /usr/local/sbin/saslauthd -a pam
15079 ?S  0:00 /usr/local/sbin/saslauthd -a pam
15080 ?S  0:00 /usr/local/sbin/saslauthd -a pam
15087 pts/0S  0:00 /usr/cyrus/bin/cyr_expire -E 3
15091 pts/0S  0:00 imapd -s
15094 ?S  0:00
gnome-spell-component-0.5 --oaf-activate-iid=OAFIID:GNOME_Spell_DictionaryFa
ctory:0.2 --oaf-ior-fd=23
15106 pts/0S  0:00 imapd -s
15108 pts/0S  0:00 imapd -s
15121 pts/0R  0:00 ps -ax



I've done an strace on that imaps..

[EMAIL PROTECTED] imap]# strace -s 100 -f -p 15108
select(0, NULL, NULL, NULL, {0, 67}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}



They are waitting for something
And so is Outlook , which fails by telling me that the timeout has expired..
That the server has not responded..


What could it be wrong ?


Regards
Alex


- Original Message - 
From: Patrick Morris [EMAIL PROTECTED]
To: Alexandru Coseru [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 7:47 PM
Subject: Re: can't login with SSL


 In the case of this particulkar error message, you were trying to log in
 before the system had finished starting up.  What happens now that it's
 running?

 Alexandru Coseru wrote:

  Hello..
  I've installed cyrus-imapd-2.2  and i'm trying to make it work with SSL.
  I have compiled it with --with-openssl
 
  But now , when I'm starting it , i have some errors in logs:
 
 
  Sep 18 15:18:32 alexl master[14810]: setrlimit: Unable to set file
  descriptors limit to -1: Operation not permitted
  Sep 18 15:18:32 alexl master[14810]: retrying with 1024 (current max)
  Sep 18 15:18:32 alexl saslauthd[14811]: detach_tty  : master pid
  is: 14811
  Sep 18 15:18:32 alexl saslauthd[14811]: ipc_init: listening on
  socket: /var/run/saslauthd/mux
  Sep 18 15:18:32 alexl master[14810]: process started
  Sep 18 15:18:32 alexl master[14810]: process 14815 exited, signaled to
  death by 11
  Sep 18 15:18:33 alexl master[14810]: ready for work
  Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR db4: operation not
  permitted during recovery.
  Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening
  /var/imap/tls_sessions.db: Invalid argument
  Sep 18 15:18:33 alexl tls_prune[14822]: DBERROR: opening
  /var/imap/tls_sessions.db: cyrusdb error
  Sep 18 15:18:33 alexl ctl_cyrusdb[14824]: checkpointing cyrus databases
  Sep 18 15:18:33 alexl ctl_cyrusdb[14824]: done checkpointing cyrus
  databases
 
 
  I'm interested mainly on thoose regarding tls_prune.
  None of the SSL clients i'm using works
  If I connect directly to imap or pop3  (without SSL) , it works fine...
 
 
  I have put in /etc/imapd.conf
 
  tls_ca_file: /var/imap/server.pem
  tls_cert_file: /var/imap/server.pem
  tls_key_file: /var/imap/server.pem
 
 
 
  Can somebody give me a hint ?











 This message is intended only for the use of the person(s) listed above as
the intended recipient(s), and may contain information that is PRIVILEGED
and CONFIDENTIAL.  If you are not an intended recipient, you may not read,
copy, or distribute this message or any attachment. If you received this
communication in error, please notify us immediately by e-mail and then
delete all copies of this message and any attachments.

 In addition you should be aware that ordinary (unencrypted) e-mail sent
through the Internet is not secure. Do not send confidential or sensitive
information, such as social security numbers, account numbers, personal
identification numbers and passwords, to us via ordinary (unencrypted)
e-mail.




Re: Conditional unixhierarchysep ?

2003-09-18 Thread Ken Murchison
Jason Fesler wrote:

Why not simply add another imapd on another port in cyrus.conf which
gets its own imapd.conf file with the -C option ?
Exactly.  I always have services running on an alternate port.  This is
how I test code changes before I commit them to CVS or deploy them in
production.


Mea culpa, missed that.  Any locking issues to beware if the same user is
hitting both services at the same time?
Nope.  No different from the same user hitting multiple imapd/mailboxes 
at the same time (which probably happens a lot).

--
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 IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello,

I  am  using  Cyrus  IMAP 2.1.15 with Sendmail. I've spent lot of time
trying  to set up my IMAP clients (M$ Outlook, Mozilla Thunderbird and
The  Bat!)  to work with it but I keep having problems with folders.
Whenever  I  create  a user (e.g. cm user.test), each of these clients
gets  an  non-selectable  folder  user,  then  fodler  test  which
contains  all  user's messages. I tried to play with IMAP root setting
on the clients, but it does not seem to help much. If I make user.test
my IMAP root - I am unable to see the messages :). I can not set INBOX
as  my  IMAP  root  (all  clients report server error, something like:
Your specified Root Folder Path of 'INBOX' could neither be found nor
created. Please verify your Root Folder Path is correct, and that your
IMAP  account  is properly configured. When I use 'user.test' in this
situation,  everything  works just fine, except that I can not see the
messages (apparentely, they are left higher in the folder hierarchy).

I  am  trying  to manually create an inbox folder for users, something
like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
manually  created  folder.  This is to put all the folder (Sent Items,
Drafts  etc) under the same 'user.test' and make it look good. I tried
to  find  something  on  the  Net but failed. Is there a way for me to
configure  my  Sendmail  so the LMTP delivery (I am using local mailer
'cyrusv2'  which  is  supposed  to  be  LMTP)  puts  all  e-mails into
'user.username.INBOX' folder?

Here is the piece of my sendmail.mc:

define(`confLOCAL_MAILER', `cyrusv2')dnl
...skipped...
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(cyrusv2)dnl


Also, I have one more question. I tried to use pop3d to access my IMAP
account, but whenever I connect to POP3 daemon, the client reports an
error (after authentication, which works just fine):

 18.09.2003, 12:16:44: FETCH - TLS handshake complete
 18.09.2003, 12:16:45: FETCH - connected to POP3 server
!18.09.2003,  12:16:48: FETCH - Server reports error. The response is:
-ERR [SYS/PERM] Unable to open maildrop

It seems to me that it is still something related to the INBOX folder.
Everything  I tried does not seem to help much. Any ideas on what that
is?


Thank you very much for your help.

-- 
Best regards,
 Denis  mailto:[EMAIL PROTECTED]



virtdomains IMP

2003-09-18 Thread nkulynych
Hello,


I'v got a question...

I am able to login to my cyrus imap server using telnet

telnet localhost 143
Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK eliz03.gotshell.org Cyrus IMAP4 v2.2.1-BETA server ready
100 login [EMAIL PROTECTED] mypasswd
100 OK User logged in

But when I use IMP it denies access.

Looking through mysql.log
looks like it passes username correctly but why it denies,
I've no idea.

-Nazar


-
This mail sent from IMP: http://webmail.gotshell.org/


Re: Cyrus IMAP question.

2003-09-18 Thread Andrew Morgan


On Thu, 18 Sep 2003, Denis V. Suhanov wrote:

 Hello,

 I  am  using  Cyrus  IMAP 2.1.15 with Sendmail. I've spent lot of time
 trying  to set up my IMAP clients (M$ Outlook, Mozilla Thunderbird and
 The  Bat!)  to work with it but I keep having problems with folders.
 Whenever  I  create  a user (e.g. cm user.test), each of these clients
 gets  an  non-selectable  folder  user,  then  fodler  test  which
 contains  all  user's messages. I tried to play with IMAP root setting
 on the clients, but it does not seem to help much. If I make user.test
 my IMAP root - I am unable to see the messages :). I can not set INBOX
 as  my  IMAP  root  (all  clients report server error, something like:
 Your specified Root Folder Path of 'INBOX' could neither be found nor
 created. Please verify your Root Folder Path is correct, and that your
 IMAP  account  is properly configured. When I use 'user.test' in this
 situation,  everything  works just fine, except that I can not see the
 messages (apparentely, they are left higher in the folder hierarchy).

What you see as the Cyrus admin is a little different that what an IMAP
user sees.  user.test is the Inbox folder, but user's access it as
INBOX.  Unless you have set altnamespace: yes in your imapd.conf file,
you should set your Root Folder Path to INBOX. (note the period after
INBOX).

 I  am  trying  to manually create an inbox folder for users, something
 like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
 manually  created  folder.  This is to put all the folder (Sent Items,
 Drafts  etc) under the same 'user.test' and make it look good. I tried
 to  find  something  on  the  Net but failed. Is there a way for me to

user.test is the INBOX, as seen from the admin viewpoint.  Mail
delivered to user test will go into that mailbox.  Subfolders would be
user.test.subfolder from the admin viewpoint and INBOX.subfolder from
the user viewpoint.

Andy



Re[2]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Andrew,

AM What you see as the Cyrus admin is a little different that what an IMAP
AM user sees.  user.test is the Inbox folder, but user's access it as
AM INBOX.  Unless you have set altnamespace: yes in your imapd.conf file,
AM you should set your Root Folder Path to INBOX. (note the period after
AM INBOX).
I  tried the INBOX., but even with the period after INBOX, I receive
the same message in M$ Outlook Express (your specified Root Folder of
'INBOX'  could  not  neither  be  found nor created...). With Mozilla
Thunderbird,  I  just  see  nothing  (no error message, no folders, no
messages). So the presence of the period did not change anything.

 I  am  trying  to manually create an inbox folder for users, something
 like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
 manually  created  folder.  This is to put all the folder (Sent Items,
 Drafts  etc) under the same 'user.test' and make it look good. I tried
 to  find  something  on  the  Net but failed. Is there a way for me to
AM user.test is the INBOX, as seen from the admin viewpoint.  Mail
AM delivered to user test will go into that mailbox.  Subfolders would be
AM user.test.subfolder from the admin viewpoint and INBOX.subfolder from
AM the user viewpoint.

But  in  the  mail  clients, they usually have something like Inbox,
Sent Items, Drafts etc located under the same root. So by creating
additional  folder named 'Inbox' manually under user's INBOX (which is
user.username),  I  tried to make it work without having user.username
in  my  mail clients (which is not just sort of ugly, but also prevent
the  clients from being able to store appropriate messages on server).
Is is a wrong approach?

Most  likely  it  is  somewhat  stupid I've done, but I really can not
realize what that is. Also, as I mentioned in the previos cry for
help message, I am unable to get a pop3 connection. The error message
is

 !18.09.2003, 13:35:06: FETCH - Server reports error. The response is:
 -ERR [SYS/PERM] Unable to open maildrop

that makes me suspect that the problem of invalid (from client's view)
INBOXes is somewhat related to the pop3 as well. I am reallyl confused
now and have no slightest clue what to do further.

here is my imapd.conf:

configdirectory: /var/cyrus/imap
partition-default: /var/cyrus/partition
admins: cyrus
allowanonymouslogin: no
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
sendmail: /usr/sbin/sendmail
sievedir: /var/cyrus/sieve
tls_ca_file: /var/cyrus/imap/server.pem
tls_cert_file: /var/cyrus/imap/server.pem
tls_key_file: /var/cyrus/imap/server.pem

and cyrusd.conf:

# standard standalone server implementation
START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r

  # this is only necessary if using idled for IMAP IDLE
  idled cmd=idled
}

# UNIX sockets start with a slash and are put into /var/cyrus/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=5
  imaps cmd=imapd -s listen=imaps prefork=5
  pop3  cmd=pop3d listen=pop3 prefork=5
  pop3s cmd=pop3d -s listen=pop3s prefork=5
  # sieve   cmd=timsieved listen=sieve prefork=0

  # at least one LMTP is required for delivery
  #  lmtp   cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/cyrus/imap/socket/lmtp prefork=1

  # this is only necessary if using notifications
  #  notify cmd=notifyd listen=/var/cyrus/imap/socket/notify proto=udp
 prefork=1
}

EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 at=0400

  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}


Thanks a lot for your help guys. I am really getting close to give up,
set pop3a back and never use IMAP anymore :)

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re: Re[2]: Cyrus IMAP question.

2003-09-18 Thread Connie Starr Fensky
It sounds like it cannot find the mailbox where it wants to--in the
/var/cyrus/partition/users/username directory. Did you create the
mailboxes?
c*
- Original Message - 
From: Denis V. Suhanov [EMAIL PROTECTED]
To: Andrew Morgan [EMAIL PROTECTED]
Cc: cyrus info [EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:45 PM
Subject: Re[2]: Cyrus IMAP question.


 Hello Andrew,

 AM What you see as the Cyrus admin is a little different that what an
IMAP
 AM user sees.  user.test is the Inbox folder, but user's access it as
 AM INBOX.  Unless you have set altnamespace: yes in your imapd.conf
file,
 AM you should set your Root Folder Path to INBOX. (note the period
after
 AM INBOX).
 I  tried the INBOX., but even with the period after INBOX, I receive
 the same message in M$ Outlook Express (your specified Root Folder of
 'INBOX'  could  not  neither  be  found nor created...). With Mozilla
 Thunderbird,  I  just  see  nothing  (no error message, no folders, no
 messages). So the presence of the period did not change anything.

  I  am  trying  to manually create an inbox folder for users, something
  like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
  manually  created  folder.  This is to put all the folder (Sent Items,
  Drafts  etc) under the same 'user.test' and make it look good. I tried
  to  find  something  on  the  Net but failed. Is there a way for me to
 AM user.test is the INBOX, as seen from the admin viewpoint.  Mail
 AM delivered to user test will go into that mailbox.  Subfolders would
be
 AM user.test.subfolder from the admin viewpoint and INBOX.subfolder
from
 AM the user viewpoint.

 But  in  the  mail  clients, they usually have something like Inbox,
 Sent Items, Drafts etc located under the same root. So by creating
 additional  folder named 'Inbox' manually under user's INBOX (which is
 user.username),  I  tried to make it work without having user.username
 in  my  mail clients (which is not just sort of ugly, but also prevent
 the  clients from being able to store appropriate messages on server).
 Is is a wrong approach?

 Most  likely  it  is  somewhat  stupid I've done, but I really can not
 realize what that is. Also, as I mentioned in the previos cry for
 help message, I am unable to get a pop3 connection. The error message
 is

  !18.09.2003, 13:35:06: FETCH - Server reports error. The response is:
  -ERR [SYS/PERM] Unable to open maildrop

 that makes me suspect that the problem of invalid (from client's view)
 INBOXes is somewhat related to the pop3 as well. I am reallyl confused
 now and have no slightest clue what to do further.

 here is my imapd.conf:

 configdirectory: /var/cyrus/imap
 partition-default: /var/cyrus/partition
 admins: cyrus
 allowanonymouslogin: no
 sasl_pwcheck_method: auxprop
 sasl_auxprop_plugin: sasldb
 sasl_mech_list: CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
 sendmail: /usr/sbin/sendmail
 sievedir: /var/cyrus/sieve
 tls_ca_file: /var/cyrus/imap/server.pem
 tls_cert_file: /var/cyrus/imap/server.pem
 tls_key_file: /var/cyrus/imap/server.pem

 and cyrusd.conf:

 # standard standalone server implementation
 START {
   # do not delete this entry!
   recover   cmd=ctl_cyrusdb -r

   # this is only necessary if using idled for IMAP IDLE
   idled cmd=idled
 }

 # UNIX sockets start with a slash and are put into /var/cyrus/imap/sockets
 SERVICES {
   # add or remove based on preferences
   imap  cmd=imapd listen=imap prefork=5
   imaps cmd=imapd -s listen=imaps prefork=5
   pop3  cmd=pop3d listen=pop3 prefork=5
   pop3s cmd=pop3d -s listen=pop3s prefork=5
   # sieve   cmd=timsieved listen=sieve prefork=0

   # at least one LMTP is required for delivery
   #  lmtp   cmd=lmtpd listen=lmtp prefork=0
   lmtpunix  cmd=lmtpd listen=/var/cyrus/imap/socket/lmtp prefork=1

   # this is only necessary if using notifications
   #  notify cmd=notifyd listen=/var/cyrus/imap/socket/notify
proto=udp
  prefork=1
 }

 EVENTS {
   # this is required
   checkpointcmd=ctl_cyrusdb -c period=30

   # this is only necessary if using duplicate delivery suppression
   delprune  cmd=ctl_deliver -E 3 at=0400

   # this is only necessary if caching TLS sessions
   tlsprune  cmd=tls_prune at=0400
 }


 Thanks a lot for your help guys. I am really getting close to give up,
 set pop3a back and never use IMAP anymore :)

 -- 
 Best regards,
  Denismailto:[EMAIL PROTECTED]






Re[4]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Connie,

CSF It sounds like it cannot find the mailbox where it wants to--in the
CSF /var/cyrus/partition/users/username directory. Did you create the
CSF mailboxes?
CSF c*

The  path  is  correct  and  I have created the mailboxes. I used this
mini-FAQpageas   a   reference
(http://www.abstrakt.ch/unix/MINI-HOWTO-openbsd-cyrus.html)  because I
am  using  OpenBSD.  This  is  how  I  created the partition and other
folders:

mkdir -p /var/cyrus/partition /varcyrus/imap /var/cyrus/sieve
chown -R cyrus.mail /varcyrus/*
chmod 750 /var/cyrus/imap
chmod 750 /var/cyrus/sieve
ln -s /var/cyrus/imap /var/imap
ln -s /var/cyrus/sieve /var/sieve
ln -s /var/cyrus/partition /var/spool/imap

su cyrus
tools/mkimap
exit

I also verifyed the access rights and they seem to be fine (cyrus:mail
access  only to the /var/cyrus and below). Master daemon is started as
user cyrus, too.


-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re[2]: Cyrus IMAP question.

2003-09-18 Thread Andrew Morgan


On Thu, 18 Sep 2003, Denis V. Suhanov wrote:

 Hello Andrew,

 AM What you see as the Cyrus admin is a little different that what an IMAP
 AM user sees.  user.test is the Inbox folder, but user's access it as
 AM INBOX.  Unless you have set altnamespace: yes in your imapd.conf file,
 AM you should set your Root Folder Path to INBOX. (note the period after
 AM INBOX).
 I  tried the INBOX., but even with the period after INBOX, I receive
 the same message in M$ Outlook Express (your specified Root Folder of
 'INBOX'  could  not  neither  be  found nor created...). With Mozilla
 Thunderbird,  I  just  see  nothing  (no error message, no folders, no
 messages). So the presence of the period did not change anything.

I use altnamespace: yes here, so these docs won't work exactly right, but
you might try the documentation we have written for configuring clients to
use Cyrus IMAP:

http://www.onid.orst.edu/docs/email/

Basically, you should just need to add the Root Folder Path setting of
INBOX. to these instructions.  Also, you *must* refresh the folder
listing in the email client.  Outlook Express does not automatically do
this on an existing account.  For testing purposes at least, I'd delete
all the account settings in the email client and set it up from scratch,
using the instructions above.

  I  am  trying  to manually create an inbox folder for users, something
  like  'cm  user.test.INBOX'  and  try  to  deliver  one's main to this
  manually  created  folder.  This is to put all the folder (Sent Items,
  Drafts  etc) under the same 'user.test' and make it look good. I tried
  to  find  something  on  the  Net but failed. Is there a way for me to
 AM user.test is the INBOX, as seen from the admin viewpoint.  Mail
 AM delivered to user test will go into that mailbox.  Subfolders would be
 AM user.test.subfolder from the admin viewpoint and INBOX.subfolder from
 AM the user viewpoint.

 But  in  the  mail  clients, they usually have something like Inbox,
 Sent Items, Drafts etc located under the same root. So by creating
 additional  folder named 'Inbox' manually under user's INBOX (which is
 user.username),  I  tried to make it work without having user.username
 in  my  mail clients (which is not just sort of ugly, but also prevent
 the  clients from being able to store appropriate messages on server).
 Is is a wrong approach?

For maximum compatibility and ease of use, I'd recommend setting
altnamespace: yes in imapd.conf.  Otherwise, you *have* to set the Root
Folder Path to INBOX. to get folders to work.  Read the documentation
for altnamespace before you make this change.  Basically, nothing changes
on the server side (except sieve filters), but you eliminate the needs to
set the Root Folder Prefix on every client.  Most clients will work out of
the box this way (no special settings, just use the New Account Wizards).

 Most  likely  it  is  somewhat  stupid I've done, but I really can not
 realize what that is. Also, as I mentioned in the previos cry for
 help message, I am unable to get a pop3 connection. The error message
 is

I don't know much about the pop side of things.  We only run imap here.
I'd start by getting one of your imap clients working to make sure cyrus
is happy, then work on the pop problem.

Andy



Re: Re[4]: Cyrus IMAP question.

2003-09-18 Thread Connie Starr Fensky
Right, but then did you go in with cyradm (or some other method) and create
the mailboxes: for instance

cyradmcm user.denis

c*
- Original Message - 
From: Denis V. Suhanov [EMAIL PROTECTED]
To: Connie Starr Fensky [EMAIL PROTECTED]
Cc: cyrus info [EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 4:08 PM
Subject: Re[4]: Cyrus IMAP question.


 Hello Connie,

 CSF It sounds like it cannot find the mailbox where it wants to--in the
 CSF /var/cyrus/partition/users/username directory. Did you create the
 CSF mailboxes?
 CSF c*

 The  path  is  correct  and  I have created the mailboxes. I used this
 mini-FAQpageas   a   reference
 (http://www.abstrakt.ch/unix/MINI-HOWTO-openbsd-cyrus.html)  because I
 am  using  OpenBSD.  This  is  how  I  created the partition and other
 folders:

 mkdir -p /var/cyrus/partition /varcyrus/imap /var/cyrus/sieve
 chown -R cyrus.mail /varcyrus/*
 chmod 750 /var/cyrus/imap
 chmod 750 /var/cyrus/sieve
 ln -s /var/cyrus/imap /var/imap
 ln -s /var/cyrus/sieve /var/sieve
 ln -s /var/cyrus/partition /var/spool/imap

 su cyrus
 tools/mkimap
 exit

 I also verifyed the access rights and they seem to be fine (cyrus:mail
 access  only to the /var/cyrus and below). Master daemon is started as
 user cyrus, too.


 -- 
 Best regards,
  Denismailto:[EMAIL PROTECTED]






Re[6]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Connie,

CSF Right, but then did you go in with cyradm (or some other method) and create
CSF the mailboxes: for instance
yes,  exactly. That's how I create them. And I also have all the right
set  for  users  (since I am using SASL and it requires realms, I have
the  right  set  for both user denis and [EMAIL PROTECTED]). Still does
not help :(



-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



cyradm problems

2003-09-18 Thread Peter Rottmann
Hi,

After several unsuccessfully tries, of compiling and installing cyrus-sasl
and cyrus-imap under my SGI Irix 6.5.4, i found some newer precompiled/ready
to install versions of theses packages under http://freeware.sgi.com. After
installing these packages, i tried to run imtest and cyradm, but with
negativ results.

cyramd reports:

IRIS 1# cyradm -user cyrus localhost 143
 1009:/usr/bin/perl5: rld: Fatal Error: attempted access to unresolvable
symbol in /usr/share/lib/perl5/site_perl/irix-n32/auto/Cyrus/IMAP/IMAP.so:
sasl_client_init
IRIS 2# cyradm
Cannot find termcap: Can't find a valid termcap file at
/usr/share/lib/perl5/Term/ReadLine.pm line 288


During startup my system reports (SYSLOG):

Sep 18 14:40:49 6E:IRIS saslauthd[644]: : master pid is: 644
Sep 18 14:40:49 6E:IRIS saslauthd[644]: : listening on
socket: /var/freeware/saslauthd/mux
Sep 18 14:41:05 5W:IRIS master[826]: process started
Sep 18 14:41:06 7W:IRIS master[836]: about to exec
/usr/freeware/cyrus/bin/ctl_mboxlist
Sep 18 14:41:07 4B:IRIS syslog: ctl_mboxlist -r is deprecated: use
ctl_cyrusdb -r instead^H
Sep 18 14:41:07 5W:IRIS ctl_mboxlist[836]: running mboxlist recovery
Sep 18 14:41:25 4W:IRIS ctl_mboxlist[836]: DBERROR db4: unable to join the
environment
Sep 18 14:41:26 3B:IRIS 2003
Sep 18 14:41:26 5B:IRIS  rld[836]:   836:ctl_mboxlist: rld: Fatal Error:
attempted access to unresolvable symbol in /usr/freeware/lib32/libdb-4.1.so:
pthread_mutexattr_init
Sep 18 14:41:26 3W:IRIS master[826]: process 836 exited, status 1
Sep 18 14:41:26 7W:IRIS master[874]: about to exec
/usr/freeware/cyrus/bin/ctl_deliver
Sep 18 14:41:34 6B:IRIS Xsession: root: login
Sep 18 14:41:44 4W:IRIS ctl_deliver[874]: DBERROR db4: unable to join the
environment
Sep 18 14:41:45 3B:IRIS 2003
Sep 18 14:41:45 5B:IRIS  rld[874]:   874:ctl_deliver: rld: Fatal Error:
attempted access to unresolvable symbol in /usr/freeware/lib32/libdb-4.1.so:
pthread_mutexattr_init
Sep 18 14:41:45 3W:IRIS master[826]: process 874 exited, status 1
Sep 18 14:41:46 5W:IRIS master[826]: ready for work
Sep 18 14:41:46 7W:IRIS master[937]: about to exec
/usr/freeware/cyrus/bin/ctl_deliver
Sep 18 14:41:46 7W:IRIS master[939]: about to exec
/usr/freeware/cyrus/bin/ctl_mboxlist
Sep 18 14:41:46 7W:IRIS master[942]: about to exec
/usr/freeware/cyrus/bin/imapd
Sep 18 14:41:46 7W:IRIS master[941]: about to exec
/usr/freeware/cyrus/bin/lmtpd
Sep 18 14:41:47 4B:IRIS syslog: ctl_mboxlist -c is deprecated: use
ctl_cyrusdb -c instead^H
Sep 18 14:41:47 5W:IRIS ctl_mboxlist[939]: checkpointing mboxlist
Sep 18 14:41:47 7W:IRIS lmtpunix[941]: executed
Sep 18 14:41:47 7W:IRIS imap[942]: executed


Did somebody knows how to fix these errors and is willing to support me.
Thanks in advance ...

Peter



Cyrus versus Sun ONE?

2003-09-18 Thread Gary Mills
We may be deciding to replace our current sendmail MTA and Cyrus IMAP
server installation with the Sun ONE messaging server, because we
already have the licences for Sun ONE as part of another product.
Everything I have heard about Sun ONE has been positive.  Is it really
that good?  What are we likely to lose if we make this move?  I'm quite
pleased with Cyrus.

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-


pop3 mail not deleting.

2003-09-18 Thread Bob Meader
I have a bit of odd pop3 problem.  Just one of
my email clients is reporting a problem with
Outlook and pop3.  Spefically he has sent
Outlook to leave mail on the server up to 5 days.
The problem is after several weeks mail older
than 5 days is no longer deleted from server.
In order to delete mail I have hime momentary set
Outlook not save mail on server.  After the mail
is deleted and the option to leave 5 days
of mail on server is turned back on,everything
works OK for several weeks. Anyone else
have same problem?

I am using cyrus v2.1.11 running on NetBSD 1.6
installed via pkg collection.

= cyrus.conf 
# standard standalone server implementation

START {
  # do not delete this entry!
  recover   cmd=ctl_cyrusdb -r

  # this is only necessary if using idled for IMAP IDLE
#  idledcmd=idled
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
  # add or remove based on preferences
  imap  cmd=imapd listen=imap prefork=0
  imaps cmd=imapd -s listen=imaps prefork=0
  pop3  cmd=pop3d listen=pop3 prefork=0
  pop3s cmd=pop3d -s listen=pop3s prefork=0
  sieve cmd=timsieved listen=sieve prefork=0

  # at least one LMTP is required for delivery
#  lmtp cmd=lmtpd listen=lmtp prefork=0
  lmtpunix  cmd=lmtpd listen=/var/imap/socket/lmtp prefork=0

  # this is only necessary if using notifications
#  notify   cmd=notifyd listen=/var/imap/socket/notify proto=udp
prefork=1
}

EVENTS {
  # this is required
  checkpointcmd=ctl_cyrusdb -c period=30

  # this is only necessary if using duplicate delivery suppression
  delprune  cmd=ctl_deliver -E 3 at=0400

  # this is only necessary if caching TLS sessions
  tlsprune  cmd=tls_prune at=0400
}
=imapd.conf=
# $NetBSD: imapd.conf,v 1.1.1.1 2002/10/27 16:08:53 chris Exp $
#
# Cyrus IMAP server configuration file.  Refer to imapd.conf(5) for
# more options.

configdirectory: /var/imap
partition-default: /var/spool/imap
sieveusehomedir: false
hashimapspool: false
sendmail: /usr/sbin/sendmail

admins: cyrus

# Use the saslauthd daemon to verify plaintext passwords.  Please ensure
that
# the saslauthd daemon is running before trying to authenticate.
#
sasl_pwcheck_method: auxprop
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem




Re[3]: Cyrus IMAP question.

2003-09-18 Thread Denis V. Suhanov
Hello Andrew,

AM For maximum compatibility and ease of use, I'd recommend setting
AM altnamespace: yes in imapd.conf.  Otherwise, you *have* to set the Root
AM Folder Path to INBOX. to get folders to work.  Read the documentation
AM for altnamespace before you make this change.  Basically, nothing changes
AM on the server side (except sieve filters), but you eliminate the needs to
AM set the Root Folder Prefix on every client.  Most clients will work out of
AM the box this way (no special settings, just use the New Account Wizards).

I  have  set  altnamespaces:  yes  as you suggested and configured the
client  as  it is described in this document, but the only differene I
've  noticed is that now instead of having folder user and then folder
test  in  it,  I  have  folder Other Users and then the folder named
after  the  user  name.  I  still am unable to make the clients to use
their  folders  for  inbox/outbox/drafts etc. Is there any way to find
out what's wrong with my installation? It is getting only worse :(

I've  forgotten  to mention that it happens in all IMAP clients I have
tried (M$ Outlook, Mozilla Thunderbird and The Bat!).

-- 
Best regards,
 Denismailto:[EMAIL PROTECTED]



Re[3]: Cyrus IMAP question.

2003-09-18 Thread Andrew Morgan


On Thu, 18 Sep 2003, Denis V. Suhanov wrote:

 Hello Andrew,

 AM For maximum compatibility and ease of use, I'd recommend setting
 AM altnamespace: yes in imapd.conf.  Otherwise, you *have* to set the Root
 AM Folder Path to INBOX. to get folders to work.  Read the documentation
 AM for altnamespace before you make this change.  Basically, nothing changes
 AM on the server side (except sieve filters), but you eliminate the needs to
 AM set the Root Folder Prefix on every client.  Most clients will work out of
 AM the box this way (no special settings, just use the New Account Wizards).

 I  have  set  altnamespaces:  yes  as you suggested and configured the
 client  as  it is described in this document, but the only differene I
 've  noticed is that now instead of having folder user and then folder
 test  in  it,  I  have  folder Other Users and then the folder named
 after  the  user  name.  I  still am unable to make the clients to use
 their  folders  for  inbox/outbox/drafts etc. Is there any way to find
 out what's wrong with my installation? It is getting only worse :(

What do your cyrus logs (logged to syslog facility local6 by default) say
when a client connects and tries to open a folder?

Andy



Re: \HasNoChildren

2003-09-18 Thread damian
Hi All,

Its working now... thanks for the advice. :)

Rgds,
Damian


 Rob Siemborski wrote:

 On Wed, 17 Sep 2003, Ken Murchison wrote:


Its not currently configurable.  v2.2 has an implicit_owner_rights
option and we could probably add an implcit_admin_rights option.

Patches always welcome.  ;)


 Its worth tossing this into bugzilla to track.

 #2185

 --
 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





Important: This mail is confidential and may be privileged. If you are
not the intended recipient, please delete it and notify me immediately;
you should not copy or use it for any purpose, nor disclose its contents
to any other person. Thank you.


FUD and cyrus statistics

2003-09-18 Thread joe ritter
Hello,
I would like to start collecting statistics on users
and how often they access their cyrus accounts on our
mail servers. I wanted to use FUD to acomplish this
however a look at the manpage and a google search
didnt pull up anything. Can somebody point me in the
right direction about setting something like this up
or how to begin going about it? I appreciate any help.
Thanks again.


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


Re: Cyrus versus Sun ONE?

2003-09-18 Thread Rob Siemborski
On Thu, 18 Sep 2003, Gary Mills wrote:

 We may be deciding to replace our current sendmail MTA and Cyrus IMAP
 server installation with the Sun ONE messaging server, because we
 already have the licences for Sun ONE as part of another product.
 Everything I have heard about Sun ONE has been positive.  Is it really
 that good?  What are we likely to lose if we make this move?

 I'm quite pleased with Cyrus.

I'm glad to hear that.

I'm not directly familiar with the Sun ONE server (though I do know a few
of the Sun messaging people, and they tend to have their heads screwed on
right), but I suspect the tradeoffs you'll have will be more or less
similar to any open/closed source product tradeoff -- there's better
support and more attention to the UI, but it will be harder to fix things
directly by getting your hands dirty.

You'll also have to deal with the transition.  Then again, if the
unification of all of their products is to be believed, it may make your
life easier in the long run.

Though, as far as direct features on its own, it looks like it compares
with something like sendmail+cyrus+webcyradm+squirrelmail (only
integrated, of course).

If you're happy with what you have, I don't see a reason to undergo the
pain of the transition.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Migrating mailboxes between Cyrus instances?

2003-09-18 Thread Andrew McNamara
I've been googling around without much luck - I'm looking for suggestions
on migrating users between cyrus instances (for load balancing). I'm
thinking it should really be done at the IMAP level, rather than dicking
around inside the message store, but I'm worried there might be message
attributes than can't be readily copied via the imap protocol. Anyone
have any advice?

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/


Slow status calls...

2003-09-18 Thread Robert Mueller
I was noticing that IMAP 'status' calls to update the message counts in
our web interface seemed to be taking quite a bit of time. I ran a stand
alone script to check this, and found:

Time: 0.002, msgs:12, unseen:10, folder: INBOX.spam
Time: 0.004, msgs: 18978, unseen: 18978, folder: INBOX.postfix
Time: 4.930, msgs: 24688, unseen:  5002, folder: INBOX.mod_perl
Time: 0.010, msgs:  2707, unseen:  2707, folder: INBOX.processed

Strange, one folder in particular was taking a long time to status, while
all the other folders, including a folder of similar size were several
orders of magnitude faster!

Having a quick look in the spool dir, everything seemed ok.

[EMAIL PROTECTED] mod_perl]# ls -l cyrus*
-rw---1 cyruscyrus15022700 Sep 19 01:03 cyrus.cache
-rw---1 cyruscyrus 243 Sep 18 23:41 cyrus.header
-rw---1 cyruscyrus 1284164 Sep 19 01:03 cyrus.index

Anyway, I deleted the cyrus.* files, touched some empty ones, and did a
reconstruct on the folder and ran my test again:

Time: 0.003, msgs:12, unseen:10, folder: INBOX.spam
Time: 0.004, msgs: 18978, unseen: 18978, folder: INBOX.postfix
Time: 0.003, msgs: 24688, unseen:  5002, folder: INBOX.mod_perl
Time: 0.002, msgs:  2707, unseen:  2707, folder: INBOX.processed

Much better! Still wondering what happened here, and how to avoid it in
the future.

Rob
--
[EMAIL PROTECTED]
Sign up at http://fastmail.fm for fast, ad free, IMAP accessible email