[Dovecot] maillog plugin issue

Ibrahim Harrani ibrahim.harrani at gmail.com
Sat May 23 15:47:44 EEST 2009


Hello,

I just installed dovecot 1.2-rc4 on FreeBSD with qmail and vpopmail. I
am using roundcube webmail to test(read,delete,move mails)

I configured mail-log plugin according to
http://wiki.dovecot.org/Plugins/MailLog
log fields:
  mail_log_fields: uid box msgid size
 This but in the log file I only that something like that.

May 23 15:37:14 IMAP(test at mydomain.com): 127.0.0.1 Info: copy: uids=7,
box=Spam, dest=Spam, size=540
May 23 15:37:14 IMAP(test at mydomain.com): 127.0.0.1 Info: delete: uids=7
May 23 15:37:14 IMAP(test at mydomain.com): 127.0.0.1 Info: expunge:
uids=7, size=540
May 23 15:37:14 IMAP(test at mydomain.com): 127.0.0.1 Info: Disconnected:
Logged out bytes=205/1558

I don't see msgid etc? Also I added flag_change to mail_log_events
and  from, subject, flags to mail_log_fields.
I don't see anything about from, subject, flags etc. I only see the
following lines.

May 23 15:05:49 mail dovecot: IMAP(test at mydomain.com): flag_change: uids=5
May 23 15:05:49 mail dovecot: IMAP(test at mydomain.com): Disconnected:
Logged out bytes=168/1027




Here is my config. Did I miss something?

dovecot -n
# 1.2.rc4: /opt/mail/imap/etc/dovecot.conf
# OS: FreeBSD 6.3-RELEASE-p9 amd64
log_path: /var/log/dovecot.log
protocols: imap pop3
ssl: no
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /opt/mail/imap/libexec/dovecot/imap-login
login_executable(imap): /opt/mail/imap/libexec/dovecot/imap-login
login_executable(pop3): /opt/mail/imap/libexec/dovecot/pop3-login
login_greeting: Welcome
first_valid_uid: 89
mail_debug: yes
mail_executable(default): /opt/mail/imap/libexec/dovecot/imap
mail_executable(imap): /opt/mail/imap/libexec/dovecot/imap
mail_executable(pop3): /opt/mail/imap/libexec/dovecot/pop3
mail_plugins(default): mail_log
mail_plugins(imap): mail_log
mail_plugins(pop3): quota mail_log
mail_plugin_dir(default): /opt/mail/imap/lib/dovecot/imap
mail_plugin_dir(imap): /opt/mail/imap/lib/dovecot/imap
mail_plugin_dir(pop3): /opt/mail/imap/lib/dovecot/pop3
mail_log_prefix: %Us(%u): %r
mail_log_max_lines_per_sec: 0
auth default:
  passdb:
    driver: vpopmail
  userdb:
    driver: passwd
  userdb:
    driver: vpopmail
plugin:
  mail_log_events: delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_group_events:
  mail_log_fields: uid box msgid size
  quota: maildir


More information about the dovecot mailing list