process ctl_mboxlist -r hung

2012-10-25 Thread Ana B. Diez
Hi all,

I've been using Cyrus-imap 2.0.16.
I've seen that there are two process "ctl_mboxlist -r" running along 30 days 
and they consume a lot of CPU.
Is this an anomaly?
The imap service it's ok but a little slow.

Is it advisable to kill them and restart the service?

Thanks.





Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


2.4.16 strangeness on centos-5x64

2012-10-25 Thread mayak-cq
hi all,

i have centos5-x64 box running cyrus 2.4.16 ...

i have several user that have experienced their mail showing up in other
users boxes -- a...@domain.com mail arrives in b...@domain.com box.

wow.

then, i noticed that the quota report was showing an account as being
nearly over quota (2G) but when i inspect
the /var/spool/imap/domain/ directory, there's hardly any mail - a
`du -hs` shows 500k

so --

- i rebooted the machine and did an e2fsc on the /var partition -- no
problems
- create a shell script and did a reconstruct -rG on all the boxes

but, i'm still seeing an erroneous quota report ...

this is a pretty small setup -- about 16G of mail with  everyone gone at
night -- is there something that i can run to really rebuild the entire
mail store?

thanks

m

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 2.4.16 strangeness on centos-5x64

2012-10-25 Thread Dan White
On 10/25/12 18:32 +0200, mayak-cq wrote:
>hi all,
>
>i have centos5-x64 box running cyrus 2.4.16 ...
>
>i have several user that have experienced their mail showing up in other
>users boxes -- a...@domain.com mail arrives in b...@domain.com box.

Check your mail logs. See if this is an issue where the message envelope
mismatched the message headers, which is common with spam messages, and
with BCC'd recipients.

>wow.
>
>then, i noticed that the quota report was showing an account as being
>nearly over quota (2G) but when i inspect
>the /var/spool/imap/domain/ directory, there's hardly any mail - a
>`du -hs` shows 500k
>
>so --
>
>- i rebooted the machine and did an e2fsc on the /var partition -- no
>problems
>- create a shell script and did a reconstruct -rG on all the boxes
>
>but, i'm still seeing an erroneous quota report ...
>
>this is a pretty small setup -- about 16G of mail with  everyone gone at
>night -- is there something that i can run to really rebuild the entire
>mail store?

Use cyrus's quota utility to fix quota usage. reconstruct does not do so.

-- 
Dan White

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Updating a mailbox to shared-seen-mode?

2012-10-25 Thread Robert Linden
Hello!

I'm a bit confused about the shared seen-flag. My situation is like
this:

- I have an old mailbox with messages.
- All messages have already been seen by the owner.
- Now I grant other, new users read-access (r) to the mailbox.
- For these users, all messages appear as unseen.

Up to this point everything is perfectly normal :-) Now I would like to
switch the mailbox to a shared seen flag. I tried it like this:

. setannotation "user/r.lin...@tarent.de" "/vendor/cmu/cyrus-imapd/sharedseen" 
("value.shared" "true")
. OK Completed

(First question: is that equivalent to "mboxcfg user/r.lin...@tarent.de 
sharedseen true"
in cyradmin? I did that too and it gave no response/error. And the "info" 
command tells
me that at least one of the two ways was successful: "sharedseen: true")

My expectation was, that then all users would see the same seen-flag
that the mailbox owner sees, i.e. all messages would be "seen" for everyone,
because they have all been seen by the owner.

But instead, the non-owner-users still see the messages as unseen.
Even new messages, received and read (by the owner), after the
sharedseen has supposedly been activated, appear as seen only to the owner,
and unseen to everybody else. The sessions, which have read the messages,
have already been logged out again, so it should not be a matter of the 
seen-state not having been flushed (I have flushseenstate at the default 0).

My expectaion is based on how I understood Bron's explanation here:
http://www.mentby.com/Group/info-cyrus/migration-and-seen-flag.html

But maybe that only applies to 2.4.?
http://www.mentby.com/Group/info-cyrus/shared-seen-flags-on-shared-folders.html

I have version 2.3.14. The changelog says that shared seen flag ist possible
since 2.3.9 (and obviously my version does support it, just not the way I
expected):
http://cyrusimap.web.cmu.edu/docs/cyrus-imapd/2.4.0/changes.php

And how does all that relate to the "Owner Seen", which is listed as a
"Future Idea" here?
http://cyrusimap.web.cmu.edu/mediawiki/index.php/Future_Ideas
Is that how 2.4. works? But is it only a question of performance, or a
visible change in behaviour?

