delete specific mail in all folders

2009-05-11 Thread Gerald Nowitzky
Hello! I have been confronted with a request today: We are running cyrus as imap server. We have currently about 3 million files and 150GB in our mail dir. One user has accidently sent something confidential to all users via a list. The request was, of course, to delete the mail from all

Re: delete specific mail in all folders

2009-05-11 Thread LALOT Dominique
That could be something like that script (test and adapt). I'm just a beginer with Mail::IMAPTalk and I don't use correctly search method The trick will be to find the from and subject and/or the date.. Dom #!/usr/bin/perl use Mail::IMAPTalk; $IMAP = Mail::IMAPTalk-new( Server =

Re: delete specific mail in all folders

2009-05-11 Thread Paul van der Vlis
Gerald Nowitzky schreef: Hello! I have been confronted with a request today: We are running cyrus as imap server. We have currently about 3 million files and 150GB in our mail dir. One user has accidently sent something confidential to all users via a list. The request was, of course, to

Re: delete specific mail in all folders

2009-05-11 Thread LALOT Dominique
2009/5/11 Paul van der Vlis p...@vandervlis.nl Gerald Nowitzky schreef: Hello! I have been confronted with a request today: We are running cyrus as imap server. We have currently about 3 million files and 150GB in our mail dir. One user has accidently sent something confidential to

Re: Sieve international charachters

2009-05-11 Thread LALOT Dominique
That would be great. It's a long awaited feature for us. Thanks Dom 2009/5/9 Bron Gondwana br...@fastmail.fm On Fri, May 08, 2009 at 03:32:47PM +0200, Gabriele Bulfon wrote: Hello, does sieve filtering accepts international characters (e.g. ?,? and so on)? Until now I could never input

Re: reading seen state as cyrus priviledged user

2009-05-11 Thread Dan White
LALOT Dominique wrote: Hello, I would like to run scripts for deleting unread old mails. But using the imap API, I can only read the good seen status if I logged as the user. Checking as cyrus tells me, that nothing has been read. Is there an su option for imap? How can I do that? You

Re: reading seen state as cyrus priviledged user

2009-05-11 Thread Reinaldo de Carvalho
On Mon, May 11, 2009 at 11:37 AM, Dan White dwh...@olp.net wrote: LALOT Dominique wrote: Hello, I would like to run scripts for deleting unread old mails. But using the imap API, I can only read the good seen status if I logged as the user. Checking as cyrus tells me, that nothing has been

Re: reading seen state as cyrus priviledged user

2009-05-11 Thread Dan White
Reinaldo de Carvalho wrote: On Mon, May 11, 2009 at 11:37 AM, Dan White dwh...@olp.net wrote: Depending on your environment, the '/vendor/cmu/cyrus/imapd/sharedseen' annotation may be useful. See the 'cyradm' man page for details. Where can I find (not in the code) all supported

Re: reading seen state as cyrus priviledged user

2009-05-11 Thread Reinaldo de Carvalho
On Mon, May 11, 2009 at 12:08 PM, Dan White dwh...@olp.net wrote: The doc/changes.html file is the only place I know of, but I don't think it's comprehensive. Thanks, don't wonry, I wrote a cyradm-like with python/qt (Korreio). perl/imap/IMAP/Shell.pm implies that the following are

Re: reading seen state as cyrus priviledged user

2009-05-11 Thread LALOT Dominique
2009/5/11 Dan White dwh...@olp.net LALOT Dominique wrote: Hello, I would like to run scripts for deleting unread old mails. But using the imap API, I can only read the good seen status if I logged as the user. Checking as cyrus tells me, that nothing has been read. Is there an su option

Disabling quotas in cyrus

2009-05-11 Thread Tim Champ
Hello all. We are doing some substantial number of moves of users between backends here, and have been running into problems with quotas.db. We are currently running 2.3.8 as our version of cyrus. The problem is that we seem to run into lock issues with quotas.db (nothing else yet,