When you are using a BladeVPS at TransIP you can always use our mail service free of charge, also referred to as 'Carefree Mailing'. With this service you will always have the possibility to use our mail services after a one-time configuration of the Windows Server IIS SMTP-server on your BladeVPS. When using the mail service you will no longer have to worry about mails being delivered in the spamfolder due to incorrect reverse DNS or SPF-records, or because a blacklist is blocking mails from your IP-address.
To successfully set this up you will need to perform some configuration changes on your VPS to make sure your VPS and domains are properly authenticated for the use of our platform.Which information do I need to start using this?
- Your username and password. These will be visible during the configuration within our control panel, but you can always look these up via 'Manage Your Mail Service' > 'Username & Password'.
- The SPF-record (TXT) that is needed to allow our mailservers to send mail for your domain(s). If you have already set-up a SPF-record for a domain, adding "include:_spf.transip.email" to your current record is enough. If you don't have any SPF-record set up yet, you can add "@ 5Min TXT "v=spf1 include:_spf.transip.email ~all" to the DNS of the nameservers you are using. Should you have missed this record during the initial configuration, you can always view this in the control panel via 'Manage domain names' > 'My desired domain name is not listed' > 'Continue'.
- The TXT-record in which your authentication hash can be found. This will need to be added to the DNS-records of every domain you want to use for mailing. Should you have missed this record during the initial configuration, you can always view this in the control panel via 'Manage domain names' > 'My desired domain name is not listed' > 'Continue'.
- The DKIM-records which serve as an additional layer of verification for sending mail via our mail platform. DKIM-record can be seen as a sort of key where the public part (in the DNS-record) has to mach the private record that the mail server sends itself. Should you have missed this record during the initial configuration, you can always view this in the control panel via 'Manage domain names' > 'My desired domain name is not listed' > 'Continue'.
How do I configure the Windows Server SMTP-server on my BladeVPS for use of the mail service?
The configurator in the control panel will walk you through all the necessary steps via the console, but should you like to use RDP you can follow the steps listed below:
- Launch the Server Manager Dashboard.
- Install the Web Server role. Be sure to include the IIS 6 Management Compatibility tools (an option under the Web Server checkbox).
- Install the SMTP Server feature.
- Return to the Server Manager Dashboard.
- From the Tools menu, select the Internet Information Services (IIS) 6.0 Manager.
- Right-click on SMTP Virtual Server #1 and then select Properties.
- On the Access tab, under Relay Restrictions, click Relay.
- In the Relay Restrictions dialog box, click Add.
- Under Single Computer, enter 127.0.0.1 for the IP address if you only use this server to generate the emails you want to send. This guide assumes that your emails are generated on this server. If the application that generates the email runs on a separate server, you need to grant relaying access for that server in IIS SMTP.
- Return to the SMTP Virtual Server #1 Properties dialog box and then select the Delivery tab.
- On the Delivery tab, click Outbound Security.
- Select Basic Authentication and then enter your username and password. The username and the password can be found in the control panel under ' Manage mailcluster' > 'Username & Password'.
- Ensure that TLS encryption is enabled.
- Return to the Delivery tab.
- Select Outbound Connections.
- In the Outbound Connections dialog box, ensure that the port is set to 587.
- Click Advanced.
- For the Smart host name, enter vps.transip.email.
- Return to the Server Manager Dashboard.
- On the Server Manager Dashboard, right-click on SMTP Virtual Server #1 and then restart the service to pick up the new configuration.
- To test if it's working you can send an email via this server. For example by creating an email.txt file and placing this in C:\inetpub\mailroot\Pickup or by using the Windows Powershell to send an email.