unable to open Berkeley db /etc/sasldb2: Permission denied

2007-01-09 Thread Leon Kolchinsky
Hello All, I have a working mail system Cyrus+Postfix+Web-cyradm+Amavisd-new(SA+ClamAV) with 2 virtual domains. All is working, but I've noticed that I keep getting: -- Jan 9 10:28:20 mail pop3[25728]: unable to open Berkeley db /etc/sasldb2: Perm

Re: unable to open Berkeley db /etc/sasldb2: Permission denied

2007-01-09 Thread Alex Prinsier
Try: chgrp mail /etc/sasldb2 chmod 660 /etc/sasldb2 You seem to have configured cyrus to access sasldb2. That means you should give it access to the database too :) Currently it's set only root can read/write it. If you're not using sasldb2 you should probably better disable it in your config. H

RE: unable to open Berkeley db /etc/sasldb2: Permission denied

2007-01-09 Thread Leon Kolchinsky
> -Original Message- > From: Alex Prinsier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 09, 2007 11:06 AM > To: Leon Kolchinsky > Cc: info-cyrus@lists.andrew.cmu.edu > Subject: Re: unable to open Berkeley db /etc/sasldb2: Permission denied > > Try: > chgrp mail /etc/sasldb2 > chmod

Re: Authentication in LDAP with different UID

2007-01-09 Thread Jose Morelli Neto
2007/1/8, Guus Leeuw jr. <[EMAIL PROTECTED]>: Hello, Hi Guus! First of all a couple of questions: 1) Are you planning to manage multiple domains' mail, or just the domain.com mail? Yes, I need to manage more two domains, like lists.domain.com and domain.org. 2) Can you

problem upgrading mailboxes.db with cvt_cyrusdb : can't open old database / DBERROR db4: Program version 4.4 doesn't match environment version 0.5

2007-01-09 Thread peter pilsl
I'm just moving all emails from an old imap-2.0.16 to a new machine with version 2.2 I copied all files from the old machine to the new machine and followed the instructions at: http://cyrusimap.web.cmu.edu/imapd/install-upgrade.html after performing the rehash-command I try to upgrade the

Re: Patches used at FastMail.FM

2007-01-09 Thread Ken Murchison
http://cyrus.brong.fastmail.fm/cyrus-plainsync-2.3.3.diff Why not just run 'sync_server -p 2' ? I believe that I added the 'p' option to all services for just this reason. -- Kenneth Murchison Systems Programmer Project Cyrus Developer/Maintainer Carnegie Mellon University Cyrus Home Pa

Cyrus imapd stalling with multiple instances

2007-01-09 Thread Tuomas Toropainen
Hello everyone I'm trying to accomplish 2 things: 1) prevent plain logins without ssl/tls over network 2) prevent cyrus admin user(s) from logging in over network (users are authenticated from ldap and admin(s) from local sasldb) I have figured out one way to do this. Please tell me if I'm tryin

Re: Cyrus imapd stalling with multiple instances

2007-01-09 Thread Ken Murchison
Tuomas Toropainen wrote: Hello everyone I'm trying to accomplish 2 things: 1) prevent plain logins without ssl/tls over network 2) prevent cyrus admin user(s) from logging in over network (users are authenticated from ldap and admin(s) from local sasldb) Here are complete cyrus configuration

How to restore a deleted mail

2007-01-09 Thread Uwe Kiewel
Hi, how do I restore a deleted message in an mailbox? A scenarioa as followed: A user deleted a mail and emptied the trash. Cyrus is configued to expunge delayed. I think the messages is deleted in unser's opinion. Can the admin restore such a deleted message? Kind regards, Uwe Kiewe

Re: How to restore a deleted mail

2007-01-09 Thread Adam Tauno Williams
> how do I restore a deleted message in an mailbox? > A scenarioa as followed: > A user deleted a mail and emptied the trash. Cyrus is configued to expunge > delayed. > I think the messages is deleted in unser's opinion. Can the admin restore > such > a deleted message? Restore the file [messa

Re: How to restore a deleted mail

2007-01-09 Thread Simon Matter
>> how do I restore a deleted message in an mailbox? >> A scenarioa as followed: >> A user deleted a mail and emptied the trash. Cyrus is configued to >> expunge >> delayed. >> I think the messages is deleted in unser's opinion. Can the admin >> restore such >> a deleted message? > > Restore the fi

Re: problem upgrading mailboxes.db with cvt_cyrusdb : can't open old database / DBERROR db4: Program version 4.4 doesn't match environment version 0.5

2007-01-09 Thread Simon Matter
> > I'm just moving all emails from an old imap-2.0.16 to a new machine with > version 2.2 > > I copied all files from the old machine to the new machine and followed > the > instructions at: > > http://cyrusimap.web.cmu.edu/imapd/install-upgrade.html > > after performing the rehash-command I try t

Re: How to restore a deleted mail

2007-01-09 Thread Uwe Kiewel
Am Dienstag, 9. Januar 2007 17:15 schrieb Adam Tauno Williams: > > how do I restore a deleted message in an mailbox? > > A scenarioa as followed: > > A user deleted a mail and emptied the trash. Cyrus is configued to > > expunge delayed. > > I think the messages is deleted in unser's opinion. Can t

Reconstruct oddity

