Re: Mixing 2.2.12 and 2.3.x in murder environment

2006-03-19 Thread Patrick H Radtke

On Sat, 18 Mar 2006, Mark wrote:


Thanks Patrick. The reason we want to speed up the upgrades is because of the 
2.2.12 threading problems - high cpu, locked up mupdate. Ideally we would 
upgrade mupdate to 2.3.x and then upgrade the front ends and back ends a little 
later. Do you think 2.3 mupdate would work well with 2.2.12 backends?


2.2.12 backends should work with a 2.3 murder master. I don't think there 
have been changes to the mupdate protocol.


What mupdate problems are you seeing with 2.3?



Pretty much what Alek said, but on a less frequent basis. We'd see it when 
there were too many simultanious mailbox creations and/or a frontend was 
restarted when the murder master was under load.



Mark



Patrick H Radtke <[EMAIL PROTECTED]> wrote: We have 2.2.12 frontends, 2.3 
backends and 2.3 murder master.

Only reason we went with 2.2.12 for frontends is that when we first
installed 2.3 it was in the summer and 2.3 didn't work as a frontend. That
has been fixed now. Only reason we haven't changed the frontends to 2.3 is
that we're busy with other stuff at the moment.

There are some problems with the murder master in 2.3. We use it anyways
since it fixes some threading problems that would occur in 2.2.12

-Patrick

On Sat, 18 Mar 2006, Mark wrote:


Hello,

I'm looking for a (conservative) upgrade path from 2.2.12 to 2.3.3, and was 
wondering if anyone ran cyrus murder with mixed imapd versions. For example, 
2.2.12 back ends, 2.3.3 mupdate server (it is 2.2.12 now) and 2.2.12 front 
ends. Or, if anyone did the upgrades from 2.2.x to 2.3.x in another way, would 
you mind sharing your thoughts.
Thanks for any suggestions.

Mark





-
Brings words and photos together (easily) with
PhotoMail  - it's free and works with Yahoo! Mail.


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


Re: Three times password sieveshell..

2006-03-19 Thread Johan Barelds
Op zaterdag 18 maart 2006 14:50, schreef Andreas Hasenack:
> Em Sáb 18 Mar 2006 04:53, Johan Barelds escreveu:
> > Hi Andreas,
> >
> > Thanks for that tip!
> > Any idea where i can remove the other mechanisms not wanted?
> > Is this on the cyrus side or the pam etc. side?
>
> The mechanisms are installed usually under /usr/lib/sasl2. Another option
> would be to use mech_list to limit what mechanisms would be available to
> the clients. Check the sasl documentation.

Thanks!

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

-- 
Kind Regards / Met vriendelijke groet,

Johan Barelds

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


Re: 2.3.3 replication

2006-03-19 Thread Roland Pope
- Original Message - 
From: "Marco Schirrmeister" <[EMAIL PROTECTED]>


On Mar 2, 2006, at 10:52 PM, Patrick Radtke wrote:


What happens if you use '-r' instead of '-u'


It happens the same.
I have tried all options. Every time the same error.



I thought -u needed a list of users to follow it.


-Patrick

On Mar 2, 2006, at 4:39 PM, Marco Schirrmeister wrote:


Hello,

I try to setup replication according the docs. But it is not  working at 
the moment.


If I try the following command as cyrus user "/usr/lib/cyrus-imapd/ 
sync_client -S centos4-vm2 -u" I get the following error messages.

Can not connect to server 'centos4-vm2'

syslog shows the following
sync_client[25660]: connect(centos4-vm2) failed: Invalid argument


Any hints?


I had this same problem and it was caused by /etc/hosts having 127.0.0.1 
point to my host name.
Whan I changed /etc/hosts to put my hosts actual IP against the hostname, it 
all started working as expected.


Cheers,
Roland


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


Re: 2.3.3 replication

2006-03-19 Thread Marco Schirrmeister


On Mar 8, 2006, at 3:58 PM, Muenz, Michael wrote:


What happens if you use '-r' instead of '-u'


It happens the same.
I have tried all options. Every time the same error.

If I try the following command as cyrus user "/usr/lib/cyrus-imapd/
sync_client -S centos4-vm2 -u" I get the following error messages.
Can not connect to server 'centos4-vm2'

syslog shows the following
sync_client[25660]: connect(centos4-vm2) failed: Invalid argument


Just type "sync_client -u" any post what happens. sync_host is already
configured in your imapd.conf. You also could dump your connection,
perhaps there are some problems with TLS.


