Regenerating the Sendmail Configuration File after an Upgrade

To retain any customizations made to the file, Parallels Pro Control Panel does not regenerate the Sendmail configuration file after an upgrade. To take advantage of new service features or security fixes, you might need to regenerate the file manually after the upgrade.

To regenerate the file after an upgrade:

  1. Log in to the Parallels Pro Control Panel server as the root user.
  2. Back up your existing Sendmail configuration file using the following command.

    cp /etc/mail/sendmail.cf <directory>/sendmail.cf.bak
    where <directory> is the directory in which you want to copy the file.

  3. Regenerate the Sendmail configuration file by typing the following command at the prompt.

    /usr/bin/m4 /usr/lib/opcenter/sendmail/install/sendmail.mc > /etc/mail/sendmail.cf

  4. Restart the Sendmail service using the following command.

    /etc/rc.d/init.d/sendmail restart