3 Apr
2015
3 Apr
'15
8:58 p.m.
I am trying to monitor with Nagios that my phones are consistently checking into dovecot via IMAP. I used to be able to parse syslog for imap-login messages. I have since updated my phones, the phoness email client (k9-mail) and dovecot. Now the imap-login messages are few and far between. However, I can clearly see via tcpdump that some traffic is happening when I click refresh on k9. I enabled "rawlog" support in dovecot, but it doesn't seem to write to disc frequently enough.
- Does anyone have a better suggestion for how to monitor that my phone is checking in regularly?
- Is there a flush-to-disk capability for rawlog in dovecot?
- Also, when you have imap_zlib plugin enabled, the rawlog logs the raw compressed data instead of the decompressed IMAP commands. Is this an oversight?
(FYI: k9 is calling SELECT "INBOX" on refresh)
Thanks, G H