Same error appears with "sync_client -u".

At the moment TLS is only configured with the selfsigned  
certificates, which are

shipped with the cyrus-imapd RPM.





Michael

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



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


Re: 2.3.3 replication

2006-03-19 Thread Marco Schirrmeister


On Mar 19, 2006, at 11:13 PM, Roland Pope wrote:

- Original Message - From: "Marco Schirrmeister"  
<[EMAIL PROTECTED]>


On Mar 2, 2006, at 10:52 PM, Patrick Radtke wrote:


What happens if you use '-r' instead of '-u'


It happens the same.
I have tried all options. Every time the same error.



I thought -u needed a list of users to follow it.


-Patrick

On Mar 2, 2006, at 4:39 PM, Marco Schirrmeister wrote:


Hello,

I try to setup replication according the docs. But it is not   
working at the moment.


If I try the following command as cyrus user "/usr/lib/cyrus- 
imapd/ sync_client -S centos4-vm2 -u" I get the following error  
messages.

Can not connect to server 'centos4-vm2'

syslog shows the following
sync_client[25660]: connect(centos4-vm2) failed: Invalid argument


Any hints?


I had this same problem and it was caused by /etc/hosts having  
127.0.0.1 point to my host name.
Whan I changed /etc/hosts to put my hosts actual IP against the  
hostname, it all started working as expected.


Great, thats it. Now here it works too.
On the slave I had already removed the hostname from the 127.0.0.1  
address.
After I removed the hostname from the 127.0.0.1 address on the master  
the sync process works fine.


with this line it works
127.0.0.1localhost.localdomain localhost

with this line I had the error above.
127.0.0.1centos4-vm1 localhost.localdomain localhost


cheers
Marco



Cheers,
Roland



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


Re: 2.3.3 replication

2006-03-19 Thread Henrique de Moraes Holschuh
On Mon, 20 Mar 2006, Marco Schirrmeister wrote:
> with this line it works
> 127.0.0.1localhost.localdomain localhost

Unless you really knows what you are doing, swap the two.  Some software
(not cyrus AFAIK) fails if the canonical name for 127.0.0.1 is not
"localhost".

Search google, Debian had a LOOONG thread about it a while back.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

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


Re: Any ideas? Cyrus takes 5 minutes to start

2006-03-19 Thread Henrique de Moraes Holschuh
On Sat, 18 Mar 2006, Kjetil Torgrim Homme wrote:
> On Fri, 2006-03-17 at 22:03 +0200, Mika Iisakkila wrote:
> > (Yes, I've always wondered myself what's happening back there
> > too, but never bothered to find out. Apparently Cyrus does this
> > in some brute-force way, one mailbox at a time -- in your truss
> > segment, it seems to read in three megabytes' worth of mailboxes.db
> > file over and over again.)
> 
> Larry's e-mail reader doesn't preserve threading information, so you
> clearly missed his explanatory e-mail: the mmap emulation in Cyrus is
> not very efficient.  when recompiled to use the OS' mmap, the slow
> startup went away.

Any ideas why we don't just kill non-native mmap?  Without it Cyrus cannot
perform to satisfaction anyway...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

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


Virtual Domains in separate directories - how?

2006-03-19 Thread Ow Mun Heng
Hi All,

I'm wondering if its possible to put different domains into different
folders. Right now, my config with web-cyradm is making it all based on
username.

I have 

unixhierarchy:yes
virtdomains : (tried both "on" and "userid")

and  in /web-cyradm's conf.php
$DOMAIN_AS_PREFIX="1"; 

FWIW, this is what I have currently.

ls -l /var/spool/mail/d/user
drwx--  2 cyrus mail 144 Mar 20 15:01 dom1^domain1^com


I would like to have 
ls -l /var/imap/domain/d/domain1.com/user/dom1

If I try *without* unixhierarchy:yes
and $DOMAIN_AS_PREFIX="0"

I get
ls -l /var/spool/mail/d/user/
drwx--  2 cyrus mail 144 Mar 20 15:11 domain10001
drwx--  2 cyrus mail 144 Mar 20 15:12 domain10002

where domain10001 = [EMAIL PROTECTED]
and   domain10002 = [EMAIL PROTECTED]

I know that the /var/imap/domain/d/domain1.com/user/dom1 version exists
because _I_ did it before I blew everything away and re-installed from
scratch. (Too much hair tearing frustration)

Thanks



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:03:23 up 6:27, 5 users, load average: 0.52, 0.51, 0.46 



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