Can someone please tell me what I am missing or doing wrong? I would like
everybody to see the same seen flag as the owner, while only the owner should
be able to _set_ the seen flag (for that I guess I only need to _not_ grant
the s-right to anybody else?).

Thanks for reading this long mail and thanks a lot in advance for any hints,
rob

-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-313 • Fax: +49 228 54881-314
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: process ctl_mboxlist -r hung

2012-10-25 Thread Dan White
On 10/25/12 13:59 +0200, Ana B. Diez wrote:
>Hi all,
>
>I've been using Cyrus-imap 2.0.16.
>I've seen that there are two process "ctl_mboxlist -r" running along 30 days 
>and they consume a lot of CPU.
>Is this an anomaly?
>The imap service it's ok but a little slow.
>
>Is it advisable to kill them and restart the service?

ctl_mboxlist -r was documented int 2.0.x as to 'Recover the database after
an application or system failure.', but has since been removed from cyrus.

I would suspect that ctl_mboxlist -r is being started via the START or
EVENTS section of your cyrus.conf, and was designed to run for a short time
to fix any db corruption and then exit.

Before killing it, try to get a safe backup of your mailbox list with
'mboxlist -d'. You may also wish to try checkpointing your database with
'mboxlist -c'.

You will also possibly need to reconstruct a corrupt mailbox, if you know
which one is causing your ctl_mboxlist to spin.

-- 
Dan White

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Problems posting to lists

2012-10-25 Thread Rodrigo Abrantes Antunes

Hi, I'm using mailman to post to a list but some users don't receive the
messages, when I post to the list I see this in mail.log for one of the
members of the list that didn't receive the message:

 Oct 25 08:15:31 srv-mail-pel postfix/smtp[5685]: 243872924C:
to=, relay=127.0.0.1[127.0.0.1]:10023,
conn_use=10, delay=0.83, delays=0.16/0.47/0/0.21, dsn=2.0.0, status=sent
(250 2.0.0 Ok, id=04503-16-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok:
queued as CDC1B291F8)
 Oct 25 08:17:27 srv-mail-pel cyrus/lmtp[13074]: duplicate_mark:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
.vladimir+@.sieve.   1351160247 0
 Oct 25 08:17:27 srv-mail-pel postfix/pipe[5695]: CDC1B291F8:
to=, relay=cyrus, delay=115,
delays=0.04/92/0/23, dsn=2.0.0, status=sent (delivered via cyrus service)

 And this for one of the members of the list that received the message:

 Oct 25 08:15:30 srv-mail-pel postfix/smtp[5459]: B4E2429275:
to=, relay=127.0.0.1[127.0.0.1]:10023,
conn_use=2, delay=0.49, delays=0.19/0.01/0/0.29, dsn=2.0.0, status=sent
(250 2.0.0 Ok, id=04730-12-2, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok:
queued as 1BEFD292E1)
 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_check:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
user.rodrigoantunes  0
 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_check:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
user.rodrigoantunes  0
 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_mark:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
user.rodrigoantunes  1351160369 14881517650057856560
 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: Delivered:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
to mailbox: user.rodrigoantunes
 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_mark:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
.rodrigoantunes+@.sieve. 1351160369 0
 Oct 25 08:19:29 srv-mail-pel postfix/pipe[5469]: 1BEFD292E1:
to=, relay=cyrus, delay=239,
delays=0.1/215/0/24, dsn=2.0.0, status=sent (delivered via cyrus service)
 Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: duplicate_check:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
user.rodrigoantunes  1351160369
 Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: dupelim: eliminated
duplicate message to user.rodrigoantunes id
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
(delivery)
 Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: duplicate_mark:
<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
.rodrigoantunes+@.sieve. 1351160433 0

 Here is what mailman's people said:

 "This message was delivered from Mailman to Postfix and then delivered by
Postfix to Cyrus, possibly because this was to a local user and Cyrus is
acting as the LDA, or possibly for some other reason, but in any case, if
the mail wasn't delivered to the user, this is a question for Cyrus."

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Problems posting to lists

2012-10-25 Thread Dan White
On 10/25/12 16:46 -0200, Rodrigo Abrantes Antunes wrote:
>Hi, I'm using mailman to post to a list but some users don't receive the
>messages, when I post to the list I see this in mail.log for one of the
>members of the list that didn't receive the message:
>
> Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: dupelim: eliminated
>duplicate message to user.rodrigoantunes id
><20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
>(delivery)
> Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: duplicate_mark:
><20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>
>.rodrigoantunes+@.sieve. 1351160433 0
>
> Here is what mailman's people said:
>
> "This message was delivered from Mailman to Postfix and then delivered by
>Postfix to Cyrus, possibly because this was to a local user and Cyrus is
>acting as the LDA, or possibly for some other reason, but in any case, if
>the mail wasn't delivered to the user, this is a question for Cyrus."

