Plesk

How to change sender and mail subject of backup notifications in Plesk?

Question

How to change sender and mail subject of backup notifications in Plesk?

Answer

  1. Connect to the server using SSH or RDP.

  2. 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 " username@example.com "

    # Notification mail 'mail-reply-to' parameter
    NOTIFICATION_MAIL_REPLYTO " username@example.com "

  3. 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.