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.