APPEND and \Seen flag handling with admin account

Ken Murchison ken at oceana.com
Wed Nov 17 12:52:11 EST 2004


Hans-Peter Jansen wrote:

> Hmm, sad, no takers - 2nd attempt follows..
> 
> On Friday 12 November 2004 19:24, Hans-Peter Jansen wrote:
> 
>>When APPENDing mails as the cyrus admin, the \Seen flags magically
>>disappears, unlike appending to the mailbox as its owner: they're
>>preserved as expected.
>>
> 
> Well, I've looked into the source now, and understand, what happens: 
> the seen db is user dependant.
> 
> Further thinking and searching on how to solve this problem cleanly 
> brought me to the proxyauth command, which would fit my needs, but  
> unfortunately is non standard nor implemented in cyrus.

It is nonstandard, but also isn't needed.  Cyrus supports SASL 
mechanisms which support proxying, specifically PLAIN and DIGEST-MD5.


> Thus let me rephrase my question: is there a way to migrate mbox 
> mailboxes in a way, that they appear exactly the same in cyrus from 
> within an admin account (without compromising user logins), including 
> the \Seen flag?

Use one of the SASL mechanisms above to authenticate as an admin, but 
authorize as the user that you are migrating.

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
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




More information about the Info-cyrus mailing list