[Dovecot] Logs when moving mails
Hi,
I have a problem with an older mailserver. We have an account where 10 Users use one IMAP Account to manage their work. Sometimes some of the emails seem to disappear. I think they are moved somewhere but I can´t tell it for sure.
Is there a way to make dovecot logging any movement of emails (I would prefer doing it only for one account). This account is not a local user.
Thanks for your help,
Chris
mailserver:~ # dovecot --version
1.0.3
mailserver:~ # dovecot -n
# 1.0.3: /etc/dovecot/dovecot.conf
protocols: imap imaps pop3 pop3s
ssl_cert_file: /etc/exim/mailserver.cert.pem
ssl_key_file: /etc/exim/mailserver.key.pem
ssl_verify_client_cert: yes
disable_plaintext_auth: no
shutdown_clients: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
verbose_proctitle: yes
maildir_copy_with_hardlinks: yes
maildir_copy_preserve_filename: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/modules/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
username_translation: %@
master_user_separator: *
passdb:
driver: passwd-file
args: /etc/dovecot/passwd.masterusers
pass: yes
master: yes
passdb:
driver: checkpassword
args: /etc/dovecot/checkpassword
userdb:
driver: prefetch
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
group: mail
mailserver:~ #
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 28 Feb 2013, Christian Forjahn wrote:
I have a problem with an older mailserver. We have an account where 10 Users use one IMAP Account to manage their work. Sometimes some of the emails seem to disappear. I think they are moved somewhere but I can´t tell it for sure.
Is there a way to make dovecot logging any movement of emails (I would prefer doing it only for one account). This account is not a local user.
For all users use:
protocol imap {
mail_plugins = ... mail_log ...
}
Maybe you can use your userdb to override this setting: http://wiki1.dovecot.org/UserDatabase/ExtraFields
Otherwise: recompile the plugin and hardcode the user :-)
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUS9bPl3r2wJMiz2NAQJvdAf/WH2MyBSqBJcVelpGVGzngzwz9qyGRFHc X4NWjEHraqnIFpq70wlbv6eM5yO4MlCY5uEPHkIE9ZkuikaLuFNwSfjou0APa2hJ TrdSNSPNVgQWP1949VxZoUzNE7gztjWQ49dgBLXvcgVIMEZgtA88o3ZnYGmS+BCG taqv2w7OyKzfPjKJK65wiZTM/IaVrmwMRwFVV1b70kaWhU5LXUsWaq4rBD0PY2Ps CJ8aKQ5uSAdWhJtDeobjEJI2xst+iNhUJQstmUI3D1BbLdJLC0fIYqDjTRoHj1Xi FsiMMFVQqx7Rbvr4DJGdrBZgetv+fvuwaHTXRHr7pgzt4f3e7/L0IQ== =Ho8i -----END PGP SIGNATURE-----
participants (2)
-
Christian Forjahn
-
Steffen Kaiser