The log entry above is a message from cyrus reporting that it failed to
deliver a message because it considered it a duplicate message. You could
temporarily disable duplicatesuppression to see if that's the issue.

-- 
Dan White

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Updating a mailbox to shared-seen-mode?

2012-10-25 Thread Bron Gondwana
On Thu, Oct 25, 2012, at 08:20 PM, Robert Linden wrote:
> My expectation was, that then all users would see the same seen-flag
> that the mailbox owner sees, i.e. all messages would be "seen" for everyone,
> because they have all been seen by the owner.

Sorry, in 2.3 the "shared" seen flag is stored in the "anyone.seen" database, 
so you lose all seen data when switching.

In 2.4, shared seen is the same as the owner's seen when you switch, which IMHO 
makes much mores sense.

Unfortunately, we're not going to backport that behaviour to 2.3.  It was a 
very invasive change to how mailboxes work.  Sorry.

Bron.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Problems posting to lists

2012-10-25 Thread Rodrigo Abrantes Antunes

Citando Dan White :
On 10/25/12 16:46 -0200, Rodrigo Abrantes Antunes wrote:  > Hi, I'm  
using mailman to post to a list but some users don't receive the

   messages, when I post to the list I see this in mail.log for one of the
   members of the list that didn't receive the message:

   Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: dupelim: eliminated
   duplicate message to user.rodrigoantunes id

<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>

   (delivery)
   Oct 25 08:20:33 srv-mail-pel cyrus/lmtp[14548]: duplicate_mark:

<20121025081521.horde.nwzihuv4cn9qire5ncoz...@webmail.pelotas.ifsul.edu.br>

.rodrigoantunes+@.sieve. 1351160433 0

   Here is what mailman's people said:

   "This message was delivered from Mailman to Postfix and then delivered by
   Postfix to Cyrus, possibly because this was to a local user and Cyrus is
   acting as the LDA, or possibly for some other reason, but in any case, if
   the mail wasn't delivered to the user, this is a question for Cyrus."

  The log entry above is a message from cyrus reporting that it failed to
  deliver a message because it considered it a duplicate message. You could
  temporarily disable duplicatesuppression to see if that's the issue.

  -- Dan White


But that user received the message, the one that didn't received was the
one in the 3 lines of the first log (vladimir). It seems that it mark as
duplicate but don't deliver and don't eliminate. I will try to disable
duplicate supression but there isn't any other message with the same
message id rellated to this user, so it's not duplicated.

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 2.4.16 strangeness on centos-5x64

2012-10-25 Thread mayak-cq
hi dan

On Thu, 2012-10-25 at 13:11 -0500, Dan White wrote:

> On 10/25/12 18:32 +0200, mayak-cq wrote:
> >hi all,
> >
> >i have centos5-x64 box running cyrus 2.4.16 ...
> >
> >i have several user that have experienced their mail showing up in other
> >users boxes -- a...@domain.com mail arrives in b...@domain.com box.
> 
> Check your mail logs. See if this is an issue where the message envelope
> mismatched the message headers, which is common with spam messages, and
> with BCC'd recipients.

these were real mails -- that is -- coming from known clients -- i'll be
curious to hear if this happens again after rebuilding the db's


> 
> >wow.
> >
> >then, i noticed that the quota report was showing an account as being
> >nearly over quota (2G) but when i inspect
> >the /var/spool/imap/domain/ directory, there's hardly any mail - a
> >`du -hs` shows 500k
> >
> >so --
> >
> >- i rebooted the machine and did an e2fsc on the /var partition -- no
> >problems
> >- create a shell script and did a reconstruct -rG on all the boxes
> >
> >but, i'm still seeing an erroneous quota report ...
> >
> >this is a pretty small setup -- about 16G of mail with  everyone gone at
> >night -- is there something that i can run to really rebuild the entire
> >mail store?
> 
> Use cyrus's quota utility to fix quota usage. reconstruct does not do so.

ah -- thanks -- i missed the -f


worked like a champ

thanks

m




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

2.4.17?

2012-10-25 Thread Jan Schneider
Hi,

it's been half a year since the last release and there has been a good  
bunch of bug fixes since then. Is a new release planned already?

Jan.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus