Delete all Mails in a folder from
Hi, I want to delete all mails in a folder from a script. How can I do this. I triesd the ipurge command but there I have to specify what mails. Isn't it possible to tell ipurge it schould delete alle Mails in the folder...? Is there an other more elegant way to do this? Regards, Olli 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: Cyrus Murder 2.3 - questions/problems - update
On Fri, 2006-05-19 at 13:13 +0200, Mirosław Jaworski wrote: Problems: - mupdate eating cpu Update: seems that prot.c ( 1.82.2.13 ) patch made the day for me ( concerning mupdate eating cpu time ). Still have the problem with synchronizing mailboxes.db between nodes though. How often slave mupdate will update its config against the master mupdate? Isn't is supposed to be realtime too ( as of now - when i add mailbox on node with slave mupdate the node with master mupdate knows about it in no time )? Is there any configuration option i can add, some mupdate slave synchronization event to slave node(s) or something? Regards MJ -- Miroslaw Psyborg Jaworski GCS/IT d- s+:+ a C++$ UBI$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O- M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y? 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: Outlook does not delete but displays deleted messages asstrike-trough
hi, Am Donnerstag, den 18.05.2006, 14:34 +0200 schrieb H. Wilmer: There is an option (I believe under Edit) to 'Purge deleted messages' which permanently deletes messages marked as to be deleted - is this what you were after? however, thunderbird is not an option, cause of missing calendar, todo list and other several things. Also the contact manger from TB is terrible. The other point is, the customer bought outlook so, they want use them. But my main problem isn't solved. Cyrus need an option to purge mails. From 100 Users, 95 don't purge the old mails via edit Purge deleted :-( -- Sicherheit verständlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=getsearch=0x2A5CE192AB7D3FE0 signature.asc Description: Dies ist ein digital signierter Nachrichtenteil 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: Outlook does not delete but displays deleted messages asstrike-trough
hi, Am Donnerstag, den 18.05.2006, 14:34 +0200 schrieb H. Wilmer: There is an option (I believe under Edit) to 'Purge deleted messages' which permanently deletes messages marked as to be deleted - is this what you were after? however, thunderbird is not an option, cause of missing calendar, todo list and other several things. Also the contact manger from TB is terrible. The other point is, the customer bought outlook so, they want use them. But my main problem isn't solved. Cyrus need an option to purge mails. Hm, no. Cyrus is an IMAP server and it is best used with an IMAP client. I don't think there is something missing in Cyrus, but of course there is much missing in Outlook to make it a real IMAP client. From 100 Users, 95 don't purge the old mails via edit Purge deleted :-( Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. Simon 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: Outlook does not delete but displays deleted messages asstrike-trough
On Monday 22 May 2006 09:43, Simon Matter wrote: Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. No. The default in Outlook with an IMAP account is that it just strikes out the message in your message list. It's the most rediculous thing I have seen considering how every other email client out there works. wt -- Warren Turkal, Research Associate III/Systems Administrator Colorado State University, Dept. of Atmospheric Science 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: sieve proxy
Kjetil Torgrim Homme wrote: On Sun, 2006-05-21 at 23:07 +0200, Rudy Gevaert wrote: I was wondering if there is a sieve proxy. I'm partitionnning my userbase and redirecting every to the correct backup with perdition. People who are doing the same. How are you redirecting sieve users to the correct mailstore? we patched avelsieve to lookup correct backend the same way Perdition does (LDAP in our case). if you're using Murder, you don't have this problem, since it will proxy managesieve, too. (actually it will send a referal, not be a proxy, but that should only affect your firewall rules.) Thanks for you reply. We are not going to use Murder. We are going to use IMP and the Horde framework for Webmail. We could hack it the same way. However how do you resolve the ussues for non webmail clients? (Or aren't there any gui sieve clients?) Kind regards, Rudy 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: Outlook does not delete but displays deleted messages asstrike-trough
On Mon, May 22, 2006 at 10:13:56AM -0600, Warren Turkal wrote: On Monday 22 May 2006 09:43, Simon Matter wrote: Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. No. The default in Outlook with an IMAP account is that it just strikes out the message in your message list. It's the most rediculous thing I have seen considering how every other email client out there works. Then outlook is up to standards with its users (the ones that forget to purge the email). A perfect match. 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: Outlook does not delete but displays deleted messages asstrike-trough
--On Monday, May 22, 2006 10:13 -0600 Warren Turkal [EMAIL PROTECTED] wrote: On Monday 22 May 2006 09:43, Simon Matter wrote: Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. No. The default in Outlook with an IMAP account is that it just strikes out the message in your message list. It's the most rediculous thing I have seen considering how every other email client out there works. Both clients I use show deleted messages with a line through them, and neither one is Outlook. Why would you call this ridiculous? It's easy to undelete by highlighting one and clicking undelete. And it reminds me they're still taking up space, which nudges me to expunge them every so often. I like controlling when my messages get wiped out. Joseph Brennan Columbia University Information Technology (asstrike-trough, n. Where donkeys dispose of their tricycles.) 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: Outlook does not delete but displays deleted messages asstrike-trough
I'm not sure I understand why you think marking deleted messages is so bad. Have you never accidentally deleted the wrong message? Only to have it totally disappear, so you're not SURE what you deleted? I'd much rather have closer control over what my mail program is doing... Jill Williams Manager, Support Technologies Group Columbia University Information Technology On May 22, 2006, at 12:13 PM, Warren Turkal wrote: On Monday 22 May 2006 09:43, Simon Matter wrote: Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. No. The default in Outlook with an IMAP account is that it just strikes out the message in your message list. It's the most rediculous thing I have seen considering how every other email client out there works. wt -- Warren Turkal, Research Associate III/Systems Administrator Colorado State University, Dept. of Atmospheric Science 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: mailboxes.db backend comparison
On May 18, 2006, at 12:11 PM, Andrew Morgan wrote: On Wed, 17 May 2006, Wesley Craig wrote: On 17 May 2006, at 14:21, Andrew Morgan wrote: My most recent test was to rebuild the mupdate master mailboxes.db from my backend server. skiplist - 20-25 minutes berkeley - 3 minutes How many mailboxes are there? Is there also a speed difference when running 'time ctl_mboxlist -mw' from your backends? -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: mailboxes.db backend comparison
On Mon, 22 May 2006, Patrick Radtke wrote: On May 18, 2006, at 12:11 PM, Andrew Morgan wrote: On Wed, 17 May 2006, Wesley Craig wrote: On 17 May 2006, at 14:21, Andrew Morgan wrote: My most recent test was to rebuild the mupdate master mailboxes.db from my backend server. skiplist - 20-25 minutes berkeley - 3 minutes How many mailboxes are there? About 145000. Is there also a speed difference when running 'time ctl_mboxlist -mw' from your backends? That's what I did. :) Andy 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: Outlook does not delete but displays deleted messages asstrike-trough
On Monday 22 May 2006 10:45, you wrote: I'm not sure I understand why you think marking deleted messages is so bad. Have you never accidentally deleted the wrong message? Only to have it totally disappear, so you're not SURE what you deleted? I'd much rather have closer control over what my mail program is doing... My email clients put deleted messages into a trash bin. I can go there to retrieve messages. The fact of the matter is that most of the time someone deletes a message, they mean to do it. I believe that having an undo in case someone deletes the message accidentally is important. I just think the way that feature is implemented in Outlook for IMAP cripples the common use case where someone means to delete a message. Outlook does a very sane thing with POP mail. It moves the message to the trash folder. It does something similar when using an Exchange server. The only time that it exhibits the weird behavior is when interacting with an IMAP server. Outlook has many other problems also. Think about this one. If you only have an IMAP email account, you would probably want to show the inbox for that IMAP account by default. The only way to change the default folder for Outlook is to start editing registry keys. Why would something like that not be configurable within the program? I personally think that Outlook does what it can to make its users depend on Exchange since IMAP provides nearly all of the mail related benefits of using Exchange from the client perspective. When using Exchange, for instance, your mail magically pops up in the main inbox. It would be nice to be able to use IMAP in a mode like that. Maybe one should be able to tell Outlook that the IMAP is the only account and have it treated as such. Of course, to be fair, all mail clients have their issues. For one example, Mail.app, the Mac OS X client, removes all messages in your inbox associated with a particular POP account when you delete the account. This doesn't make sense since the message are downloaded and more than likely erased from the server. wt -- Warren Turkal, Research Associate III/Systems Administrator Colorado State University, Dept. of Atmospheric Science 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: mailboxes.db backend comparison
On May 22, 2006, at 1:55 PM, Andrew Morgan wrote: On Mon, 22 May 2006, Patrick Radtke wrote: On May 18, 2006, at 12:11 PM, Andrew Morgan wrote: On Wed, 17 May 2006, Wesley Craig wrote: On 17 May 2006, at 14:21, Andrew Morgan wrote: My most recent test was to rebuild the mupdate master mailboxes.db from my backend server. skiplist - 20-25 minutes berkeley - 3 minutes How many mailboxes are there? About 145000. Is there also a speed difference when running 'time ctl_mboxlist -mw' from your backends? That's what I did. :) haha, yup:) I should have been clearer. I want to know the diff speed, not the rebuild speed. So how long does ctl_mboxlist -mw take to run when the mupdate master is in sync with the backend. For example, with backend and murder master in sync, ctl_mboxlist takes 16 seconds to run here. If I'm rebuilding the murder master db from scratch then it takes 2+ hours. We have 782443 mailboxes, divided up across a bunch of backends. I would like the speed of berkley, but I don't trust it to be stable. -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: Outlook does not delete but displays deleted messages asstrike-trough
On Monday 22 May 2006 10:29, Joseph Brennan wrote: Both clients I use show deleted messages with a line through them, and neither one is Outlook. Why would you call this ridiculous? It's easy to undelete by highlighting one and clicking undelete. And it reminds me they're still taking up space, which nudges me to expunge them every so often. I like controlling when my messages get wiped out. Clearly, there are two schools of thought here, and I totally see why this makes sense. I also know that this mode of operation is unacceptable to my users, and I have to set up the Outlook users with POP so that it acts like they expect with the trash folder. wt -- Warren Turkal, Research Associate III/Systems Administrator Colorado State University, Dept. of Atmospheric Science 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: mailboxes.db backend comparison
On Mon, 22 May 2006, Patrick Radtke wrote: haha, yup:) I should have been clearer. I want to know the diff speed, not the rebuild speed. So how long does ctl_mboxlist -mw take to run when the mupdate master is in sync with the backend. For example, with backend and murder master in sync, ctl_mboxlist takes 16 seconds to run here. If I'm rebuilding the murder master db from scratch then it takes 2+ hours. We have 782443 mailboxes, divided up across a bunch of backends. I would like the speed of berkley, but I don't trust it to be stable. For a berkeley backend on the mupdate master: [EMAIL PROTECTED]:~$ time /usr/local/cyrus/bin/ctl_mboxlist -mw real0m5.268s user0m1.404s sys 0m2.556s For a skiplist backend: [EMAIL PROTECTED]:~$ time /usr/local/cyrus/bin/ctl_mboxlist -mw real0m4.575s user0m1.384s sys 0m2.576s Still, since skiplist takes so long to populate initially, a failure of the mupdate master can have a pretty large effect on service. Andy 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: mailboxes.db backend comparison
I have a patch set to ctl_mboxlist that outputs mailboxes.db on the backend in a format that may be concatenated and reloaded on the mupdate master. Using this method, we can rebuild our mupdate master from the collective backends in a matter of minutes, even with 800K mailboxes. :wes On 22 May 2006, at 18:28, Andrew Morgan wrote: Still, since skiplist takes so long to populate initially, a failure of the mupdate master can have a pretty large effect on service. 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 Patches used at FastMail.FM
I've finally split out all the patches that we use here into individual items. I know some people were interested in the don't allow users to set the anyone ACL patch as well. http://cyrus.brong.fastmail.fm/ Ken - I'd love to work with you on getting as many as possible of these into upstream, at least the ones that are labelled as worth doing - some are so cheap-hack as to require a complete rewrite to make them worthwhile. Bron. 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