This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Question about Postfix domain and host names.
#1
Question about Postfix domain and host names.
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
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#2
RE: Question about Postfix domain and host names.
It should resolve. It's better you think about it as the server reverse not your main domain.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Question about Postfix domain and host names.
What you mean with server reverse?
That mydomain should match reverse dns ip?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
user: 'postfix' host: 'localhost' (Got an error reading communication packets) cezars 0 2 ,780 02-01-2022, 08:58 PM
Last Post: cezars
Postfix mail.log to database stikekar 2 8 ,231 03-02-2019, 01:22 AM
Last Post: TGates
Using ssl certificate for Postfix and Dovecot in multiple domains. davi-dns 9 36 ,232 12-03-2018, 05:13 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 2 Guest(s)