upgrade 2.3.7 - 2.3.8

2007-05-10 Thread Rudy Gevaert

Hi,

Did anyone have troubles when upgrading from 2.3.7 to 2.3.8?  We are 
using virtual domains and unix hierarchy seperator.


thanks in advance,
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep SystemenSystems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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: defaultbc vs. default.bc

2007-05-10 Thread Janne Peltonen
On Wed, May 09, 2007 at 09:11:06AM +0300, Janne Peltonen wrote:
 On Tue, May 08, 2007 at 02:51:44PM +0200, Simon Matter wrote:
  At least for me Cyrus handles a link like this:
  lrwxrwxrwx  1 cyrus mail12 Nov 22 15:48 defaultbc - phpscript.bc
  
  Don't you have those symlinks?
 
 No I don't. And the reason seems to be that my ages-old Web tool
 (websieve.pl) doesn't do the activation step correctly. Time for some
 perl-hacking...

Oops. The activation command was there, but it was, for a reason that
escapes me, put under 'advanced commands'...


--Janne
-- 
Janne Peltonen [EMAIL PROTECTED]

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: Replication speeds?

2007-05-10 Thread Nik Conwell


On May 9, 2007, at 2:01 PM, Wesley Craig wrote:

Obviously looking at more iostat information would give a better  
idea, but I'd estimate that you are NOT I/O bound.  Sorry I can't  
give you absolute numbers from UM, but I can share a patch that we  
wrote that we believe has increase sync throughput substantially,  
as evidenced by the lack of a sync backlog which we were getting  
before we added the patch.


Thanks for the info  patch.  I applied it to the 2.3.7 test system  
but no appreciable speed increase.


Did it help you with both large replications (I'm doing a single 1.1G  
user to test) and the rolling replication?


ttcp shows the nets can do about 8.8MB/sec.

-nik


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


Quota with Cyrus !!!

2007-05-10 Thread Donatien Vrielynck

Hello the list,

I have a problem to define and to use the quota on my Cyrus Server.
I have install this : cyrus-admin-2.2, cyrus-clients-2.2, 
cyrus-common-2.2 and cyrus-imapd-2.2 all of this package works
on Debian etch server, and my mail server work fine with Cyrus IMAP, 
Postfix, Sasl, SSL / TLS, PAM modules and Winbind with authentication

trow Windows Active Directory!!!

But when i try to define quota, my user are over quota, but he can send 
mail and receive them ??


What is the problem with my server 
Also i can't use quota -f or quota user.username when i logge on 
cyrus user to my server 


But i can setquota user.username or listquotaroot user.username 

I hope to read you...

I need your help.

Tks.

Ps: sorry for my poor english.

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: Recomendations for a 15000 Cyrus Mailboxes

2007-05-10 Thread Nik Conwell


On Apr 11, 2007, at 8:37 PM, Bron Gondwana wrote:


As for complexity?  It's on the cusp.  We've certainly had many more
users on a single instance before, but we prefer to keep under 10k  
users

per Cyrus instance these days for quicker recoverability.  It really


Hi - just a clarification question - when you say 10k users per Cyrus  
instance and you mentioned in an earlier message each machine hosts  
multiple (in the teens) of this size stores, does this include the  
replicas?  So for example, one of your xSeries boxes might host 16  
instances, 8 master, 8 replica, so the box would master about 80k  
users and provide replica backups for another 80K users?


Thanks for the info.  I'm looking for sizing hints as we plan to move  
our 40,000+ UW IMAP users (spread over 7 xSeries 346/3650 and 6  
RS6000) to Cyrus.


-nik


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: load balancing at fastmail.fm

2007-05-10 Thread Nik Conwell


On Jan 12, 2007, at 10:43 PM, Rob Mueller wrote:

Yep, this means we need quite a bit more software to manage the  
setup, but now that it's done, it's quite nice and works well. For  
maintenance, we can safely fail all masters off a server in a few  
minutes, about 10-30 seconds a store. Then we can take the machine  
down, do whatever we want, bring it back up, wait for replication  
to catch up again, then fail any masters we want back on to the  
server.


Just curious how you do this - do you just stop the masters and then  
change the proxy to point to the replica?  Webmail users shouldn't  
notice this but don't the desktop IMAP clients notice?



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: Recomendations for a 15000 Cyrus Mailboxes

