[Dovecot] decreasing log messages
Louis-David Mitterrand
vindex+lists-dovecot at apartia.org
Sat Apr 4 15:42:56 EEST 2009
On Fri, Apr 03, 2009 at 12:38:12PM -0400, Timo Sirainen wrote:
> On Fri, 2009-04-03 at 11:25 +0200, Louis-David Mitterrand wrote:
>
> > Since I use "/usr/sbin/dovecot --exec-mail imap" from mutt I get a lot
> > of these in my syslog:
> >
> > Apr 3 11:09:33 zenon IMAP(ldm): : Connection closed bytes=36/256
> >
> > Is it possible to suppress them while keeping the "remote users"
> > messages:
>
> Hmm. How about creating a duplicate dovecot.conf with a different
> log_info_path, perhaps pointing to /dev/null? Then dovecot -c
> dovecot-local.conf --exec-mail imap.
Good suggestion.
For a server-based solution I added the following filter to my
syslog-ng.conf:
filter f_noimapjunk {
not match("IMAP\\([-a-z]+\\): : (Disconnected: Logged out|Connection closed) bytes=");
};
--
http://www.critikart.net
More information about the dovecot
mailing list