mass delete one message
I'm wondering if anyone has a script or a method by which i can go into a cyrus server as root and delete all copies of one particular message which was delivered to most or all mailboxes on the server? -- Ted Targosz Business Development/Operations Manager Jobstreet.com Phone: 604-6445912 Hand Phone: 6012-2063600 Fax: 604-6428653 email: [EMAIL PROTECTED] 4, 8, 15, 16, 23, 42 - Push the button or you're Lost 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: signaled to death by 25
On Tue, 17 Jan 2006, Adam Tworkowski wrote: Various posting suggest that signalled to death by 11 is a Berkley DB issue but signaled to death by 25 seems to be an anomaly on the internet. Well signalled to death by 11 is just a process throwing a SIGSEGV (segmentation fault). Signal 25 is SIGXFSZ File size limit exceeded on my Linux boxes. However, signal 25 might mean something else on a different platform. -- David Carter Email: [EMAIL PROTECTED] University Computing Service,Phone: (01223) 334502 New Museums Site, Pembroke Street, Fax: (01223) 334679 Cambridge UK. CB2 3QH. 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
2.3.1 replication and deliver problem
Hello! It doesn't work for me [EMAIL PROTECTED]:~ sync_client -S backup -r Can not connect to server 'backup' On the other side: Jan 18 16:18:50 backup master[16437]: about to exec /usr/lib/cyrus/bin/sync_server Jan 18 16:18:51 backup syncserver[16437]: executed Jan 18 16:18:51 backup syncserver[16437]: accepted connection Jan 18 16:18:51 backup syncserver[16437]: cmdloop(): startup Looks like I did all accroding to docs. How can I debug this? btw, deliver crashes with sig11... So I replaces 2.3.1 deliver with deliver from 2.2.12. linux, sles9/x86... 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
Spamming IP-Address: 202.80.59.3
Hello, Please inform the owner of 202.80.59.3 ( 18 Jan 2006 10:13:26 ) that his computer is used for sending unsolicited emails. Thank you for your help, kind regards, Vittorio Muth Original Message Return-Path:[EMAIL PROTECTED] Received: from sirius.hyperwave.com ([unix socket]) by sirius.hyperwave.com (Cyrus v2.1.15) with LMTP; Wed, 18 Jan 2006 16:45:54 +0100 X-Sieve:CMU Sieve 2.2 Received: from firegate.hyperwave.com by firewall.hyperwave.com (Hyperwave) with ESMTP id k0IFjsDU007600 for [EMAIL PROTECTED]; Wed, 18 Jan 2006 16:45:54 +0100 Received: by firegate.hyperwave.com (Hyperwave Mail, from userid 503) id EFFEE4CC0A6; Wed, 18 Jan 2006 16:45:53 +0100 (CET) Received: from lists2.andrew.cmu.edu (LISTS2.andrew.cmu.edu [128.2.10.216]) by firegate.hyperwave.com (Hyperwave Mail) with ESMTP id 8329D4CC0A7 for [EMAIL PROTECTED]; Wed, 18 Jan 2006 16:45:46 +0100 (CET) Received: from LISTS2.andrew.cmu.edu (localhost [127.0.0.1]) by lists2.andrew.cmu.edu (8.13.4/8.13.4) with ESMTP id k0IFDepc007839; Wed, 18 Jan 2006 10:13:57 -0500 X-Mailman-Handler: $Id: mm-handler,v 1.2 2002/04/05 19:41:09 bwarsaw Exp $ Received: from SIDHID ([202.80.59.3]) by lists2.andrew.cmu.edu (8.13.4/8.13.4) with SMTP id k0IFDOT8007823 for info-cyrus@lists.andrew.cmu.edu; Wed, 18 Jan 2006 10:13:26 -0500 Date: Wed, 18 Jan 2006 10:13:24 -0500 Message-Id: [EMAIL PROTECTED] From: Hagedorn [EMAIL PROTECTED] To: info-cyrus@lists.andrew.cmu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_9.21221375465393E-03 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (lists2.andrew.cmu.edu [0.0.0.0]); Wed, 18 Jan 2006 10:14:14 -0500 (EST) X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-2.0 (lists2.andrew.cmu.edu [128.2.10.216]); Wed, 18 Jan 2006 10:13:38 -0500 (EST) Subject:Fw: Sexy X-BeenThere:info-cyrus@lists.andrew.cmu.edu X-Mailman-Version: 2.1.5 Precedence: list List-Id:Discussion group for Cyrus email system info-cyrus.lists.andrew.cmu.edu List-Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus, mailto:[EMAIL PROTECTED] List-Archive: https://lists.andrew.cmu.edu/mailman/private/info-cyrus List-Post: mailto:info-cyrus@lists.andrew.cmu.edu List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus, mailto:[EMAIL PROTECTED] Sender: [EMAIL PROTECTED] Errors-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on firegate.hyperwave.com X-Spam-Level: X-Spam-Status: No, score=0.4 required=6.0 tests=BAYES_00,HTML_90_100, HTML_IMAGE_ONLY_12,HTML_IMAGE_RATIO_02,HTML_MESSAGE, MIME_BOUND_NEXTPART autolearn=no version=3.0.3 photo photo2photo3 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: imap_set_quota and php ...
Marc G. Fournier wrote: in php, there is an imap_set_quota function that takes an integer quota ... specifically, to 'disable quotas', you issue -1 ... unfortunately, cyrus imap doesn't accept -1 as a valid quota, so there is no apparent way to disable from a php script ... Is there a way around this, where -1 does work? or is someone doing something else to get around this with php? Not only could I not get this to work with PHP but I also could not get it to work with perl using IMAP::Admin. -- Scott Russell [EMAIL PROTECTED] IBM Linux Technology Center System Admin 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: Spamming IP-Address: 202.80.59.3
On Wed, 18 Jan 2006, Vittorio Muth wrote: From: Vittorio Muth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: info-cyrus@lists.andrew.cmu.edu Date: Wed, 18 Jan 2006 17:22:35 +0100 Subject: Spamming IP-Address: 202.80.59.3 Please inform the owner of 202.80.59.3 ( 18 Jan 2006 10:13:26 ) that his computer is used for sending unsolicited emails. Not really anything to do with info-cyrus. These unwanted messages are copies of the W32/Nyxem-D virus. See: http://www.sophos.com/virusinfo/analyses/w32nyxemd.html for details. -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK [EMAIL PROTECTED] Phone: +44 1225 386101 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: Spamming IP-Address: 202.80.59.3
- Dennis Davis [EMAIL PROTECTED] wrote: On Wed, 18 Jan 2006, Vittorio Muth wrote: From: Vittorio Muth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: info-cyrus@lists.andrew.cmu.edu Date: Wed, 18 Jan 2006 17:22:35 +0100 Subject: Spamming IP-Address: 202.80.59.3 Please inform the owner of 202.80.59.3 ( 18 Jan 2006 10:13:26 ) that his computer is used for sending unsolicited emails. Not really anything to do with info-cyrus. These unwanted messages are copies of the W32/Nyxem-D virus. See: well, apart from the fact they are being distributed through info-cyrus. although it has been much better recently, why is info-cyrus the only mailing list i get viruses and spam through? how hard is it to put a virus checker in place? dom http://www.sophos.com/virusinfo/analyses/w32nyxemd.html for details. -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK [EMAIL PROTECTED] Phone: +44 1225 386101 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: Small issue with make_md5
Simon Matter wrote: I found a small issue with make_md5 and I hope someone can quickly look at is and provide a patch. The problem is that make_md5 does not create the hashed dirs in which it writes the md5 files. For example, if my md5_dir is set to /var/imap/md5 and /var/imap/md5 exists, I expect that the directory /var/imap/md5/t gets created when doing make_md5 test. This would also be consistent with the rest of cyrus-imapd. However, the directory must exist before running make_md5, otherwise no checksum files are generated. I know there are just a few lines missing, but my attempt to fix it just resulted in some nice segfaults :( Maybe Ken or some other kind soul takes a few minutes to deliver the correct fix. Try this and let me know if it does what you need/expect: --- make_md5.c.~1.1.2.3.~ 2005-12-13 10:31:08.0 -0500 +++ make_md5.c 2006-01-18 14:03:19.0 -0500 @@ -391,7 +391,13 @@ FILE *file; int i; -if ((file=fopen(name, w)) == NULL) +file = fopen(name, w); +if (file == NULL errno == ENOENT) { + if (cyrus_mkdir(name, 0750) == 0) { + file = fopen(name, w); + } +} +if (file == NULL) return(IMAP_IOERROR); for (mailbox = list-head ; mailbox ; mailbox = mailbox-next) { -- Kenneth Murchison Project Cyrus Developer/Maintainer Carnegie Mellon University 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: Spamming IP-Address: 202.80.59.3
well, apart from the fact they are being distributed through info-cyrus. although it has been much better recently, why is info-cyrus the only mailing list i get viruses and spam through? how hard is it to put a virus checker in place? dom A virus checker is in place. We run ClamAV on all of our mail servers. Sadly, this does not help when the signature doesn't come out promptly, and the messages are being sent with a (forged) from address of a valid subscriber. -jeaton -- Jeffrey T. Eatonesp [EMAIL PROTECTED] Research Systems Programmer Carnegie-Mellon University 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: Small issue with make_md5
Simon Matter wrote: I found a small issue with make_md5 and I hope someone can quickly look at is and provide a patch. The problem is that make_md5 does not create the hashed dirs in which it writes the md5 files. For example, if my md5_dir is set to /var/imap/md5 and /var/imap/md5 exists, I expect that the directory /var/imap/md5/t gets created when doing make_md5 test. This would also be consistent with the rest of cyrus-imapd. However, the directory must exist before running make_md5, otherwise no checksum files are generated. I know there are just a few lines missing, but my attempt to fix it just resulted in some nice segfaults :( Maybe Ken or some other kind soul takes a few minutes to deliver the correct fix. Try this and let me know if it does what you need/expect: Thanks Ken, that's exactly what I expected. The directories are created as expected now. Thanks, Simon --- make_md5.c.~1.1.2.3.~ 2005-12-13 10:31:08.0 -0500 +++ make_md5.c2006-01-18 14:03:19.0 -0500 @@ -391,7 +391,13 @@ FILE *file; int i; -if ((file=fopen(name, w)) == NULL) +file = fopen(name, w); +if (file == NULL errno == ENOENT) { + if (cyrus_mkdir(name, 0750) == 0) { + file = fopen(name, w); + } +} +if (file == NULL) return(IMAP_IOERROR); for (mailbox = list-head ; mailbox ; mailbox = mailbox-next) { -- Kenneth Murchison Project Cyrus Developer/Maintainer Carnegie Mellon University 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: Interesting webmail problem with Cyrus
On Tue, 2006-01-17 at 19:18 -0700, Sun Advocate Webmaster wrote: Where do I start, and what could cause this? I'm baffled! Protocol dump? O. -- Ondrej Sury [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part 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: autocreate folder for plus addressing?
On Tue, 2006-01-17 at 18:42 -0500, Scott Russell wrote: Greets. With Cyrus 2.3.1 (or the auto create patches?) can folders automatically be created for plus addressing? I was toying with the idea of having tagged spam being sent to [EMAIL PROTECTED] rather than using a sieve script. Since sieve scripts are user editable using plus addressing to sort tagged spam into a folder seemed like a more sensible idea. I guess it's simpler to patch your create scripts (or create some automated modify scripts) to create this folder for each user then patch cyrus source code for this task. You can also revoke users permissions to delete that mailbox - just use: sam folder -user c (didn't try it on myself, but theoretically it should work :-) Ondrej. -- Ondrej Sury [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part 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: autocreate folder for plus addressing?
Ondrej Sury wrote: I guess it's simpler to patch your create scripts (or create some automated modify scripts) to create this folder for each user then patch cyrus source code for this task. You can also revoke users permissions to delete that mailbox - just use: sam folder -user c (didn't try it on myself, but theoretically it should work :-) There is such a thing as to much hand holding. I think I might be heading down that path by suggesting plus addressed delivery. For example, what if every users doen't want their spam delivered to the same mailbox name/location? I've decided that it's better to let the user set the filter they want and offer to assist with it by showing examples or through autocreate with seive I think. -- Scott Russell [EMAIL PROTECTED] IBM Linux Technology Center 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: autocreate folder for plus addressing?
Ondrej Sury wrote: On Tue, 2006-01-17 at 18:42 -0500, Scott Russell wrote: Greets. With Cyrus 2.3.1 (or the auto create patches?) can folders automatically be created for plus addressing? I was toying with the idea of having tagged spam being sent to [EMAIL PROTECTED] rather than using a sieve script. Since sieve scripts are user editable using plus addressing to sort tagged spam into a folder seemed like a more sensible idea. I guess it's simpler to patch your create scripts (or create some automated modify scripts) to create this folder for each user then patch cyrus source code for this task. You can also revoke users permissions to delete that mailbox - just use: sam folder -user c FYI, the above would remove *both* CREATE and DELETE permission. In 2.3 with the updated ACL code (RFC 4314), you can remove *only* the DELETE permission with: sam folder -user x The correct way to remove both CREATE and DELETE in 2.3 is to do: sam folder -user kx although 'c' will still work as c=kx (and d=et). All of this depends on the deleteright option being set to 'c'. If thi shas been set to something else (e.g. 'd'), then c=k and d=etx. -- Kenneth Murchison Project Cyrus Developer/Maintainer Carnegie Mellon University 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: ETA on auto-* patches?
Andreas Hasenack wrote: Attached is some *preliminary* work. It most certainly has bugs, doesn't even try to think about cyrus murder or replication, it may have security problems, blow up your machine, etc. I just took the original patches, made them apply and fixed the most obvious api changes so that it builds. I tested anysievefolder and autoinbox creation so far. Great timing :) I've been using 2.3.1 from TGZ on a test server while waiting on Simon's RPMs My test and prod env don't do murder or replication at the moment so these sound ideal as they are. Aside form basic functionality is there anything else to provide feedback for? -- Scott Russell [EMAIL PROTECTED] IBM Linux Technology Center 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
Turning off duplicate delivery suppression
I have duplicate delivery suppression turned off in my imapd.conf file duplicate_suppression: 0 but I still a lot log messages about eliminating duplicate delivery Jan 18 18:54:53 liverwurst lmtp[22929]: dupelim: eliminated duplicate message to user.cp2195 id [EMAIL PROTECTED] (delivery) Jan 18 18:56:15 liverwurst lmtp[22714]: dupelim: eliminated duplicate message to user.lm2016 id [EMAIL PROTECTED] (delivery) So is duplicate delivery suppression on or off? Is there another option I need to use? I'm using Cyrus 2.3 thanks, Patrick 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: ETA on auto-* patches?
Hello, just for your information, I have finished with porting the autocreate inbox patch and I plan to release it until the end of the week. I am just doing some final tests at the moment. I am sorry for the terrible delay for releasing the patches for cyrus 2.3.1. Unfortunately no support for mupdate is included in this release either. Regards, Christos Andreas Hasenack wrote: On Wed, Jan 11, 2006 at 10:33:35AM -0200, Andreas Hasenack wrote: Any ETA on the auto-* patches for cyrus-imapd-2.3.x? Days? Weeks? Months? Don't know? I could start hacking on them, I guess, just didn't want to duplicate work. Attached is some *preliminary* work. It most certainly has bugs, doesn't even try to think about cyrus murder or replication, it may have security problems, blow up your machine, etc. I just took the original patches, made them apply and fixed the most obvious api changes so that it builds. I tested anysievefolder and autoinbox creation so far. 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 -- Did you visit http://email.uoa.gr? -- Did you visit http://email.uoa.gr? 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: ETA on auto-* patches?
Em Quarta 18 Janeiro 2006 22:52, Christos Soulios escreveu: Hello, just for your information, I have finished with porting the autocreate inbox patch and I plan to release it until the end of the week. I am just doing some final tests at the moment. Good, I'd prefer to use the official patches :) 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
delay expunge and folders
Greets. With Cyrus IMAPd 2.3.1 and expunge_mode = delay set I noticed that when deleting a folder the folder, and any subfolders or messages in the folder or subfolders, are removed immediately from the filesystem. Is this the expected behavior? I think most likely the patch is working as designed but I'm wondering if it would be a good idea to extend the delayed expunge behavior to include folders as well as messages. -- Scott Russell [EMAIL PROTECTED] IBM Linux Technology Center 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.1 replication and deliver problem
On Thu, 19 Jan 2006, Dmitry Melekhov wrote: Patrick Radtke wrote: What happens when you try telnet backup 2005 [EMAIL PROTECTED] dm]$ telnet backup 2005 Trying 192.168.22.211... Connected to backup.p98.belkam.com (192.168.22.211). Escape character is '^]'. * OK backup Cyrus sync server v2.3.1 So it works. So the connection works, but there is probably a problem with the authentication. What authentication mechanism are you useing for sync_client? sync_server should advertise the available SASL mechanisms. If you are using PLAIN then you need to have a certificate, so STARTTLS will work prior to sending a password. here's what one of our replica's advertises telnet liverwurst2 2005 Trying 128.59.33.151... Connected to liverwurst2.cc.columbia.edu (128.59.33.151). Escape character is '^]'. * SASL GSSAPI * STARTTLS * OK liverwurst2.cc.columbia.edu Cyrus sync server v2.3-alpha -Patrick 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.1 replication and deliver problem
Patrick H Radtke wrote: So the connection works, but there is probably a problem with the authentication. What authentication mechanism are you useing for sync_client? sync_server should advertise the available SASL mechanisms. If you are using PLAIN then you need to have a certificate, so STARTTLS will work prior to sending a password. here's what one of our replica's advertises telnet liverwurst2 2005 Trying 128.59.33.151... Connected to liverwurst2.cc.columbia.edu (128.59.33.151). Escape character is '^]'. * SASL GSSAPI * STARTTLS * OK liverwurst2.cc.columbia.edu Cyrus sync server v2.3-alpha Sorry, I don't understand completely. I have certificate and use it for imaps. And, yes, I use plain. What I need to write in imap.conf? 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