- Plesk for Linux
- Plesk for Windows
How to stop logs from getting sent via mail?
Sending rotated logs over mail can be found in the rotation settings of the specific domain:
Delete email from Domains > example.com > Logs > All Logs > Manage Log Files > Log Rotation > After Plesk retrieves data from log files of web and FTP servers, email the log files to this address box and press OK:
Alternatively, this can be done through the command line:
Run the following command (it's the same for both Linux and Windows running servers):
# plesk bin domain -u example.com -log-email ""
example.comhas to be changed to the affected domain.
If there are multiple domains sending unwanted log information:
Warning: for Linux servers only!
Connect to the server via SSH.
Run the following command:
# plesk bin domain -l| while read dom_name; do /usr/local/psa/bin/domain -u $dom_name -log-email ""; done