Help forwarding emails to another provider

Hi, I am newb on Linode and email administration in general. I have a new Linode box with CentOS installed and I have installed a web server with a few domains (for my own usage).

I have another 3rd party hosting provider "P" (reseller account) and I would like to keep P as my mail server. For example: I have 2 domains, domain1.com and domain2.com hosted in Lighttpd in my new Linode VPS. But, I want to keep info@domain1.com and info@domain2.com in my other provider.

I am a little confused about how to face this situation. I guess I need postfix and Dovecot but I need some tips how to forward or relay mail to my provider P.

Do you have any clue or hint about what steps to follow? or any recommendation?

I think I need to add entries to transport map table in postfix for sending emails, but probably I need to do something with Dovecot to receive external emails too. Or, maybe I can configure the DNS and MX records to jump above the server?

Thank you very much.

2 Replies

Ok, I changed the MX record in the DNS to point the 3rd. party hosting provider… I am receiving emails properly and not using Linode VPS for emails.

@jmagnone:

Ok, I changed the MX record in the DNS to point the 3rd. party hosting provider…
That would be the normal way to specify where you want e-mail delivered to :wink:

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct