Article overview

Help article

Disabling the VPS Mailservice

You can use the VPS mail service on the TransIP VPS platform. Using this service, mails from your VPS are sent via our mail servers. This way you benefit from the IP reputation of our mail servers and your mail arrives more easily without being marked as spam by accident.

It is also possible to instead send mail directly via your VPS. In this article we'll show you howto disable the VPS mailservice (assuming you're using it right now) for:

Perform the steps in this article as root user, or use sudo.


Disabling the VPS-mailservice in Postfix or Plesk

 

Step 1

Open the Postfix configuration file:

nano /etc/postfix/main.cf

 

Step 2

Remove the code below in the opened file. Save your work afterwards and close the file again (ctrl + x > y > enter).

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

 

Step 3

Finally, remove the file which contains the log in information for the VPS mailservice and restart postfix:

rm /etc/postfix/sasl_passwd
systemctl restart postfix

Your VPS now no longer makes use of the VPS mailservice.


Disabling the VPS mailservice in Exim, DirectAdmin or cPanel

 

Step 1

Open Exim's configuration file:

nano /etc/exim/exim.conf

 

Step 2

Remove the code below. Save your changes afterwards and close the file again (ctrl + x > y > enter).

transip_email:
  driver = manualroute
  domains = ! +local_domains
  ignore_target_hosts = 127.0.0.0/8
  transport = auth_relay
  route_list = * vps.transip.email::587
  no_more

auth_relay:
  driver = smtp
  port = 587
  hosts_require_auth = <; $host_address
  hosts_require_tls = <; $host_address

auth_login:
  driver = plaintext
  public_name = LOGIN
  client_send = : xxxxxxxxx@vps.transip.email : hsmTmKGAbQWuGuHE
  server_set_id = $1

 

Step 3

Finally, restart Exim:

rm /etc/postfix/sasl_passwd
systemctl restart postfix

Your VPS now no longer makes use of the VPS mailservice.


Disabling the VPS-mailservice in Exchange Server

 

Open the Exchange Management Shell and use the following command:

Remove-SendConnector "TransIP"

Your VPS now no longer makes use of the VPS mailservice.


 

This concludes our article on disabling the VPS mailservice.

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.

If you want to discuss this article with other users, please leave a message under 'Comments'.

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

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