Mailbox is locked by POP server

2006-12-14 Thread Martin Schiøtz

Hi

I'm using cyrus-imapd-2.3.1-2.6. I sometimes get this pop3 error. The
user can login but not receive mails. I get the error for different
pop3 users. Can somebody help?

Dec  3 20:13:57 BlackPete pop3[15503]: login:
0x50a33597.unknown.tele.dk [80.163.53.151] 20ba plaintext User
logged in
Dec  3 20:13:57 BlackPete pop3[15503]: Unable to lock maildrop
user.20ba: Mailbox is locked by POP server

- Martin

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: Installtion error - cyrusdb_berkeley structure has no member named `set_lk_max'

2006-12-14 Thread Oliver Falk

Hi Chaskiel!

Am 2006-12-12 20:06, Chaskiel M Grundman schrieb:
--On Tuesday, December 12, 2006 02:12:41 PM +0530 Pubudu Premachandra 
[EMAIL PROTECTED] wrote:



cyrusdb_berkeley.c:176: error: structure has no member named `set_lk_max'


set_lk_max has been deprecated since DB 4.0. I guess it was finally 
removed.


The following patch may be used to work around this:

[ ... ]

Or you can downgrade to DB 4.3 (I don't know if 4.4 will work or not)


I'm trying to rebuild my Cyrus IMAP rpm packge for 'Fedora Development'. 
 Fedora just updated DB4 to 4.5.20. The above patch will - I expect, 
because the error with set_lk_max is the same - be needed for 4.5.20 as 
well. However; I just wanted to know if anyone has experience with DB 
4.5 already or not!? If not with 4.4 I don't think anyone tried 4.5!?


Best,
 Oliver

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: Installtion error - cyrusdb_berkeley structure has no member named `set_lk_max'

2006-12-14 Thread Oliver Falk

Am 2006-12-14 12:38, Oliver Falk schrieb:

Hi Chaskiel!

Am 2006-12-12 20:06, Chaskiel M Grundman schrieb:
--On Tuesday, December 12, 2006 02:12:41 PM +0530 Pubudu Premachandra 
[EMAIL PROTECTED] wrote:


cyrusdb_berkeley.c:176: error: structure has no member named 
`set_lk_max'


set_lk_max has been deprecated since DB 4.0. I guess it was finally 
removed.


The following patch may be used to work around this:

[ ... ]

Or you can downgrade to DB 4.3 (I don't know if 4.4 will work or not)


I'm trying to rebuild my Cyrus IMAP rpm packge for 'Fedora Development'. 
 Fedora just updated DB4 to 4.5.20. The above patch will - I expect, 
because the error with set_lk_max is the same - be needed for 4.5.20 as 
well. However; I just wanted to know if anyone has experience with DB 
4.5 already or not!? If not with 4.4 I don't think anyone tried 4.5!?


Just saw, that berkdb.m4 needs patching for db4.5:
--- cyrus-imapd-2.3.7/cmulocal/berkdb.m4.db4.5  2006-12-14 
12:59:53.0 +0100
+++ cyrus-imapd-2.3.7/cmulocal/berkdb.m42006-12-14 
12:59:59.0 +0100

@@ -213,7 +213,7 @@
fi

saved_LIBS=$LIBS
-for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 
db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 
db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
+for dbname in db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 
db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 
db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db

   do
LIBS=$saved_LIBS -l$dbname
AC_TRY_LINK([#include db.h],

-of

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: Newbie maillog errors

2006-12-14 Thread Leon Kolchinsky
 
 On Wed, 2006-12-13 at 13:54 -0500, Tom Plancon wrote:
 
  I've sort of inherited managing a cyrus 2.2.12 email server with postfix
  on a FC4 linux box. Generally things run smoothly, but I'm still getting
  up to speed and I see some errors regularly appearing in the maillog.
  The two most frequent are:
 
  Dec 13 13:16:41 pelican imap[6609]: SQUAT failed to open index file
  Dec 13 13:16:41 pelican imap[6609]: SQUAT failed
 

This will create the SQUAT index:

Add something like the following to the EVENTS section of cyrus.conf:

squat   cmd=squatter -r user at=0300

This will run the given command at 3am every day.

Or

run the following script as a cronjob every night:
#!/bin/bash
su - cyrus -c /usr/lib/cyrus/bin/squatter -r user/*

  And
 
  Dec 13 13:18:14 pelican lmtpunix[6857]: IOERROR: fstating sieve script
  /var/lib/imap/sieve/x/xuser/defaultbc: No such file or directory
 

This is not an error AFAIK, it just saying you don't have default sieve
script at user directory.


 Result of debug level logging in your syslog.conf
 Decrease it to info.
 
 MJ
 



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: cyrus replication question

2006-12-14 Thread stas khromoy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

still battling with replication :)

i've noticed that for only one
of the users
i get the following error

Error from do_user(-l): bailing out!

in the list archives i found some one with a similar issue
(at least is sounded like it)

the advice was to to reconstruct the mailbox
but on which machine - master or replica ?

also i don't see that error in the logs
it comes as output of sync_client -l -v -u (user list)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRYFisdbpM15f9s9nAQLLKQP+LZKXIPDkTr+GPKWjNxZxQMU/jco9xNxU
aALb+Xsh04Fhu6IovI4rXLOHBc7m46kTI/2SHqhlTtdFcVxJYfp/sPFxSJncnPjd
ECDDfeYte1Yj+jUO12yzUze8YWIPEZnUEnAE+ia4TK97C9oP//r/XRRzCt9E1XqA
CNyoZxDQNzE=
=8hR2
-END PGP SIGNATURE-

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: cyrus replication question

2006-12-14 Thread stas khromoy



still battling with replication :)

i've noticed that for only one
of the users
i get the following error

Error from do_user(-l): bailing out!

in the list archives i found some one with a similar issue
(at least is sounded like it)

the advice was to to reconstruct the mailbox
but on which machine - master or replica ?

also i don't see that error in the logs
it comes as output of sync_client -l -v -u (user list)


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: cyrus replication question

2006-12-14 Thread Wesley Craig

On 14 Dec 2006, at 09:41, stas khromoy wrote:

i've noticed that for only one
of the users
i get the following error

Error from do_user(-l): bailing out!

in the list archives i found some one with a similar issue
(at least is sounded like it)


That's the error that you'd get from sync_client.  Probably a more  
detailed error is in syslog, and even more detail is likely to be  
available from sync_server on the replica.



the advice was to to reconstruct the mailbox
but on which machine - master or replica ?


reconstruct on the master.  Probably I'd run sync_reset on the user  
in question on the replica as well.  Then sync_client -u again.


:wes


also i don't see that error in the logs
it comes as output of sync_client -l -v -u (user list)


The error in the logs is probably more detailed, something like  
server responded with NO etc.


:wes

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


Outlook Express and IMAP connections - thousands of them?

2006-12-14 Thread Anthony Tibbs

Hi everyone,

I've been using Outlook Express with Cyrus now for several years (since 
2002), have set it up on many different computers, and have never run into 
this before.  I have one user who is also using OE, and their OE is doing 
something very strange - it's disconnecting and reconnecting for every 
folder it checks, leading to (litreally) thousands of lines a day indicating 
a new login:


Dec 14 12:02:25 polaris imap[26772]: login: clientHost [69.xxx.xxx.xxx] 
user@tibbs.ca plaintext User logged in
Dec 14 12:02:25 polaris imap[26170]: login: clientHost [69.xxx.xxx.xxx] 
user@tibbs.ca plaintext User logged in
Dec 14 12:02:26 polaris imap[26170]: login: clientHost [69.xxx.xxx.xxx] 
user@tibbs.ca plaintext User logged in
Dec 14 12:02:26 polaris imap[26772]: login: clientHost [69.xxx.xxx.xxx] 
user@tibbs.ca plaintext User logged in
Dec 14 12:02:27 polaris imap[26772]: login: clientHost [69.xxx.xxx.xxx] 
user@tibbs.ca plaintext User logged in


... and so on.  Looking at the telemetry logs, there doesn't seem to be 
anything unusual, or any errors or anything (see below).


Is there a setting somewhre that I don't know aobut that would affect this?


-- user@tibbs.ca Thu Dec 14 12:07:03 2006

1166116023he0o OK User logged in

1166116023dmip IDLE

1166116023+ idling

1166116023DONE

1166116023dmip OK Completed

1166116023ld73 SELECT INBOX.Guidedog-Friends

1166116023* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1164770668]
* OK [UIDNEXT 1]
ld73 OK [READ-WRITE] Completed
1166116023mqu8 IDLE

1166116023+ idling

1166116023DONE

1166116023mqu8 OK Completed

1166116024kd8l NOOP


1166116024kd8l OK Completed

1166116024dyyb IDLE

1166116024+ idling


-- user@tibbs.ca Thu Dec 14 12:07:04 2006

1166116024136z OK User logged in

1166116024nh4o IDLE

1166116024+ idling

1166116024DONE

1166116024nh4o OK Completed

1166116024lwev SELECT INBOX.LJ

1166116024* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 10 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1164770606]
* OK [UIDNEXT 16]
lwev OK [READ-WRITE] Completed
1166116024xj4l IDLE

1166116024+ idling


-- user@tibbs.ca Thu Dec 14 12:07:05 2006

1166116025gvti OK User logged in

11661160258fw3 IDLE

1166116025+ idling

.. and so on.



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


Global Sieve Script

2006-12-14 Thread Federico Sevilla III
Hi,

I would like to create a global sieve script that will be active for
all users, regardless of the presence of a per-user sieve script or not.
This is so that all spam marked by amavis with the X-Spam-Status header
can be segregated into spam folders.

I have already created and activated a script placed in the global
namespace, but this doesn't seem to be run for all users (actually, it
doesn't seem to be run for any users).

Is my understanding of what a global script is correct? Or do global
scripts still need to be included or otherwise referenced in per-user
scripts?

If anyone has a recipe for scripts that are activated for all users
without requiring individual scripts in the users' sieve folders, please
do share this.

Thanks!

(PS- would appreciate if I can be cc'd replies)

-- 
Federico Sevilla III
F S 3 Consulting Inc.
http://www.fs3.ph

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: cyrus replication question

2006-12-14 Thread stas khromoy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thanks for all your help, wesley

i'll try this as soon as i can

there is one question that is till puzzling me thou

when it replicates, it ignores inactive folders
for some reason

i looked at the size of my imap/user folder on replica (1.9gb)
and size of the same folder on master (2.4gb)

i am sure other mailboxes have the same issue
since the size of imap/user on replica is smaller then on master

any ideas ? or is it normal
i checked all the logs i dont see anything that could hint on the
problem if there is one


by inactive folders i mean folders that u use to store emails
and don't touch often

thanks again



Wesley Craig wrote:
 On 14 Dec 2006, at 09:41, stas khromoy wrote:
 i've noticed that for only one
 of the users
 i get the following error

 Error from do_user(-l): bailing out!

 in the list archives i found some one with a similar issue
 (at least is sounded like it)
 
 That's the error that you'd get from sync_client.  Probably a more
 detailed error is in syslog, and even more detail is likely to be
 available from sync_server on the replica.
 
 the advice was to to reconstruct the mailbox
 but on which machine - master or replica ?
 
 reconstruct on the master.  Probably I'd run sync_reset on the user in
 question on the replica as well.  Then sync_client -u again.
 
 :wes
 
 also i don't see that error in the logs
 it comes as output of sync_client -l -v -u (user list)
 
 The error in the logs is probably more detailed, something like server
 responded with NO etc.
 
 :wes
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRYGbatbpM15f9s9nAQIAVwP+N2cdqdlhnhFsJdKvhqez2SvZ1KDI/HcT
2AzIdLtRiLztLr+k0aOwtO6lUXFogA/iWULDlkDyqhaHfa0v0mXzDK9fb8tJexXS
e96AtNRjwb+sVrXKvRzcMsgtMMCdEij5MIC1rLm60lTNzi1T75WC0cWQ2BkKRDbs
HVkQ4zEPXiA=
=BG0M
-END PGP SIGNATURE-

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: cyrus replication question

2006-12-14 Thread Wesley Craig

On 14 Dec 2006, at 13:43, stas khromoy wrote:

i looked at the size of my imap/user folder on replica (1.9gb)
and size of the same folder on master (2.4gb)


First, I'd try to fix the bailing out problem you're having.  Or,  
if you want to just get things closer to correct, invoke:


sync_client -v -l -u username

once for every user.  That way, when it encounters one bad user, it  
won't stop.  Of course, you may have many bad users, as well.  If  
you still have problems once all the bad users are corrected, then  
we can debug the size differences.


:wes

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


Performance in 64-bit?

2006-12-14 Thread Andrew Laurence

Hi all,

I've seen occasional conversation here regarding running Cyrus in 
64-bit mode, but is there an advantage aside from very large quotas? 
Is Cyrus known to run faster in 64-bit, for instance?


Thanks,
Andrew

--
Andrew Laurence   [EMAIL PROTECTED]
Central Computing Serviceshttp://www.nacs.uci.edu/~atlauren/
Network  Academic Computing Svcs.
University of California, Irvine

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: Global Sieve Script

2006-12-14 Thread Sebastian Hagedorn
-- Federico Sevilla III [EMAIL PROTECTED] is rumored to have mumbled on 15. 
Dezember 2006 01:44:54 +0800 regarding Global Sieve Script:



I would like to create a global sieve script that will be active for
all users, regardless of the presence of a per-user sieve script or not.


Can't be done.


I have already created and activated a script placed in the global
namespace, but this doesn't seem to be run for all users (actually, it
doesn't seem to be run for any users).

Is my understanding of what a global script is correct?


No.


Or do global
scripts still need to be included


Yes.
--
Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgpfQsMfLSaDE.pgp
Description: PGP signature

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