Cart

    Sorry, we could not find any results for your search querry.

    Using the VPS mail service with Plesk

    On our VPS's you can always use our mail service free of charge, also referred to as 'Carefree Mailing'. With this service you will use our mail services to relay outgoing e-mail. In order to use the mail service, a one-time configuration of Postfix on your VPS is required.

    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.

    The easiest method for configuring the mail service is using the wizard in the control panel. Click here to immediately be taken to the wizard.


    Configuring Postfix manually

    Use these steps if you're not using the wizard. First, consult this article if you haven't already, in order to retrieve your username and password, as well as to configure the required DNS records for your domain. Then, follow the steps below in your VPS-console or using SSH.

     

    Step 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.


     

    Step 2

    Open the file /etc/postfix/main.cf :

    nano /etc/postfix/main.cf
    

     

    Step 3

    Scroll down to the bottom of 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

    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.


     

    Step 4

    Create and open /etc/postfix/sasl_passwd file:

    nano /etc/postfix/sasl_passwd

     

    Step 5

    Add the content below to the file:

    vps.transip.email:587 username@vps.transip.email:password

    Replace the username and password with your own mail service credentials.


     

    Step 6

    Save the changes and close the file by pressing ctrl + x > y > enter.


     

    Step 7

    Execute the command:

    postmap hash:/etc/postfix/sasl_passwd
    

    If you get an error, it's possible you will first need to install the 'cyrus-sasl-plain package':

    yum -y install cyrus-sasl-plain

     

    Step 8

    Reload Postfix to process the changes:

    systemctl restart postfix

    You are now ready to start using the VPS mail service!


     

    Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.

    Need help?

    Receive personal support from our supporters

    Contact us