Re: POP3 retvied mails should be marked as read - how?

2007-09-30 Thread Georgy Goshin
Hello,

Thanks for the answer but the answer was not do I need this or not, I've 
asked how to do it. I'll try to explain why I need this and I beleive that 
not only I am.
I use Cyrus in a hosting inviroment because it's stable, fast and feature 
rich server. Most of my (hosting) clients uses POP3 to get their mails form 
the server, almost all of them leaves the messages on the server for a 5-20 
days, about a half of them uses webamil access to read their mail from home, 
from places other than office and this is a place where we need all read 
mails marked as read.


Best,
G/


- Original Message - 
From: "Jorey Bump" <[EMAIL PROTECTED]>
To: "Georgy Goshin" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, September 29, 2007 2:55 PM
Subject: Re: POP3 retvied mails should be marked as read - how?


> Georgy Goshin wrote, at 09/29/2007 06:12 AM:
>
>> I need the Cyrus POP3 server marks all messages read by client but left 
>> on server as read. How to do this?
>
> POP3 does not mark messages as read. The client downloads the messages, 
> then *it* tracks which messages are read. For obvious reasons, you don't 
> want to mark messages as read merely because they have been downloaded. 
> Tricks played with the deprecated LAST command are not reliable.
>
> The feature you want can only be done by modifying the POP3 client to use 
> IMAP to mark messages as read when messages left on the server are read by 
> the POP3 client. I doubt you'll be able to convince any developer to make 
> such a modification, since IMAP already provides this functionality.
>
> IOW, switch to IMAP.
> 


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: POP3 retvied mails should be marked as read - how?

2007-09-30 Thread Yann Rouillard

Le dimanche 30 septembre 2007 à 11:39 +0300, Georgy Goshin a écrit :
> Hello,
> 
> Thanks for the answer but the answer was not do I need this or not, I've 
> asked how to do it. I'll try to explain why I need this and I beleive that 
> not only I am.

You're not, I opened a bug about this sometimes ago:
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2737

But I suppose this feature is not high priority for developper so if you
really want it, you should try to offer a patch or find someone to do
it.

Yann


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

reconstruct: Operating system error

2007-09-30 Thread tloudev
hi,
I have problem with one mailbox.
[EMAIL PROTECTED]:~$ /usr/sbin/cyrreconstruct -rf user.vs1170
user.vs1170
user.vs1170.Drafts
user.vs1170.Sent
user.vs1170.Trash
[EMAIL PROTECTED]:~$ cyradm -u cyrus localhost
IMAP Password:
localhost> sq user.vs1170 50
quota:50
setquota: Mailbox has an invalid format
localhost> reconstruct user.vs1170
reconstruct: Operating System Error
localhost> lq user.vs1170

