Christophe Caron | 8 Feb 17:52
Picon
Gravatar

Trash removed : IOERROR

Hello

I run Centos 5.6 with Cyrus 2.3.7-12.

It seems that some Trash account folders are removed after using the 
expunged functionnality from client as Thunderbird with always the same 
users (about 10 users).

I did not find any common parameter shared by these accounts.

I get error messages with IOERROR after the Trahs removing.
    IOERROR: creating /var/spool/imap

So I have to create the Trash folder.

Any clue ?

Thanks in advance.

--

-- 

Christophe Caron  			

Station Biologique / Service Informatique et Bio-informatique
Place Georges Teissier  29680 Roscoff

Analysis and Bioinformatics for Marine Science http://abims.sb-roscoff.fr/

christophe.caron <at> sb-roscoff.fr		

(Continue reading)

David Carter | 8 Feb 17:19
Picon
Picon
Favicon

Cyrus 2.4.13 memory use

We are currently in the process of migrating from 2.3.14 (with lots
of local patches) to a fairly vanilla 2.4.13.

One small curiosity is that the memory use per IMAP session seems
to have increased dramatically. I'm looking at the output of the
Linux "free" command after buffer cache has been subtracted:

              total       used       free  shared  buffers   cached
Mem:       8239436    7206520    1032916       0  426276    4207948
-/+ buffers/cache:    2572296    5667140
                       ^^^^^^^

  2.3.14: 2572296 KBytes with 2909 IMAP sessions:  884 KBytes/session
  2.4.13: 3426388 KBytes with 1247 IMAP sessions: 2747 KBytes/session

This is moving from 32-bit SLES 10 to 64-bit SLES 11. I was expecting a 
modest increase as pointers and "unsigned long" double in size.

A 3.1 times increase is rather more than I was expecting. (I'm going to 
try running 32bit binaries on a 64 bit system to see if that makes a 
significant difference).

pmap and /proc/[pid]/smaps suggests that most of the increase is in the 
heap segment which is used by malloc() and the brk() system call.

It looks like 3000 IMAP sessions are going to take around 8 GBytes of RAM 
just to run, and we will need to buy additional RAM for buffer cache. This 
isn't the end of the world: memory is cheap. I'm just curious if anyone 
else saw a similar increase when upgrading from 2.3 to 2.4.

(Continue reading)

Picon

total space = (used quota) + (to be expunged)?

Hello
After reading some archived list msg [1], and database formats doc (quotas 
topic)[2], I realized that there is not a "high level" cyrus command to display 
total disk/partition space actually used at a Cyrus imap backend.
In order to get exact (approximated when single instance store is enabled) to be 
expunged messages space should a du / df be used ?

df_used_blocks - used_quota = space_to_be_expunged

Is there a better approach (more exact, faster, lower system load)?
What is the correct way to account for the single instance store effect?
df or du -L ?
(du -L)-(du)?

At big partitions (with millions of messages) du may cause a high disk load...
Suggestions?

Regards
Andre Felipe

[1] http://lists.andrew.cmu.edu/pipermail/info-cyrus/2006-November/024314.html
[2] http://cyrusimap.org/docs/cyrus-imapd/2.4.13/internal/database-formats.php

[a] http://www.techforce.com.br/news/linux_blog/cyrus_murder_aggregator_2_3_16_debia
n_lenny_tutorial
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
(Continue reading)

gavin.gray | 3 Feb 13:14
Picon
Picon
Gravatar

lmtpd processes 'hanging'

Hi there
        We are runnning cyrus 2.3.15 in a murder set up. We have recently 
started having intermittent problems with mail delivery to the backends.

Every so often the lmtpd processes on each of the backends stop doing 
anything and a mail queue begins to build up on out lmtp server. After 
around five minutes or so everything bursts back into life with the lmtpd 
processes on the backends and the queue on the lmtp server drains.

We can't figure out why this is happening.

If anyone has any ideas they would be greatly appreciated

During working hours we usually have around 3000 imapd processes per 
backend and normally deliver a few hundred messages per minute.

We have three identical backend servers. One of them has become buisier in 
terms of active users ie larger mail store, larger deliverdb. We use 
berkley db for the cyrus databases.

regards,

Gavin Gray
Edinburgh University Information Services
Rm 2013 JCMB
Kings Buildings
Edinburgh
EH9 3JZ
UK
tel +44 (0)131 650 5987
(Continue reading)

Marten Lehmann | 2 Feb 14:20
Picon

fetching user_deny.db entry for ...

Hello,

since my upgrade from cyrus-imapd 2.3.x to 2.4.x mail maillog gets 
cluttered by entries like this:

