Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Janne Peltonen
On Sun, Dec 03, 2006 at 07:58:02PM -0800, Todd Lyons wrote: at m4 code and trying to figure out what I can do to make sendmail check the user at SMTP connect time the way it does if I configure sendmail to deliver to a regular mbox mail spool. Here's what a quick Google found:

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Andrzej Adam Filip
Gary Mills wrote: On Sun, Dec 03, 2006 at 11:29:08PM +0100, Andrzej Adam Filip wrote: Andrzej Adam Filip [EMAIL PROTECTED] writes: I would like to know who is interested in helping to develop next versions of advanced Sendmail and Cyrus IMAP integration methods. I would like to further

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Andrzej Adam Filip
Jo Rhett wrote: Gary Mills wrote: We've had excellent sendmail/cyrus integration for years, with 35,000 users. It's done by having all users in the NIS map on the mail server. No modification to sendmail is necessary because getpwnam() returns the passwd entry for the user. Users can't log

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Andrzej Adam Filip
Todd Lyons [EMAIL PROTECTED] writes: [...] My rudimentary understanding of sendmail macros makes me think that instead of checking for users locally, it's checking for user cyrus locally (which always succeeds), so the email is accepted for any user. If it's a problem with the older version

Migrating Mailboxes to a new server

2006-12-04 Thread Andr�s Tarallo
Hi !!! We have a big email server with about 2000 mailboxes, over SuSE 10.1 with SuSE 2.2.12. In order to enhace reliability and performance (over slow 64 kbps internet links) we are moving to a distributed server schema. So we set up a new server, and then tried to move some mailboxes to the

Bounces on local delivery

2006-12-04 Thread Andr�s Tarallo
In one of our serveres we found bouces in local delivery, cyrus 2.2.12 and Postfix2.2.9. The problem happends randomly: sometimes a mail is not delivered to a mailbox. Then we get this error: Dec 4 10:41:15 mail-server postfix/lmtp[24330]: E9BEA3B04EC: to=[EMAIL PROTECTED], orig_to=[EMAIL

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Andrzej Adam Filip
Jo Rhett [EMAIL PROTECTED] writes: Gary Mills wrote: On Sun, Dec 03, 2006 at 05:33:15PM -0800, Jo Rhett wrote: Gary Mills wrote: We've had excellent sendmail/cyrus integration for years, with 35,000 users. It's done by having all users in the NIS map on the mail server. No modification to

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Joseph Brennan
Andrzej Adam Filip [EMAIL PROTECTED] wrote: 2) Methods you suggest do not give a chance to reject messages to over quota mailboxes *in SMTP session*. ...which can be a good thing if you want to give users a chance to clean up or request more space. The trouble with smmapd is that it gives

Sieve rule: move to folder and forward

2006-12-04 Thread Muenz, Michael
Dear list, I'm using Horde/Ingo for creating sieve rules and have activated a rule for Spamassassin moving mails with X-Spam-Status: Yes to spamfolder. Also, there's a rule to forward every mail to another address. Looks like this: require [imapflags, fileinto]; # Spam if header

Move selected mailmessages

2006-12-04 Thread Wolfgang Hennerbichler
Hi cyrus-people, I'm curious about the follwoing behaviour (this has not happened on cyrus, but with courier): A customer is sending a specific (bad) e-mail to 1000 mailboxes. In courier I would write a little script, that greps in the usermailboxes for something uniqe, move the file to

Re: Move selected mailmessages

2006-12-04 Thread Mirosław Jaworski
On Mon, 2006-12-04 at 16:33 +0100, Wolfgang Hennerbichler wrote: I guess I can't do this in courier, as I would mess up the internal db-structure. Is there a way to (easily) do this in cyrus, without calling cyrreconstruct? Why this strange limitation? You can reconstruct specific

Re: listusers failed