localhost>
---
from mail.err logfile:
Sep 30 19:38:19 ns cyrus/imapd[30281]: Fatal error: Internal error: 
assertion failed: mailbox.c: 875: mailbox->quota.lock_count == 0
(this line shows everytime I'm tryin to access mailbox from the client)

from mail.log:
Sep 30 19:46:19 ns postfix/pipe[30251]: 34D7E844024: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=cyrus, 
delay=1370, status=deferred (temporary failure)

thank you for hints.
   Ondrej Pachner




--

Check my PGP public key at http://poblijon.ubal.to/~tloudev/pgp.pub


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: reconstruct: Operating system error

2007-09-30 Thread Alain Spineux
On 9/30/07, tloudev <[EMAIL PROTECTED]> wrote:
> hi,
> I have problem with one mailbox.
> [EMAIL PROTECTED]:~$ /usr/sbin/cyrreconstruct -rf user.vs1170
> user.vs1170
> user.vs1170.Drafts
> user.vs1170.Sent
> user.vs1170.Trash
> [EMAIL PROTECTED]:~$ cyradm -u cyrus localhost
> IMAP Password:
> localhost> sq user.vs1170 50
> quota:50
> setquota: Mailbox has an invalid format
> localhost> reconstruct user.vs1170
> reconstruct: Operating System Error
> localhost> lq user.vs1170
>
> localhost>
> ---
> from mail.err logfile:
> Sep 30 19:38:19 ns cyrus/imapd[30281]: Fatal error: Internal error:
> assertion failed: mailbox.c: 875: mailbox->quota.lock_count == 0
> (this line shows everytime I'm tryin to access mailbox from the client)
>
> from mail.log:
> Sep 30 19:46:19 ns postfix/pipe[30251]: 34D7E844024:
> to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=cyrus,
> delay=1370, status=deferred (temporary failure)
>
> thank you for hints.

A filesystem corruption ?
Try fsck !


>Ondrej Pachner
>
>
>
>
> --
>
> Check my PGP public key at http://poblijon.ubal.to/~tloudev/pgp.pub
>
> 
> 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: POP3 retvied mails should be marked as read - how?

2007-09-30 Thread Jarod Watkins
Yann Rouillard wrote:
> Le dimanche 30 septembre 2007 à 11:39 +0300, Georgy Goshin a écrit :
>   
>> Hello,
>>
>> Thanks for the answer but the answer was not do I need this or not, I've 
>> asked how to do it. I'll try to explain why I need this and I beleive that 
>> not only I am.
>> 
>
> You're not, I opened a bug about this sometimes ago:
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2737
>
> But I suppose this feature is not high priority for developper so if you
> really want it, you should try to offer a patch or find someone to do
> it.
>
> Yann
>   
But as Jorey Bumb said, wouldn't it be easier to just switch to IMAP and 
offer your customers a better protocol than POP3? I don't see why you 
are still offering POP when IMAP provides what you want in the first 
place. Plus from the sound of it, you are keeping all the messages left 
on the server anyway, so in essence you are already running IMAP! Don't 
mean to sound like I am ranting, just my .02.

-Jarod

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: reconstruct: Operating system error

2007-09-30 Thread tloudev
hi,

On Sun, 30 Sep 2007, Alain Spineux wrote:
> On 9/30/07, tloudev <[EMAIL PROTECTED]> wrote:
>> hi,
>> I have problem with one mailbox.
>> localhost> sq user.vs1170 50
>> quota:50
>> setquota: Mailbox has an invalid format
>> localhost> reconstruct user.vs1170
>> reconstruct: Operating System Error
>
> A filesystem corruption ?
> Try fsck !

I already tried..
good and bad news in one: filesystem is clean without errors.
   O.Pachner

--

Check my PGP public key at http://poblijon.ubal.to/~tloudev/pgp.pub


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: reconstruct: Operating system error

2007-09-30 Thread Alain Spineux
On 9/30/07, tloudev <[EMAIL PROTECTED]> wrote:
> hi,
> I have problem with one mailbox.
> [EMAIL PROTECTED]:~$ /usr/sbin/cyrreconstruct -rf user.vs1170
> user.vs1170
> user.vs1170.Drafts
> user.vs1170.Sent
> user.vs1170.Trash
> [EMAIL PROTECTED]:~$ cyradm -u cyrus localhost
> IMAP Password:
> localhost> sq user.vs1170 50

Here the syntax should be

sq user.vs1170 STORAGE 50

> quota:50
> setquota: Mailbox has an invalid format
> localhost> reconstruct user.vs1170
> reconstruct: Operating System Error
> localhost> lq user.vs1170
>
> localhost>
> ---
> from mail.err logfile:
> Sep 30 19:38:19 ns cyrus/imapd[30281]: Fatal error: Internal error:
> assertion failed: mailbox.c: 875: mailbox->quota.lock_count == 0
> (this line shows everytime I'm tryin to access mailbox from the client)

Did you tried to remove the quota file ?

>
> from mail.log:
> Sep 30 19:46:19 ns postfix/pipe[30251]: 34D7E844024:
> to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=cyrus,
> delay=1370, status=deferred (temporary failure)
>
> thank you for hints.
>Ondrej Pachner
>
>
>
>
> --
>
> Check my PGP public key at http://poblijon.ubal.to/~tloudev/pgp.pub
>
> 
> 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