Feb  2 14:18:07 g112 cyrus/imap[16836]: fetching user_deny.db entry for 
'user <at> mailbox.com'

I have absoletely no use for this user_deny.db stuff. Before I created 
an empty user_deny.db I got IOERRORs with "No such file or directory", 
now that it exists, now I get these useless logs. How can I disable this 
entirely? Or how can I disable logging of it?

Kind regards
Marten
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Picon
Gravatar

Problem recover replica

Hello,

I'm trying to implement a master-replica cyrus environment and I'm getting some issue that I'm not able to resolve. The scenario is the following:

Everything is working fine between Master & Replica until Replica goes down (maintenance or whatever). Once is down, in master there are still connections and modification. If I bring up Replica the changes made during the "blackout" are no fully transmitted to it. Some of the are transmitted, but not all.

Which is the best way to resincronize the missing parts to Replica?
I was wordering to rsync imap folders (/var/spool/imap & /var/lib/imap), and It works fine in my test environment, but in produccion it could be GB to sincronize and I think this is not optimum.
Other option was "sync_client -l -u <all_user>" but I'm guessing that in production I will have the same problem due to the amount of data to sincronize.

On the other hand, I have also doubts about how "sync_client -r" and "sync_server" are initiated. In my test machines I should run manually them each time I start cyrus-imapd, I though that it could be automatic one I start the service cyrus-imapd, but it is not.

Thanks & Regards.

Manel Gimeno Zaragoza
magiza83 <at> hotmail.com
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
Matteo Cazzador | 1 Feb 17:59
Picon
Gravatar

replication features for remote server locations

Hello' i've a question about cyrus replication system,
i need to syncronize "real time"  3 imap servers  (mailbox and
relative mail flags etc etc) in different geographic locations.
Every server have the same users.
Is it possible using replication system to do it?
Is it possible to consulting mail over one of these servers (not
concurrently by the same user) or the slave server are only
backup (or disaster recovery) servers in replication solution?
Thank's a lot.

--

-- 
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.
******************************************
Ing. Matteo Cazzador
Email: mcazzador <at> gmail.com
******************************************
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Matteo Cazzador | 31 Jan 16:29
Picon
Gravatar

imap cluster example

Hello, i'm using postfix smtp server, i need to choose an imap
server with a special features.

I have a customer with 3 different geographic locations.

Every locations have a mail server for the same domain (example.com).

If user1 <at> example.com receive mail form external this mail going on
every locations server.

I've a problem now, is it possible to syncronize the state (mail flag, delete)
of user1 imap folder mails on every mail locations server?

Example, if user1 read a mail on server one is it possible to change
flag of the same mail file on server 2 and server 3?

Is it possible to use aggregator  for it?

I need something like imap cluster.

Or an action in post processing imap mail read.

I can't use distribuited file system.

Thank's a lot

--

-- 
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.
******************************************
Ing. Matteo Cazzador
Email: mcazzador <at> gmail.com
******************************************
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Pascal Gienger | 30 Jan 12:57
Picon
Favicon

Missing folders after upgrade from 2.3.16 to 2.4.13

We had a strange issue, and it has to do with spaces in mailbox names.

Mailboxes are on disk, they are encoded, but they don't get counted on 
ctl_mboxlist -d or doing a LIST or LSUB.

After copying the mailbox tree to another one and changing the spaces to 
"_" and doing reconstruct (so that it finds the "new" mailboxes) all is 
well. Doing the same without replacing the Spaces with "_" the effect is 
the same: reconstruct finds all new mailboxes but even if they are in 
mailboxes.db they don't get listed.

Is this a bug?

--

-- 
Pascal Gienger     Jabber/XMPP/Mail: pascal.gienger <at> uni-konstanz.de
University of Konstanz, IT Services Department ("Rechenzentrum")
Building V, Room V404, Phone +49 7531 88 5048, Fax +49 7531 88 3739
G+: https://plus.google.com/114525323843315818983/
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Anthony L. Awtrey | 28 Jan 12:05
Favicon
Gravatar

Problem with folder subscriptions and LIST/LSUB

Hello,

I am running an up-to-date Debian Unstable box which recently upgraded my
cyrus imapd installation to 2.4.13. I noticed yesterday that certain
folders no longer showed up in my folder listing. I've had problems in the
past with corrupt db or text data files after upgrades, so I carefully
reviewed my installation. Everything appears to be correct and error free,
so I turned to Google.

I found someone with seemingly similar problems with subscriptions:

  http://blog.webworm.org/content/cyrus-2413-some-gotchas

