Azure

From Halon, SMTP software for hosting providers
Jump to: navigation, search

The Halon SMTP software runs on Microsoft Azure.

Launching the image

Create an image of OS type "Linux" using the storage blob https://halon.blob.core.windows.net/images/halon-4.3-p1-cody-amd64-azure.vhd, and launch it.

Getting started

  1. Create a new VM using whichever method you prefer
    • Uncheck "VM agent"; otherwise the deployment will take longer as there's no agent installed
    • The provided username/password won't be used, it defaults to "admin"
  2. Browse to its web admin on port 443
  3. Login with username and password "admin" (the credentials you choose in Azure arn't used)
  4. Choose a new password and specify a DNS server (such as Google's "8.8.8.8") in the getting started guide
  5. Once the getting started guide is completed, you will be redirected to the web admin's overview page
  6. Configure a storage disk on the System > Hardware page (for example Azure's included temp disk)
    1. Formatting the desired storage disk (the system will reboot)
    2. Login and go to the same page again, and choosing the desired storage disk at as storage device (the system will reboot again)

Storage disks

The system partiton is read-only during normal operation, and all data (email, database, definitions, temp) are written to a separate storage partition. There are many different storage partitions options; the most simple in the Azure case is to use the included "temp" disk that comes with all VMs. It's however not guaranteed to be persistent, and its use is discouraged unless you use for example in-line delivery.

Another option is to "extend" the system partitions's disk by adding the storage partition to the end of it. An option to use the system disk as storage will automatically appear on the System > Hardware page if it's large enough (more than 10 GB). This is very common in "bare metal" installations, because the system partitons's disk is almost always larger than the 500 MB that the system partition occupies. In a virtual machine scenario, this is as simple as resizing the system disk.