• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem with e-mail and logrotation

C

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?
 
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.
 
Back
Top