Am Donnerstag, den 02.02.2012, 14:26 +0100 schrieb Eric Luyten:
> On Thu, February 2, 2012 2:20 pm, Marten Lehmann wrote:
> 
> > 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
> > 'u...@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?
> 
> Marten,
> 
> You could reduce the syslog logging level from .debug to .info but this will
> make you lose some other stuff too. Check whether you really need the latter.
> 

Solved it with rsyslog message filtering[1]:

###*.*;auth,authpriv.none               -/var/log/syslog
*.*;auth,authpriv.none;mail.none        -/var/log/syslog
[...]
:msg,startswith, " fetching user_deny" ~
:msg,startswith, " SQUAT failed" ~
:msg,contains, "defaultbc doesn\'t exist: No such " ~
mail.*                          -/var/log/mail.log

Ciao
Marcus

[1] http://www.rsyslog.com/doc/rsyslog_conf_filter.html


----
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

Reply via email to