Re: Anyone use MAIL::IMAPClient?

2007-12-11 Thread Mike Eggleston
On Tue, 11 Dec 2007, Peter Reuter?s might have said:

> > So I am not able to set \Seen as the cyrus user in a normal user's account
> > and have that normal user seen the setting of the \Seen flag?
> >
> > If so, I can see where that makes sense, but *really* what I need at the
> > moment. I had a glitch this morning and all *.seen files were corrputed.
> > I shutdown the server, removed the *.seen files, started the server, and
> > now want to reset \Seen for all my users.
> 
> You should be able to solve this with authuser. Check the code for
> imapsync (http://www.linux-france.org/prj/imapsync/dist/) that uses
> Mail::IMAPClient for an example.

Thank you. I'll check this now.

Mike

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: Anyone use MAIL::IMAPClient?

2007-12-11 Thread Peter Reuterås
> So I am not able to set \Seen as the cyrus user in a normal user's account
> and have that normal user seen the setting of the \Seen flag?
>
> If so, I can see where that makes sense, but *really* what I need at the
> moment. I had a glitch this morning and all *.seen files were corrputed.
> I shutdown the server, removed the *.seen files, started the server, and
> now want to reset \Seen for all my users.

You should be able to solve this with authuser. Check the code for
imapsync (http://www.linux-france.org/prj/imapsync/dist/) that uses
Mail::IMAPClient for an example.

Hope this helps,

Peter

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: Anyone use MAIL::IMAPClient?

2007-12-10 Thread Alain Spineux
On Dec 10, 2007 8:29 PM, Mike Eggleston <[EMAIL PROTECTED]> wrote:
> On Mon, 10 Dec 2007, Michael Menge might have said:
>
> > Hi,
> >
> > Cyrus keeps the \Seen status for each user that has read acces to a Mailbox.
> > So the user to login anf change the \Seen flag has to be the same as
> > the one who checking the status afterwards.
> >
> > In 2.3.10 there is a shared seen status which might be usefull.
> >
> >
> >
> > Quoting Mike Eggleston <[EMAIL PROTECTED]>:
> >
> > > I know this is a perl question and not an imap-specific question,
> > > but I don't have access to my perl lists from this computer.
> > >
> > > The script below compiles and seems to run just fine, but the
> > > message flags are not set to \Seen in the line
> > >
> > > $imap->see(@msgs);
> > >
> > > Is there something I'm missing?
>
> So I am not able to set \Seen as the cyrus user in a normal user's account
> and have that normal user seen the setting of the \Seen flag?
>
> If so, I can see where that makes sense, but *really* what I need at the
> moment. I had a glitch this morning and all *.seen files were corrputed.
> I shutdown the server, removed the *.seen files, started the server, and
> now want to reset \Seen for all my users.

SASL and imap let you login as a user using the cyrus (or any admin)
credential, but I dont know how you do that using perl!

try

# imtest  -u [EMAIL PROTECTED]  -a [EMAIL PROTECTED] localhost





>
> Mike
>
> 
> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

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: Anyone use MAIL::IMAPClient?

2007-12-10 Thread Mike Eggleston
On Mon, 10 Dec 2007, Michael Menge might have said:

> Hi,
> 
> Cyrus keeps the \Seen status for each user that has read acces to a Mailbox.
> So the user to login anf change the \Seen flag has to be the same as  
> the one who checking the status afterwards.
> 
> In 2.3.10 there is a shared seen status which might be usefull.
> 
> 
> 
> Quoting Mike Eggleston <[EMAIL PROTECTED]>:
> 
> > I know this is a perl question and not an imap-specific question,
> > but I don't have access to my perl lists from this computer.
> >
> > The script below compiles and seems to run just fine, but the
> > message flags are not set to \Seen in the line
> >
> > $imap->see(@msgs);
> >
> > Is there something I'm missing?

So I am not able to set \Seen as the cyrus user in a normal user's account
and have that normal user seen the setting of the \Seen flag?

If so, I can see where that makes sense, but *really* what I need at the
moment. I had a glitch this morning and all *.seen files were corrputed.
I shutdown the server, removed the *.seen files, started the server, and
now want to reset \Seen for all my users.

Mike

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: Anyone use MAIL::IMAPClient?

2007-12-10 Thread Michael Menge
Hi,

Cyrus keeps the \Seen status for each user that has read acces to a Mailbox.
So the user to login anf change the \Seen flag has to be the same as  
the one who checking the status afterwards.

In 2.3.10 there is a shared seen status which might be usefull.



Quoting Mike Eggleston <[EMAIL PROTECTED]>:

> I know this is a perl question and not an imap-specific question,
> but I don't have access to my perl lists from this computer.
>
> The script below compiles and seems to run just fine, but the
> message flags are not set to \Seen in the line
>
> $imap->see(@msgs);
>
> Is there something I'm missing?
>
> Mike
>




M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen


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