• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question can i see who deleted mails?

pauls1919

New Pleskian
Server operating system version
CloudLinux 8.4 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.44.3
My client is complaining about mails being deleted after 14 days. Can i see on some logs what ip or device deletes mails?
 
Most likely, your client is using POP3 to fetch the mails, and in the email client, there is a POP3 setting to delete mails after 14 days.
 
Most likely, your client is using POP3 to fetch the mails, and in the email client, there is a POP3 setting to delete mails after 14 days.
i thought about it but on what log is mentioned from what ip mails were deleted? so i can show customer that he deleted them.
 
By default, Dovecot does not log mail operations (move, delete etc.).
But it is possible to log those things using the mail logger plugin of Dovecot:

You can create your custom Dovecot configuration as explained here:
Customized Dovecot configuration file /etc/dovecot/dovecot.conf is overwritten after Plesk updates - Support Cases from Plesk Knowledge Base

Example file: /etc/dovecot/conf.d/99-custom-logging.conf:
Code:
# Enable the plugin globally for all services
mail_plugins = $mail_plugins notify mail_log

plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size from
}

Then restart or reload dovecot.

Disclaimer: Do this at your own risk!
 
Back
Top