smtp_helo_name and myhostname multiple bind IP addresses Postfix
by jeremywebdev from LinuxQuestions.org on (#4SSNT)
Hi there think I got the title of the question relevant.
I just wanted to get some general principles (if any regardin this), do the following need to be exact with using multiple binded IP addresses to domain names as such with Postfix
Like with a DNS server if the mx record points to mail.mydomain.com (a valid A record correlates of course with this example) but the user email of such domain is myuser@mydomain.com
I have say
Code:myhostname=mail.mydomain.comand
Code:smtp_helo_name=mail.mydomain.comIs that considered good practice?
Also with the SPF entry/record in the DNS server would this suffice and work:
Code:v=spf1 a mx a:mydomain.com mx:mail.mydomain.com ip4:xx.xx.xxx.xxx -allWhere the x's in the ip4 field relate to the A record mail.mydomain.com points to, I just wanted to get some general advice about this thats all, all I wanted to do was make sure or least avoid as much as possible (as I know that full well its quite impossible least all the time to avoid) being marked as spam, but if so for it not to be within my control as such (relating to configs).


I just wanted to get some general principles (if any regardin this), do the following need to be exact with using multiple binded IP addresses to domain names as such with Postfix
Like with a DNS server if the mx record points to mail.mydomain.com (a valid A record correlates of course with this example) but the user email of such domain is myuser@mydomain.com
I have say
Code:myhostname=mail.mydomain.comand
Code:smtp_helo_name=mail.mydomain.comIs that considered good practice?
Also with the SPF entry/record in the DNS server would this suffice and work:
Code:v=spf1 a mx a:mydomain.com mx:mail.mydomain.com ip4:xx.xx.xxx.xxx -allWhere the x's in the ip4 field relate to the A record mail.mydomain.com points to, I just wanted to get some general advice about this thats all, all I wanted to do was make sure or least avoid as much as possible (as I know that full well its quite impossible least all the time to avoid) being marked as spam, but if so for it not to be within my control as such (relating to configs).