optimized mode for empty maildrop...
Andrew Morgan
morgan at orst.edu
Fri Aug 24 15:41:55 EDT 2012
On Fri, 24 Aug 2012, Ron Vachiyer wrote:
> Hello,
>
> I just installed a 2.3 system, and am looking to decrease the syslog
> verbosity. This system has mostly POP accounts, and the log message
> "optimized mode for empty maildrop" is all the eye can see, hundreds of
> them per minute. Is there a way to limit the logging to
> success/fail/delivered and reduce the rest?
Here is the code that prints that message:
else if (config_getswitch(IMAPOPT_STATUSCACHE) &&
!(r = statuscache_lookup(inboxname, userid, STATUS_MESSAGES, &scdata)) &&
!scdata.messages) {
/* local mailbox (empty) -- don't bother opening the mailbox */
syslog(LOG_INFO, "optimized mode for empty maildrop: %s", popd_userid);
proc_register("pop3d", popd_clienthost, popd_userid, inboxname);
}
I suppose you could turn off the statuscache (statuscache:0 in
imapd.conf). If you are compiling from src, you could certainly change
"LOG_INFO" to "LOG_DEBUG" and recompile.
Andy
More information about the Info-cyrus
mailing list