2006-12-04 Thread Arnau Bria
On Fri, 01 Dec 2006 12:28:56 -0500 Kevin Kruzich wrote: Hi, I recently had to migrate a sasl auth db from GNU DBM to Berkeley DB. I used this: http://dcs.nac.uci.edu/~strombrg/convert-database Mmmm why do I need to migrate? I just wondered how to recover my broken db file. Also,

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Dec 03, 2006 at 09:23:47PM -0800, Jo Rhett wrote: Error because the user doesn't exist. I have been googling and looking at m4 code and trying to figure out what I can do to make sendmail check the user at SMTP connect time the way it does

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Dave McCracken
On Monday 04 December 2006 10:31 am, Todd Lyons wrote: As I see it, a more sendmailish solution would be to use a little sendmail-fu and make it so that sendmail checks for local user at smtp time, but delivers to cyrus at deliver time.  I don't have such fu, but I see now as a good enough

Re: Move selected mailmessages

2006-12-04 Thread Wolfgang Hennerbichler
On 04.12.2006, at 17:11, Mirosław Jaworski wrote: On Mon, 2006-12-04 at 16:33 +0100, Wolfgang Hennerbichler wrote: I guess I can't do this in courier, as I would mess up the internal db-structure. Is there a way to (easily) do this in cyrus, without calling cyrreconstruct? Why this strange

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Todd Lyons
On Mon, Dec 04, 2006 at 11:22:10AM -0600, Dave McCracken wrote: As I see it, a more sendmailish solution would be to use a little sendmail-fu and make it so that sendmail checks for local user at smtp time, but delivers to cyrus at deliver time. I don't have such fu, but I see now as a good

Listen to subnet?

2006-12-04 Thread Anders Norrbring
Is it possible to set any option(s) in cyrus.conf to have the imap listen only to calls from within the subnet? I want to enable admin logins from another machine in the subnet, but not from external calls. Or is it simply easier to add another address to the NIC and have it listen to that one?

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Mirosław Jaworski
On Mon, 2006-12-04 at 10:24 -0800, Todd Lyons wrote: This solved my problem but it requires that I have a local machine account for each cyrus user. As a small domain that's not a problem for me, but others might find it too restrictive. I'll test it. As long as by local user you mean

Re: recursive reconstruct does not work?

2006-12-04 Thread Dan Lowe
On Dec 3, 2006, at 12:48 PM, Jo Rhett wrote: Ken, it's been another month. How can I help move this along? Just popping up here to say that I run another site affected by this bug and would love to see it resolved. If I had more than rudimentary C skills, I would take a stab at a patch.

SOLVED! Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Dec 03, 2006 at 07:58:02PM -0800, Todd Lyons wrote: I'm looking at a cyrus limitation right now. I'm really thinking this is not cyrus' problem. I'm trying to figure out if it's actually a sendmail limitation or a sendmail config error on

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Jo Rhett
On Dec 4, 2006, at 6:09 AM, Gary Mills wrote: In our case there's no export involved. All of the information comes from the same SQL database. Somebody reinventing this scheme today would probably use LDAP instead. Really? Sendmail queries the SQL for each delivery recipient? Clearly,

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Jo Rhett
On Dec 4, 2006, at 7:22 AM, Joseph Brennan wrote: Andrzej Adam Filip [EMAIL PROTECTED] wrote: 2) Methods you suggest do not give a chance to reject messages to over quota mailboxes *in SMTP session*. ...which can be a good thing if you want to give users a chance to clean up or request

Re: Possible sendmail misconfiguration to deliver to cyrus

2006-12-04 Thread Jo Rhett
On Dec 4, 2006, at 8:31 AM, Todd Lyons wrote: On Sun, Dec 03, 2006 at 09:23:47PM -0800, Jo Rhett wrote: Can you create a list of all of your users from some other information? If so, 1. Put a list of all of your domains in /etc/mail/virtual-domains 2. put each and every user in virtusertable

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Andrzej Adam Filip
Joseph Brennan [EMAIL PROTECTED] writes: Andrzej Adam Filip [EMAIL PROTECTED] wrote: 2) Methods you suggest do not give a chance to reject messages to over quota mailboxes *in SMTP session*. ...which can be a good thing if you want to give users a chance to clean up or request more space.

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Gary Mills
On Mon, Dec 04, 2006 at 12:35:23PM -0800, Jo Rhett wrote: On Dec 4, 2006, at 6:09 AM, Gary Mills wrote: In our case there's no export involved. All of the information comes from the same SQL database. Somebody reinventing this scheme today would probably use LDAP instead. Really?