2007-01-09 Thread Geoff Pryke
Hi, We're using Cyrus 2.2.12 on Solaris 10. I have a problem with reconstruct. A partition which got lost and then restored has a number of a user's mailboxes on it. Via Imap, many of these mailboxes seem empty, so I used /usr/cyrus/bin/reconstruct -r user.Username to hopefully readd the da

Re: How to restore a deleted mail

2007-01-09 Thread Ken Murchison
Uwe Kiewel wrote: Hi, how do I restore a deleted message in an mailbox? A scenarioa as followed: A user deleted a mail and emptied the trash. Cyrus is configued to expunge delayed. I think the messages is deleted in unser's opinion. Can the admin restore such a deleted message? If you're

Re: Patches used at FastMail.FM

2007-01-09 Thread Ken Murchison
Bron Gondwana wrote: It's been a while since I posted our list of patches, and there have been a couple of changes since then. I'm generating the site from a script and a bunch of patch description files now, so I should be able to keep it up to date. Feel free to use any of these patches, and

Comments on remaining FastMail.FM patches

2007-01-09 Thread Ken Murchison
I've been looking at the remaining, non-site specific patches, and here are some comments. Command timer - Assuming that we want to specify the minimum time as fractional seconds (which I gather is the case given that its a double), I'd prefer to have it specified as millisecond and use an int

Re: Patches used at FastMail.FM

2007-01-09 Thread Ken Murchison
Bron Gondwana wrote: On Tue, 09 Jan 2007 08:52:21 -0500, "Ken Murchison" <[EMAIL PROTECTED]> said: http://cyrus.brong.fastmail.fm/cyrus-plainsync-2.3.3.diff Why not just run 'sync_server -p 2' ? I believe that I added the 'p' option to all services for just this reason. It didn't work in my

Re: Patches used at FastMail.FM

2007-01-09 Thread Bron Gondwana
On Tue, 09 Jan 2007 12:49:25 -0500, "Ken Murchison" <[EMAIL PROTECTED]> said: > Bron Gondwana wrote: > > It's been a while since I posted our list of patches, and there have been > > a couple of changes since then. > > > > I'm generating the site from a script and a bunch of patch description fil

Re: Patches used at FastMail.FM

2007-01-09 Thread David Lang
On Tue, 9 Jan 2007, Ken Murchison wrote: Disable "anyone" ACL the usual reason for allowing the "anyone" ACL is to allow for + addressing to work. is there another way to do this? in most cases I think that a global 'allow + addressing' config option is really more appropriate then havi

Re: Comments on remaining FastMail.FM patches

2007-01-09 Thread Bron Gondwana
On Tue, 09 Jan 2007 16:37:23 -0500, "Ken Murchison" <[EMAIL PROTECTED]> said: > I've been looking at the remaining, non-site specific patches, and here > are some comments. > > Command timer - Assuming that we want to specify the minimum time as > fractional seconds (which I gather is the case

Re: Patches used at FastMail.FM

2007-01-09 Thread Bron Gondwana
On Tue, 09 Jan 2007 08:52:21 -0500, "Ken Murchison" <[EMAIL PROTECTED]> said: > > http://cyrus.brong.fastmail.fm/cyrus-plainsync-2.3.3.diff > > Why not just run 'sync_server -p 2' ? I believe that I added the 'p' > option to all services for just this reason. It didn't work in my testing for

Re: Patches used at FastMail.FM

2007-01-09 Thread Rob Mueller
the usual reason for allowing the "anyone" ACL is to allow for + addressing to work. is there another way to do this? The admin user can still set the anyone acl, it's just non-admin users can't change/set it. The way we do this to allow + addressing is when we create the users top level f

Re: Patches used at FastMail.FM

2007-01-09 Thread David Lang
On Wed, 10 Jan 2007, Rob Mueller wrote: the usual reason for allowing the "anyone" ACL is to allow for + addressing to work. is there another way to do this? The admin user can still set the anyone acl, it's just non-admin users can't change/set it. The way we do this to allow + addressin

Re: Patches used at FastMail.FM

2007-01-09 Thread Rob Mueller
but this is in conflict with the the idea that in a large installation of people who don't know each other the 'anyone' permission doesn't make sense. what is really desired for + addressing is to say that messages that arrive via the lmtp interface are allowed to write to all folders (not ju

Re: Patches used at FastMail.FM

2007-01-09 Thread David Lang
On Wed, 10 Jan 2007, Rob Mueller wrote: but this is in conflict with the the idea that in a large installation of people who don't know each other the 'anyone' permission doesn't make sense. what is really desired for + addressing is to say that messages that arrive via the lmtp interface ar

Re: Patches used at FastMail.FM

2007-01-09 Thread Rob Mueller
Ok, I thought that 'post' pre-dated lmtp and was the IMAP function to write a message into the folder. i.e. a program like imapsync would need the 'p' permission to write the messages, (but would need other permissions to check for messages, set flags, etc) I think the only way to add a mess

Re: Patches used at FastMail.FM

2007-01-09 Thread Ken Murchison
Rob Mueller wrote: but this is in conflict with the the idea that in a large installation of people who don't know each other the 'anyone' permission doesn't make sense. what is really desired for + addressing is to say that messages that arrive via the lmtp interface are allowed to write to

Re: Patches used at FastMail.FM

2007-01-09 Thread Ken Murchison
Rob Mueller wrote: Ok, I thought that 'post' pre-dated lmtp and was the IMAP function to write a message into the folder. i.e. a program like imapsync would need the 'p' permission to write the messages, (but would need other permissions to check for messages, set flags, etc) I think the on