Bug#620320: cyrus-imapd-2.4: fetching user_deny.db entry for users is appearing millions of times in log files

Ondřej Surý ondrej at sury.org
Fri Apr 1 07:56:09 UTC 2011


severity 620320 wishlist
thank you

On Fri, Apr 1, 2011 at 05:54, David Hill
<reportbug_debian_nospam at binarystorm.net> wrote:
> Package: cyrus-imapd-2.4
> Version: 2.4.7-3
> Severity: normal
> Tags: experimental
>
> I think removing debug from syslog-ng isn't a solution

Why?  You can only remove logging of the mail.debug, or even use
match() or message() functionality to filter out unwanted cyrus-imapd
messages.

O.

> and since we can't turn off debugging in cyrus-imapd, commenting out this line seems a quick fix.
>
> Here is the patch:
> --- cyrus-imapd-2.4-2.4.7.orig/imap/userdeny_db.c
> +++ cyrus-imapd-2.4-2.4.7/imap/userdeny_db.c
> @@ -81,7 +81,7 @@ int userdeny(const char *user, const cha
>     if (!deny_dbopen) return 0;
>
>     /* fetch entry for user */
> -    syslog(LOG_DEBUG, "fetching user_deny.db entry for '%s'", user);
> +/*    syslog(LOG_DEBUG, "fetching user_deny.db entry for '%s'", user); */
>     do {
>    r = DENYDB->fetch(denydb, user, strlen(user), &data, &datalen, NULL);
>     } while (r == CYRUSDB_AGAIN);
>
>
>
>
>
>
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers unstable
>  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.38-rc3 (SMP w/2 CPU cores; PREEMPT)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages cyrus-imapd-2.4 depends on:
> ii  cyrus-common-2.4        2.4.7-3          Cyrus mail system - common files
> ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
> ii  libcomerr2              1.41.12-2        common error description library
> ii  libdb5.1                5.1.25-1         Berkeley v5.1 Database Libraries [
> ii  libsasl2-2              2.1.23.dfsg1-8   Cyrus SASL - authentication abstra
> ii  libssl0.9.8             0.9.8o-5         SSL shared libraries
> ii  libwrap0                7.6.q-19         Wietse Venema's TCP wrappers libra
> ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime
>
> cyrus-imapd-2.4 recommends no packages.
>
> cyrus-imapd-2.4 suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-Cyrus-imapd-Debian-devel mailing list
> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel
>



-- 
Ondřej Surý <ondrej at sury.org>





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