• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Resolved How to find the Mail Access logs?

Craig1986

Basic Pleskian
I have a Plesk VPS, hosting 2 Domains. I am looking to be able to access the Mail Logs, for a specific Mail Box. Any ideas on where such access Logs would be stored? Ideally, I would like to access them via the VPS Interface; just like you would for the the 'Log' entries.
 
The logs are usually located in /var/logs and are named mail.log or maillog depending on your OS.
 
Thanks for your reply. I had downloaded the maillog file, from /var/log but the Logs only contain the activities from the present month. Are there settings I would need to change, in order for the maillog to contain the activities from beyond the present month?

I am not sure if this affects anything but there are similarly named files, such as 'maillog.processed' and 'maillog.processed.1.gz'.
 
Unpack the .gz files with for example
# gunzip maillog.processed.1.gz
Then look into them like
# less maillog.processed.1
and find older data in them. You can tell when the last entry in such a log file was made by checking the file date like
# ll maillog.processed.1.gz

The log retention time can be changed, if you want to collect more data:
Check /etc/logrotate.conf and /etc/logrotate.d/syslog and make the changes that you need there.
But it is not possible to restore older data that has long been rotated/deleted by a configuration change. Only for the future you can change the log rotation settings.
 
Back
Top