- 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:
In Plesk, go to Domains > example.com > Logs > click the button > Manage Log Files.
Click Log Rotation.
Clear the box After Plesk retrieves data from log files of web and FTP servers, email the log files to this address and click OK:
Alternatively, this can be done via a command-line interface:
Run the following command (on Windows Server use a command prompt), replacing example.com with an actual domain name:
# plesk bin domain -u example.com -log-email ""
If there are multiple domains sending unwanted log information:
Connect to a Plesk 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
Connect to a Plesk server via RDP.
Start a command prompt as an Administrator and run the following command:
C:\> for /f %f in ('plesk bin domain -l') do @plesk bin domain -u %f -log-email ""