3.listas@adminlinux.com.br
2012-Oct-10 13:39 UTC
[Dovecot] Irrelevant information filling logs
Hi, I have a "Ubuntu10.04 + dovecot-2.0.13" configuration in my server. My mailbox server is shared by ~ 10k domains. It works fine with ~50k accounts. There is a lot of logs of "quota exceeded" like this: Oct 10 13:00:56 mailboxserver5 dovecot: lmtp(29105, user at mailboxserver5): Error: ifcIN1NxdVCxcQAAMBx7mQ: sieve: msgid=unspecified: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full) These messages are not important to me. But these messages fill the log files, damaging the display of messages that could be important. Is there a way to send specific Dovecot errors on specific files or just discard them? Thanks -- Thiago Henrique adminlinux.com.br
Am 10.10.2012 15:39, schrieb 3.listas at adminlinux.com.br:> Hi, > > I have a "Ubuntu10.04 + dovecot-2.0.13" configuration in my server. My > mailbox server is shared by ~ 10k domains. It works fine with ~50k > accounts. > > There is a lot of logs of "quota exceeded" like this: > > Oct 10 13:00:56 mailboxserver5 dovecot: lmtp(29105, > user at mailboxserver5): Error: ifcIN1NxdVCxcQAAMBx7mQ: sieve: > msgid=unspecified: failed to store into mailbox 'INBOX': Quota exceeded > (mailbox for user is full) > > These messages are not important to me. But these messages fill the log > files, damaging the display of messages that could be important. > > Is there a way to send specific Dovecot errors on specific files or just > discard them? > > Thanks > -- > Thiago Henrique > adminlinux.com.brno sure if you can disable this notice without loosing other wanted ones by dovecot log settings if using rsyslog you can do it with discard action http://www.rsyslog.com/discarding-unwanted-messages/ -- Best Regards MfG Robert Schetterer
On Wed, 10 Oct 2012 10:39:27 -0300, 3.listas at adminlinux.com.br said:> Hi, > > I have a "Ubuntu10.04 + dovecot-2.0.13" configuration in my server. > My mailbox server is shared by ~ 10k domains. It works fine with ~50k > accounts. > > There is a lot of logs of "quota exceeded" like this: > > Oct 10 13:00:56 mailboxserver5 dovecot: lmtp(29105, > user at mailboxserver5): Error: ifcIN1NxdVCxcQAAMBx7mQ: sieve: > msgid=unspecified: failed to store into mailbox 'INBOX': Quota > exceeded (mailbox for user is full) > > These messages are not important to me. But these messages fill the > log files, damaging the display of messages that could be important. > > Is there a way to send specific Dovecot errors on specific files or > just discard them?If all else fails, you could cat the log through a grep -v to filter out the quota exceeded messages, and then pipe it to less for viewing. SteveT Steve Litt * http://www.troubleshooters.com/ * http://twitter.com/stevelitt Troubleshooting Training * Human Performance
On 10/10/2012 8:39 AM, 3.listas at adminlinux.com.br wrote:> > Is there a way to send specific Dovecot errors on specific files or > just discard them?syslog/rsyslog filters are the best method, in my opinion. This would allow you to filter to another file or discard things you aren't interested in all together. I personally like quota messages in another logfile. Then I can tail the file with a script and issue changes so that the MTA servers reject emails to that user instead of trying to deliver, then periodically check quotas for users we currently block to determine when it is okay to accept emails again. It really lowers the bounces on the MTA servers. Jack
On 10.10.2012, at 16.39, 3.listas at adminlinux.com.br wrote:> I have a "Ubuntu10.04 + dovecot-2.0.13" configuration in my server. My mailbox server is shared by ~ 10k domains. It works fine with ~50k accounts. > > There is a lot of logs of "quota exceeded" like this: > > Oct 10 13:00:56 mailboxserver5 dovecot: lmtp(29105, user at mailboxserver5): Error: ifcIN1NxdVCxcQAAMBx7mQ: sieve: msgid=unspecified: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full) > > These messages are not important to me. But these messages fill the log files, damaging the display of messages that could be important. > > Is there a way to send specific Dovecot errors on specific files or just discard them?Upgrade to v2.1, they are logged with info level there. (I think v2.0 also logs them with info level if you don't use Sieve.)