2007-05-10 Thread Bron Gondwana
On Thu, May 10, 2007 at 08:30:11AM -0400, Nik Conwell wrote:
 
 On Apr 11, 2007, at 8:37 PM, Bron Gondwana wrote:
 
 As for complexity?  It's on the cusp.  We've certainly had many more
 users on a single instance before, but we prefer to keep under 10k  
 users
 per Cyrus instance these days for quicker recoverability.  It really
 
 Hi - just a clarification question - when you say 10k users per 
 Cyrus  instance and you mentioned in an earlier message each machine 
 hosts  multiple (in the teens) of this size stores, does this 
 include the  replicas?  So for example, one of your xSeries boxes 
 might host 16  instances, 8 master, 8 replica, so the box would 
 master about 80k  users and provide replica backups for another 80K 
 users?

Yes, your assumption is correct.  We have both masters and replicas,
though nothing like that organised!  Each machine has replicas spread
over as many different machines as possible (though for historical
reasons there are a couple of pairings that are a bit busy - I'm working
on splitting those up as we get new machines)

... that way we can fail all the masters off one machine without 
causing too much load on any one other machine, though it does mean
we can only have one or two machines down at any one time, rather than
up to half of them.

We actually lost a controller chip in a RAID unit recently and our hot
spare turned out to be broken as well, so we had a choice of leave
replication down or expand into the spare slots we had sitting around.
We wound up expanding.  I have a script called sync_all_users which runs
in tandem with monitorsync.  Monitorsync runs from cron every 10 minutes
and checks that sync_client processes are running correctly for each
master slot on a machine.  It will also run sync_client for any leftover
files after a failure, email us about what's happening, restart the
rolling replication, etc.  It's very nice.  It has locking which
integrates with our failover script (which runs replication for any
remaining log files after taking cyrus down) and etc.

So sync_all_users runs a sync_client -u on every user who is in our
database as should be active on this machine, cleans out any logs
which were written before it started and then starts rolling replication
on all logs that were written since it started (you could do more clever
stuff with alphabetical time stamping, but it's a bit of a pointless
optimisation, it tends to catch up quickly when there's not much changed
anyway).

So it took maybe a day to be fully back up to date, which still isn't
ideal, but it was a day of no downtime, just replica unsafety.

Bron.

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


configure errors on x86_64 linux

2007-05-10 Thread Michael Menge

Hi,

configure of cyrus-2.3.8 fails on a SLES10 x64_64 system.
I think i have to use a build option with configure, but i don't know
which is the correct one for an 64 bit xeon

vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz


 config.log --
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-idled --enable-listext --without-snmp  
--enable-pcreposix


## - ##
## Platform. ##
## - ##

hostname = mailserv08
uname -m = x86_64
uname -r = 2.6.16.27-0.9-smp
uname -s = Linux
uname -v = #1 SMP Tue Feb 13 09:35:18 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /opt/gnome/sbin
PATH: /root/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbin


## --- ##
## Core tests. ##
## --- ##

configure:1378: checking build system type
configure:1391: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed
...
-


M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

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

Selective sieve service

2007-05-10 Thread Tom Plancon




Hello,

I've been trying to utilize sieve functionality on our server: Cyrus
2.2.12 on FC4, and it is a real head scratcher! I've taken to the sieve
extension in Thunderbird and the Avelsieve plugin to Squirrelmail. Both
of these appear to work in creating sieve scripts properly placed and
activated, but the only function I can get to work is "fileinto"!
Attempts at "reject" and "vacation" did nothing but accept the email
normally into the inbox. Checking the maillog I see "sieve runtime
error for user.reject: sendmail terminated normally"

Any help here, or where to get a good sieve HOWTO is greatly
appreciated! Thanks.


-- 
Tom Plancon
CAD/IS Manager
BKA Architects, Inc.
142 Crescent St.
Brockton, MA 02302
508-583-5603
[EMAIL PROTECTED]
 



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: Replication and failover

2007-05-10 Thread Nik Conwell


On Jan 18, 2007, at 5:35 PM, Rob Mueller wrote:


Attached is our operation group's notes on the subject.  It makes
reference to the tool we use to manage the OS of the machines
(radmind), but it should be pretty clear what they are talking about
without any radmind knowledge.


As an FYI, we have a similar procedure to this, the main  
differences are:


1. We don't change the DNS. Instead we give each machine a primary  
IP address, but we also create IP addresses for cyrusXmaster and  
cyrusXreplica names(where X is numbers for each machine). When we  
swap roles, we rebind the different IPs to the particular machines  
and send ARPs to clear the router table, rather than changing the  
DNS. This means you can always access the master as cyrusXmaster  
from every machine without having to worry about DNS getting out of  
sync.
2. Every machine has cyrus-master.conf, cyrus-replica.conf, imapd- 
master.conf and imapd-replica.conf. We just symlink cyrus.conf and  
imapd.conf to the appropriate file depending on what mode the  
machine is currently in