Re: Sieve rule: move to folder and forward

2006-12-04 Thread Andrew Morgan
On Mon, 4 Dec 2006, Muenz, Michael wrote: Dear list, I'm using Horde/Ingo for creating sieve rules and have activated a rule for Spamassassin moving mails with X-Spam-Status: Yes to spamfolder. Also, there's a rule to forward every mail to another address. Looks like this: require

Re: Listen to subnet?

2006-12-04 Thread Andrew Morgan
On Mon, 4 Dec 2006, Anders Norrbring wrote: Is it possible to set any option(s) in cyrus.conf to have the imap listen only to calls from within the subnet? I want to enable admin logins from another machine in the subnet, but not from external calls. Or is it simply easier to add another

Re: Beyond rtcyrus2 (sendmail integration)

2006-12-04 Thread Jo Rhett
On Dec 4, 2006, at 1:05 PM, Gary Mills wrote: Really? Sendmail queries the SQL for each delivery recipient? Potentially, but nscd caches the results. Sendmail also does authenticated SMTP via SASL, just like Cyrus IMAP does it. They are nicely integrated. Clearly, there is an export

how to backup a cyrus server?

2006-12-04 Thread Rafael Mahecha
I recently moved all my users from proprietary wemail (using local sendmail) to latest cyrus and sendmail using lmtp. I used to use tivoli to backup the old server (which was ok since no data bases were involved)... but since cyrus has databases and such, I am concern about file-locking and

Re: how to backup a cyrus server?

2006-12-04 Thread Andrew Morgan
On Mon, 4 Dec 2006, Rafael Mahecha wrote: I recently moved all my users from proprietary wemail (using local sendmail) to latest cyrus and sendmail using lmtp. I used to use tivoli to backup the old server (which was ok since no data bases were involved)... but since cyrus has databases and

RE: how to backup a cyrus server?

2006-12-04 Thread Robert T. Covell
I have found a link to a process that might be helpful: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Aside from this, we have done it the old fashion way: tar zip on a live system late at night. We just had a major server failure on 10/25/2006 which we were able to recover from.

Re: Bounces on local delivery

2006-12-04 Thread Robert Mueller
This usually happens because the lmtp connection got out of sync somehow. There was a bug in older postfix's about this: http://archives.neohapsis.com/archives/postfix/2004-04/1731.html I haven't seen the problem since then since Wietse fixed it, but I'd try setting lmtp_cache_connect=no in

Bug with rename INBOX - INBOX.blah and replication

2006-12-04 Thread Robert Mueller
Hi Ken There's a bug with replication and renaming INBOX - INBOX.blah. From http://www.ietf.org/rfc/rfc3501.txt: Renaming INBOX is permitted, and has special behavior. It moves all messages in INBOX to a new mailbox with the given name, leaving INBOX empty. If the server

Re: Bug with rename INBOX - INBOX.blah and replication

2006-12-04 Thread Ken Murchison
Robert Mueller wrote: Hi Ken There's a bug with replication and renaming INBOX - INBOX.blah. From http://www.ietf.org/rfc/rfc3501.txt: Renaming INBOX is permitted, and has special behavior. It moves all messages in INBOX to a new mailbox with the given name, leaving INBOX

Re: Bug with rename INBOX - INBOX.blah and replication

2006-12-04 Thread Bron Gondwana
On Mon, 04 Dec 2006 19:42:52 -0500, Ken Murchison [EMAIL PROTECTED] said: Hi Rob, This is already a known problem (bug #2727?). I haven't come up with a clean fix yet, although I haven't thought about it much. My reading of this is that it affects SEEN state generally, not just

Re: Bug with rename INBOX - INBOX.blah and replication

2006-12-04 Thread Ken Murchison
Bron Gondwana wrote: On Mon, 04 Dec 2006 19:42:52 -0500, Ken Murchison [EMAIL PROTECTED] said: Hi Rob, This is already a known problem (bug #2727?). I haven't come up with a clean fix yet, although I haven't thought about it much. My reading of this is that it affects SEEN state generally,