P pauls1919 New Pleskian Jul 28, 2022 #1 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?
My client is complaining about mails being deleted after 14 days. Can i see on some logs what ip or device deletes mails?
M Maarten Golden Pleskian Plesk Guru Jul 28, 2022 #2 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.
P pauls1919 New Pleskian Aug 2, 2022 #3 maartenv said: 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. Click to expand... 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.
maartenv said: 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. Click to expand... 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.
Monty Silver Pleskian Plesk Guru Aug 2, 2022 #4 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: Mail logger plugin — Dovecot documentation 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!
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: Mail logger plugin — Dovecot documentation 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!