Do you have separate IP addresses for each instance of cyrus on the  
machine as well, or just the machine itself?  If just the machine,  
what 'names' does the front-end know the back-end instances by?


FWIW we use IP names for our 17 back-end UW mailstores...

Thanks.
-nik


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: configure errors on x86_64 linux

2007-05-10 Thread Simon Matter
 Hi,

 configure of cyrus-2.3.8 fails on a SLES10 x64_64 system.
 I think i have to use a build option with configure, but i don't know
 which is the correct one for an 64 bit xeon

Hi,

I have no idea about SuSE but on RedHat based systems, you need a package
called redhat-rpm-config which includes a recent config.sub with is useful
on x64_64.

Simon


 vendor_id   : GenuineIntel
 cpu family  : 6
 model   : 15
 model name  : Intel(R) Xeon(R) CPU5140  @ 2.33GHz


  config.log --
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 It was created by configure, which was
 generated by GNU Autoconf 2.59.  Invocation command line was

$ ./configure --enable-idled --enable-listext --without-snmp
 --enable-pcreposix

 ## - ##
 ## Platform. ##
 ## - ##

 hostname = mailserv08
 uname -m = x86_64
 uname -r = 2.6.16.27-0.9-smp
 uname -s = Linux
 uname -v = #1 SMP Tue Feb 13 09:35:18 UTC 2007

 /usr/bin/uname -p = unknown
 /bin/uname -X = unknown

 /bin/arch  = x86_64
 /usr/bin/arch -k   = unknown
 /usr/convex/getsysinfo = unknown
 hostinfo   = unknown
 /bin/machine   = unknown
 /usr/bin/oslevel   = unknown
 /bin/universe  = unknown

 PATH: /sbin
 PATH: /usr/sbin
 PATH: /usr/local/sbin
 PATH: /opt/gnome/sbin
 PATH: /root/bin
 PATH: /usr/local/bin
 PATH: /usr/bin
 PATH: /usr/X11R6/bin
 PATH: /bin
 PATH: /usr/games
 PATH: /opt/gnome/bin
 PATH: /opt/kde3/bin
 PATH: /usr/lib/mit/bin
 PATH: /usr/lib/mit/sbin


 ## --- ##
 ## Core tests. ##
 ## --- ##

 configure:1378: checking build system type
 configure:1391: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu
 failed
 ...
 -

 
 M.Menge Tel.: (49) 7071/29-70316
 Universitaet Tuebingen  Fax.: (49) 7071/29-5912
 Zentrum fuer Datenverarbeitung  mail:
 [EMAIL PROTECTED]
 Waechterstrasse 76
 72074 Tuebingen
 
 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 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


Selective sieve service

2007-05-10 Thread Tom Plancon

Hello,
I've been trying to utilize sieve functionality on our server: Cyrus
2.2.12 on FC4, and it is a real head scratcher! I've taken to the sieve
extension in Thunderbird and the Avelsieve plugin to Squirrelmail. Both
of these appear to work in creating sieve scripts properly placed and
activated, but the only function I can get to work is fileinto!
Attempts at reject and vacation did nothing but accept the email
normally into the inbox. Checking the maillog I see sieve runtime
error for user.reject: sendmail terminated normally

Any help here, or where to get a good sieve HOWTO is greatly
appreciated! Thanks.

(sorry for the html before!)

--
Tom Plancon
CAD/IS Manager
BKA Architects, Inc.
142 Crescent St.
Brockton, MA 02302
508-583-5603
[EMAIL PROTECTED]



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: Replication speeds?

2007-05-10 Thread Wesley Craig

On 10 May 2007, at 06:45, Nik Conwell wrote:
Thanks for the info  patch.  I applied it to the 2.3.7 test system  
but no appreciable speed increase.
Did it help you with both large replications (I'm doing a single  
1.1G user to test) and the rolling replication?

ttcp shows the nets can do about 8.8MB/sec.


We haven't done any very large moves since this patch went into  
production, but I would expect it to improve large replications more  
than rolling.  With the patch applied at both ends, I'd expect you to  
get between 500-600 MB/min, assuming that you have disk IO  CPU  
available.


:wes

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


How to stop IMAP referrals?

2007-05-10 Thread Gary Mills
Is there a way to prevent an imapd front-end from advertizing or
performing referrals to a back-end server, and just do proxying
instead?  There are a couple of reasons that I'd prefer this.  The
main one is that the back-end server doesn't offer the full range of
authentication mechanisms.  Another is that Pine users complain that
they keep getting prompted for a password whenever they send mail, if
they have their `sent mail' folder on the IMAP server.  I'd be happier
if the front-end would just proxy the connections to the back-end.

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

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