Question
How to change sender and mail subject of backup notifications in Plesk?
Answer
-
Open file
/usr/local/psa/admin/share/pmmcli/pmmcli-rc
in text editor (e.g. vi for Linux) and specify required sender:# Notification mail 'mail-from' parameter
NOTIFICATION_MAIL_FROM " [email protected] "# Notification mail 'mail-reply-to' parameter
NOTIFICATION_MAIL_REPLYTO " [email protected] " -
Specify the required mail subject in
/usr/local/psa/admin/share/pmmcli/pmmcli-rc
:# Backup task notification mail subject
NOTIFICATION_MAIL_SUBJECT_BACKUP 'Backup task notification'# Restore task notification mail subject
NOTIFICATION_MAIL_SUBJECT_RESTORE 'Restore task notification'
Note: for Windows open %plesk_dir%adminsharepmmclipmmcli-rc
file.