Re: index on custom headers for fast ipurge

2007-06-20 Thread Andrew Morgan
On Wed, 20 Jun 2007, Eric Luyten wrote:

>> A Cyrus administrator can authenticate as an administrator and authorize
>> as a user.  You can then perform operations on behalf of the user.
>
>
> Andrew,
>
>
> What "commodity" mail client offers this possibility ?

I've never tried to do this with a real mail client, so I can't say.  I 
suspect very few can, if any.  The imtest tool which comes with Cyrus 
supports this feature.  I thought the perl module Mail::IMAPClient 
supported it, but it appears you would have to tie it to imtest (which is 
given as an example in the source distribution of Mail::IMAPClient).

In the context of the original question, I'm not sure it is even necessary 
to authorize as the end user.  An admin user can open any mailbox on the 
system to find the notification messages and delete them.

If you want to simply read a user's mailbox (not *be* the user), then an 
admin can grant access to the mailbox to any other Cyrus user.  We do that 
here to help diagnose user problems.

Andy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: index on custom headers for fast ipurge

2007-06-20 Thread Eric Luyten
> A Cyrus administrator can authenticate as an administrator and authorize 
> as a user.  You can then perform operations on behalf of the user.


Andrew,


What "commodity" mail client offers this possibility ?



Regards,
Eric Luyten, VUB/ULB Computing Centre.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: index on custom headers for fast ipurge

2007-06-13 Thread Andrew Morgan
On Wed, 13 Jun 2007, ram wrote:

> I am setting up a cyrus imap server with 40k-80k mailboxes
>
> I have a particular requirement that some particular messages  should be
> deleted from all mailboxes.These  are the usual yada-yada system
> notifications no one reads
>
> For this I plan to add custom headers in al these notifications and run
> ipurge for all mails with that header
>
> Is this possible ?

I don't use ipurge, so I can't say whether ipurge can do this.

> Alternatvely I could use an ImapClient script to logon to the mailboxes
> and delete the mails. But I wont have passwords for all mailboxes ?

A Cyrus administrator can authenticate as an administrator and authorize 
as a user.  You can then perform operations on behalf of the user.  You 
don't need to know the user's password.

Andy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


index on custom headers for fast ipurge

2007-06-13 Thread ram
I am setting up a cyrus imap server with 40k-80k mailboxes

I have a particular requirement that some particular messages  should be
deleted from all mailboxes.These  are the usual yada-yada system
notifications no one reads

For this I plan to add custom headers in al these notifications and run
ipurge for all mails with that header 

Is this possible ? 

Alternatvely I could use an ImapClient script to logon to the mailboxes
and delete the mails. But I wont have passwords for all mailboxes ?

Thanks
Ram





Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html