Linode Forum Index Linode Forum
Linode Community Forums
 


Trying to setup remote mail server

Click here to go to the original topic

 
       Linode Forum Index -> Email/SMTP Related Forum
Author Message
remacle



Joined: 17 Nov 2011
Posts: 3
Location: Canada

Posted: Fri Nov 18, 2011 12:23 am    Post subject: Trying to setup remote mail server  

Other than my new Linode I have a managed dedicated server (cpanel) which I am trying to use it as a mail server.

I have tried different MX record combinations with Linode DNS Manager and setup a test account on my (cpanel) dedicated server.

Linode domain: linotest.com (the actual domain resolves and is active on my Linode)

This is an example of my setup:
Linode DNS manager MX settings:

dedi.catedserver.com 0
ns1.dedidomain.com 10
ns2.dedidomain.com 10
mail.linotest.com 10

For Cpanel dedi setup I created an account for linotest.com and a test mail address plus forwarding.... However, so far my 'test' email is only showing up in the Cpanel dedi webmail (squirrel)... Email will not forward or download on any mail client.

Can anyone tell me what I am doing wrong?

Thank you,
Roger
Back to top  
Piki



Joined: 16 Jun 2011
Posts: 276
Location: Cyberspace

Posted: Fri Nov 18, 2011 2:12 am    Post subject:  

It looks like you're putting nameservers (ns1.dedidomain.com ns2.dedidomain.com) into the Linode DNS. What for?

If mail.linotest.com is the only mail server you're setting up, it should be the only MX entry.

Without experience with multiple hosts on one domain, it looks to me like you would need to set an A record for mail.linotest.com pointing to the cpanel IP, then set the MX record for mail.linotest.com to use that subdomain. Don't take my word for it, though, since I don't have any experience with that except to say that one name server should need to point to another.
Back to top  
remacle



Joined: 17 Nov 2011
Posts: 3
Location: Canada

Posted: Fri Nov 18, 2011 4:51 am    Post subject:  

Thanks Piki,

Got me on the right track...

Setup A record as suggested.

And for MX record I used:
dedi.catedserver.com 0
mail.linotest.com 10

Works!

Roger
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Fri Nov 18, 2011 8:30 am    Post subject:  

Are you sure you want mail.linotest.com as a backup mail exchanger for your domain? It will, generally speaking, receive any mail when dedi.catedserver.com cannot be reached. Nowadays, this is somewhat redundant, but if dedi.catedserver.com is unreliable, this can be handy.

You must make sure that mail.linotest.com is not set to locally deliver linotest.com, and that it is set to accept linotest.com mail for relaying. Forgetting the former will cause mail to disappear into a black hole randomly; forgetting the latter will cause it to hard-bounce when it would otherwise just be delayed slightly.
Back to top  
remacle



Joined: 17 Nov 2011
Posts: 3
Location: Canada

Posted: Sat Nov 19, 2011 10:16 pm    Post subject:  

I could not get it to be consistent and so decided to install Postfix/Dovecot on my Linode... working

Fascinating learning curve,

Thank you both,
Roger
Back to top  
 
       Linode Forum Index -> Email/SMTP Related Forum
Page 1 of 1