Re: fetching user_deny.db entry for ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marcus,

We are solving it with rsyslog filtering too, but you made it on a
much easier way. Thanks for sharing !

We create a file under the "/etc/rsyslog.d" directory like this:

if $programname == 'cyrus' and $msg contains_i 'fetching user_deny' or
($msg contains_i 'sql backend') or ($msg contains_i 'seen_db') or
($msg contains_i 'SQUAT returned') or ($ msg contains_i 'USAGE') or
($msg contains_i 'fstating sieve script') then ~

My best regards,

Fabio S. Schmidt

On 15 August 2014 10:17, Marcus Schopen <lists@xxxxxxxxxxxx> wrote:
> 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
>> > 'user@xxxxxxxxxxx'
>> >
>> >
>> > 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
----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux