Sentora Support Forums
Question about Postfix domain and host names. - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: Email Support v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=35)
+---- Thread: Question about Postfix domain and host names. (/showthread.php?tid=1741)



Question about Postfix domain and host names. - apinto - 07-08-2015

Greetings,
Currently my email setup is working fine (using SSL and Amavis as extras).

However all my internal email are from account@ctrl.vanguardly.com (for example postmaster@ctrl.vanguardly.com).
I would like to change it to just @vanguardly.com.

However the DNS of vanguardly.com does NOT point to the same IP as ctrl.vanguardly.com (CloudFlare)

To do that I believe I need to change mydomain on the postfix/main.cf to vanguardly.com.
Below there is my current main.cf setup:
Code:
mydomain = ctrl.vanguardly.com myhostname = ctrl.vanguardly.com
The server hostname is indeed ctrl.vanguardly.com.

My question is, can I change mydomain to vanguardly.com without issues?
Also if there is a better way of achieving this, I would appreciate Smile


RE: Question about Postfix domain and host names. - Me.B - 07-09-2015

It should resolve. It's better you think about it as the server reverse not your main domain.

M B


RE: Question about Postfix domain and host names. - apinto - 07-09-2015

What you mean with server reverse?
That mydomain should match reverse dns ip?