OVH Servers Manager:Configuring the automatic sending of mails

From WebSoftSolus Documentation
Revision as of 20:26, 15 April 2016 by WebSoftSolus (Talk | contribs) (Text replace - "http://www.websoftsolus.com" to "https://www.websoftsolus.com")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • français


Configuring the automatic sending of mails

We will see in this tutorial how to set automatic sending of email received by OVH following a reinstallation, reboot the hardware and the Switching to Received, or WinRescue vKVM.

Redirecting emails to the module

  • You have to first create an email address on your host server (the one on which one is your WHMCS install), example:
User: OVH-user
Email address: ovh@yourdomain.com
  • It must then redirect all emails received by the address to the module:
  • Connect with SSH or SFTP to your server and open the file "/etc/aliases" with your favorite editor (nano, vim etc. ..)
  • Add the following line:
ovh-user: "| php-q /YOURWHMCSFOLDER/modules/addons/ovh/pipe.php"

You can add an emergency address by separating with a comma like this:

ovh-user: "| php-q /YOURWHMCSFOLDER/modules/addons/ovh/pipe.php",recue@yourdomain.com
  • Save changes.
  • Run the command:/usr/bin/newaliases


Here now all emails sent to ovh@yourdomain.com will be redirected to the module.


Configuring email templates

Go to Configuration >> Modules Addon >> OVH Serveurs Manager >> Email Templates

Edit the templates like in the image below :

OVH-config-mail.png


Configuring the contact address OVH

  • In your manager OVH Technical Contact go to: Home > Administration > Settings > Personal Information
  • Replace the email with the address set previously: ovh@yourdomain.com
  • Replace "language exchange" by French or English
  • Save the settings


Sends automatic email is now configured.


IMPORTANT

Please ensure that the "dedicated IP" in "Clients Profile >> Produits/Services" as illustrated in the image below :

product5.png