I followed his advice and updated to using the new improved_mboxlist_sort
feature, but I'm not having any luck. I opened a bug report with Debian to
see if anyone else was seeing an issue:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657703

A maintainer there suggested I post this here to see if there were any
suggestions regarding what to do next.

Tony

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

Dan White | 24 Jan 02:03
Gravatar

Re: `cyradm` login & `lm` behavior with Virtual Domains

If you have 'virtdomains: userid' but you are still seeing a realm get
passed to mysql, but are not passing on in the client, then I'm guessing
you're doing DIGEST-MD5 authentication.

How DIGEST-MD5 and realms are intended to function is probably best
described in RFC 2831.

You could try using another mechanism, or just ignore the realm altogether
in your SQL statement. Depending on your configuration, you may be able to
ignore the realm altogether, and still support virtual domains.

On 01/23/12 11:03 -0800, Reg wrote:
>Hello Dan,
>
>Thanks for the reply.
>
>"virtdomains: userid" <- Yep, this is the way I have it set up.
>
>	"> See the manpage for imapd.conf, and:
>	> http://www.cyrusimap.org/docs/cyrus-imapd/2.4.13/install-virtdomains.php"
>
>Virtual domains do work, I've had it working for over a year. My question isn't "How to get it to work?", the
question is "Is the behavior I described normal?" because it seems odd and I couldn't find any documention
for some of what I saw, as I mentioned.
>
>Anyway if it's one of those unknowns I guess we'll just let it go.
>
>Thanks,
>Reg
>
>
>Monday, January 23, 2012, 9:40:45 AM, you wrote:
>
>> On 01/21/12 02:59 -0800, Reg Proctor wrote:
>>>Hi,
>
>>>I just want to confirm that logging into cyradm as I am experiencing it
>>>is normal and that lm is behaving as it should be. It seems a little
>>>unusual to me.
>
>
>>>First cyradm logging in,  here is what I am seeing:
>
>>>To log into cyradm I have to set my defaultdomain to localhost and then
>>>I can login like this:
>
>>>cyradm -u cyrus localhost
>>>pwd: xxxxxx
>
>>>However, using MySQL and setting the tracing so I can see the SQL
>>>statements I actually see this:
>
>>>SELECT AES_DECRYPT(`password`, 'xxxxxxxxxxxxx') AS password
>>>FROM `accounts`
>>>WHERE `user`='cyrus' AND `realm`='www.domain.com' AND `virtual` != 0;
>
>>>where `www.domain.com` is the fully qualified domain name (FQDN) of the
>>>server. This means in the database if the user is stored as [user:
>>>cyrus, realm: localhost], the login will fail. Instead the use has to be
>>>stored as [user: cyrus, realm: www.domain.com ], and once that change is
>>>made I can login.
>
>>>While this is trivial once you know it I couldn't find where is
>>>mentioned that that would be the behavior in the docs. Also, and perhaps
>>>more importantly, it makes the database non-portable to other servers
>>>which may cause problems with a high availability setup through multiple
>>>servers where someone is replicating a database periodically.
>
>> Do you have?
>
>> virtdomains: on
>
>> If so, try:
>
>> virtdomains: userid
>
>> See the manpage for imapd.conf, and:
>
>> http://www.cyrusimap.org/docs/cyrus-imapd/2.4.13/install-virtdomains.php
>
>> Also, some mechanisms may derive your realm from the authentication
>> exchange (digest-md5 and gssapi). I'm not clear if that realm value is
>> relevant before authentication is complete. If necessary, try explicitly
>> specifying another mechanism like plain or login (--auth).
>
>>>Second, `lm` wildcard behavior:
>
>>>With `lm`, once I am logged in this is the behavior I am seeing with
>>>wildcards:
>
>>>Works:
>>>lm
>>>lm *
>>>lm *@fulldomain
>
>>>Doesn't work:
>>>lm *@*
>>>lm *@partialdomain*
>
>>>It seems to me that if my domain was abc.com and I wanted to list all
>>>users I should be able to do so with lm *@abc* or lm *@ab* etc. however
>>>anything but the full domain will not work. Neither I guess would
>>>something like fred@* if you wanted to find all the fred's (not that I
>>>can see any reason to do that).
>
>>>I'm just wondering if this is by design or perhaps could be improved or
>>>maybe my distr. has a bug?
>
>> I don't know. Cyrus stores mailboxes internally like:
>
>> example.org!user.jsmith.Trash

--

-- 
Dan White
BTC Broadband
Ph  918.366.0248 (direct)   main: (918)366-8000
Fax 918.366.6610            email: dwhite <at> olp.net
http://www.btcbroadband.com
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Gmane