This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is Hostname (MX)?

I registerd "mydomain.com" and pointed both mydomain.com and mail.mydomain.com to my static IP. I configured the external interface on my Astaro box to use that static IP. Then I connected a Linux 7.3 box with SendMail to one of the Astaro's internal interfaces (192.168.0.2 and 192.168.0.1, respectively). Finally, I defined two routes mydomain.com to 192.168.0.2 and mail.mydomain.com to 192.168.0.2.

The one thing that is puzzling me is the field "Hostname (MX)". Which of these am I supposed to do:

a) Enter mydomain.com
b) Enter the IP for mydomain.com
c) Enter the IP of the internal mail server
d) Enter the name of the internal mail server
e) Enter the name I used for Hostname under General System Settings (which in this case turns out to be mydomain.com)
f) Enter fwifwi, the pet name I gave my Astaro box (it's still pronounced fifi but the Astaro box thought it was more fitting with the extra Ws)
g) ???

If you know the answer, perhaps you could also help me understand how the hostname get used. Or rather what uses it and for what purpose.

I should mention that I have tried most, if not all, of these options without any discernable difference. However, SendMail wasn't configured properly (it wouldn't answer a telnet connection request on ports 25 or 110) and I haven't finished replacing it with QMail (why isn't installing these packages a little simpler?). So I have been relying on the messages in the Mail Proxy log showing that connections to 192.168.0.2 are being attempted.

Thanks.

Farid


This thread was automatically locked due to age.
Parents
  • set the MX to mail.mydomain.com, in addition delete the smtp route for mail.mydomain.com (it's not necessary...) and make sure you don't make DNAT entries and really use the relay.
  • Thanks the superfast answer Andy. I got things set up the way you suggested.

    I hope you will pardon my ignorance but am I using mail.mydomain.com because that is the same value I used when I created my mail server (MX) record on the DSN server that handles mydomain.com (in this case XoneEdit.com)? In other words, if the mail server (MX) record in the DNS server indicated that test.mydomain.com handled mail for mydomain.com (not that I would need to do that), would I then use test.mydomain.com in place of mail.mydomain.com?

    Or am I way off?

    Thanks.

    Farid
  • Hi fnacer,

    yes you can, you can set the name to whatever you want, the only thing is that it has valid DNS-Record.

    bye

    Matthias
  • you only need this entry if u wanna use tls encryption
Reply Children
No Data