Digital Ocean

Digital Ocean: Email Piping

For clients to be able to receive the droplet login details, you will need to setup email piping. We recommend creating a separate email address (such as [email protected]) to avoid any issues with non Digital Ocean emails.

The email address must be setup with Digital Ocean here.

The correct paths and method of installation will depend on your server – please check with your control panel provider or system administrator for exact setup instructions.

Directadminmore info

In Directadmin you will create an email forwarder similar to the following:

"|/usr/local/bin/php -q /home/username/public_html/modules/addons/digitalocean/pipe.php"

cPanelmore info

In cPanel set pipe.php to 755 permissions. Open the pipe.php file and make sure the top line points to php on your server (if unsure of the correct path contact your system administrator),

Create an email forwarder and select ‘more options’ under the pipe to program option and enter the full path to pipe.php it will be similar to:



If your main domain does not point to the webserver (e.g. if you use Google Apps, or Office 365) you can setup a subdomain and point the MX records to the webserver e.g. [email protected]

Next Step.. Customization

Digital Ocean

Digital Ocean: Installation

  • Upload the modules folder
  • Visit Setup>Addon Modules
    • Click activate
    • Click configure
      • Enter your client ID, license & API key
      • Tick Full Administrator
      • Click Save
  • Go to Addons > Digital Ocean
    • Create a new option group
    • {Note:} if you receive a cURL error, tick the disable_ssl option and save changes
  • Go to Setup>Products/Services>Configurable Options
    • Add operating systems and regions as required
    • {Note:} DO NOT change group names
    • {Note:} full list can be found on the main addon page
      3 4
  • Go to Setup>Products/Services>Products/Services
    • Create a new product
      • [Product Type:] Dedicated/VPS Server
      • Continue
      • Details Tab
        • [Welcome Email:] None
      • Module Settings Tab
        • [Module Name:] Digital Ocean
          • Choose a size
      • Custom Fields Tab
        • [Field Name:] droplet_id
        • [Field Type:] Text Box
        • Admin Only
      • Configurable Options Tab
        • Choose the group you crated
      • Save Changes

Next Step.. Setup Email Piping