Cyrus hmh branch

Patrick Goetz pgoetz at mail.utexas.edu
Thu Oct 14 16:53:09 UTC 2010


I've been running cyrus-2.3.16-hmh on 2 production machines with minimal 
problems so far (and all the problems were related to upstream issues, 
such as the need to set "improved_mboxlist_sort: 1" in imapd.conf.  I 
think it would be OK to put them in a PPA for access by Ubuntu users (in 
that absence of being a MOTU) and am planning on doing this soon.  Then 
it's probably time to start setting up debian packages for 2.4 ....

On 08/18/2010 09:37 PM, Francis Russell wrote:
> Hi there, I just thought I'd mention that I had a go at installing and
> running the hmh branch. One thing I noticed is that it will fill the
> syslog with errors of the form:
>
> IOERROR: opening /var/lib/cyrus/user_deny.db: No such file or directory
>

I have the same problem.  Did you ask anyone on the cyrus-devel list 
about this?  I have 2 concerns:

1.
I have rsyslog configured to log all mail stuff to /var/log/mail.*; e.g.
    *.=info;*.=notice;*.=warn;\
       auth,authpriv.none;\
       cron,daemon.none;\
       mail.none,news.none     -/var/log/messages

So why is anything from cyrus being written to syslog at all?  This 
message should be going to /var/log/mail.err, as far as I can tell. 
This seems like it might be a bug.

2.
I have not been able to get an answer on how the set of database names 
cyrus uses is determined; i.e. why are /var/lib/cyrus
   annotations.db, deliver.db, mailboxes.db, and tls_sessions.db
created automatically, but not user_deny.db?  Maybe this db is only set 
up if you actually have some deny user entries?
While on the subject, I also can't determine what /var/lib/cyrus/db is 
for, or why /var/lib/cyrus/user/[a-z]/{user_name.seen, user_name.sub} 
are placed in /var/lib/cyrus rather than in the appropriate user 
directory under /var/spool/cyrus.


> Apparently, this can be quite problematic in some cases as mentioned
> here:
> http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg39304.html.
>

At least the logging seems like a bug.  Also, shouldn't this be checked 
just once per IMAP session?


> The other thing I noticed is that there are a some cyrus binary tools
> that don't seem to get installed such as cyr_df although its manpage is.
>

Can you identify what these are?  There are

   root at www:/etc# ls /usr/sbin/ctl*
   /usr/sbin/ctl_cyrusdb  /usr/sbin/ctl_deliver  /usr/sbin/ctl_mboxlist

but it is probably better to maintain continuity with the upstream 
source for these, particularly since they live in sbin rather than bin.

Also, what man pages are missing?  I haven't run into one yet.

Thanks.



-- 
Patrick Goetz



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list