Increase number of maillog files

Discussion in 'Plesk Automation Suggestions and Feedback' started by SteveITS, Jun 20, 2016.

  1. SteveITS

    SteveITS Tera Poster

    Messages:
    277
    Is there a way to increase the number of maillog files in /usr/local/psa/var/log? Occasionally we have requests to find if an email was delivered from more than 3-4 days ago.
     
  2. JustinSoul

    JustinSoul Odin Team

    Messages:
    45
    Hello Steve,

    You can change the value `rotate 3` (keep 3 files) in section:

    /usr/local/psa/var/log/maillog.processed {
    missingok
    rotate 3
    size 10M
    compress
    nocreate
    }

    at `/usr/local/psa/etc/logrotate.conf` on mail service node.
     
  3. SteveITS

    SteveITS Tera Poster

    Messages:
    277
    Thanks!
     

Share This Page