1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem with e-mail and logrotation

Discussion in 'Plesk for Linux - 8.x and Older' started by CoenNL, Dec 2, 2008.

  1. CoenNL

    CoenNL Guest

    If we config an e-mail address at the logrotating setup in the control panel (Plesk 8.1.2), the configfile in /usr/local/psa/etc/logrotate.d/<domainname> is correctly updated with the following statement:

    mail <emailaddress>

    But if we run logrotation by hand of by cron the e-mail is never sent out by the logrotate (maillog is empty). If we do a strace on logrotate we don’t see an e-mail command in the tracé file.

    The mail command from commandline is working correctly.

    Any thoughts?
  2. AnirbanD

    AnirbanD New Pleskian

    Jun 24, 2013
    Likes Received:
    I have facing some issue on log rotation of email log.

    > We are using plesk 12.0. When we find in /usr/local/psa/var/log/ folder we have found a large file maillog. it seems that it is not rotating.
    > I have found another server, there log-rotation is successfully happening for three days (maillog, maillog.processed, maillog.processed.1.gz, maillog.processed.2.gz, maillog.processed.3.gz). Now our requirement is to increase that files store up to 1 month.

    May I have some help.