Article overview

Help article

How do I configure Plesk on my BladeVPS to start using your mail service?

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 Plesk 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 Plesk on my BladeVPS for use of the mailcluster?
The configurator in the control panel will walk through all the necessary steps via the console, but should you want to use SSH you can follow the steps listed below:
  1. Log in onto the console or via SSH and make sure you are running as 'root' or follow all the steps via the 'sudo' command.
  2. Open the file /etc/postfix/main.cf, for example by using nano via nano /etc/postfix/main.cf.
  3. Scroll down in the file and add the following:
     relayhost = vps.transip.email:587
     smtp_sasl_auth_enable = yes
     smtp_sasl_security_options = noanonymous
     smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
     smtp_use_tls = yes
     smtp_tls_security_level = encrypt
     smtp_tls_note_starttls_offer = yes
    
  4. Please note! The default Postfix-config will have some of these settings by default commented out via a #. If they are not, please check these and edit if necessary to prevent conflicting settings. All referrals to 'smtpd_' can be left alone.
  5. Create a /etc/postfix/sasl_passwd file (nano /etc/postfix/sasl_passwd). Add the following:
    vps.transip.email:587 username@vps.transip.email:password
    Replace the username and password with your own mail service credentials.
  6. It's possible you will first need to install the 'cyrus-sasl-plain package'. You can do this via yum install cyrus-sasl-plain for example.
  7. Execute the command 'postmap hash:/etc/postfix/sasl_passwd'.
  8. Reload Postfix via systemctl restart postfix.
  9. You are ready to start using the mail service!

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Share this article

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us