Hi guys!
I'm setting up a PMG and the customer has multiple domains lets say a.com, b.com and c.com and they want to send from all domains through the PMG. Before they were sending from their local Exchange server directly and now it should be done through the PMG
The local domain is company.local.
When I'm sending test mails to mail-tester.com I get the following error:
"We could not find a server (A-Record) for your hostname pmg.company.local."
Which is correct, because there is no such A-Record. But for pmg.company.local I can't set an A-Record because they don't own company.local.
My idea is, that the PMG uses pmg.a.com as hostname, if someone sends from his mailbox user1@a.com and if there is another user let's say user2@b.com the PMG uses pmg.b.com as his hostname in the Mail Header.
Am I having a error in my thoughts? Is this possible?
Or should I set the hostname to pmg.a.com and then do PTR records for b.com and c.com?
Here are the config files:
/etc/hostname
/etc/hosts
/etc/resolv.conf
I'm setting up a PMG and the customer has multiple domains lets say a.com, b.com and c.com and they want to send from all domains through the PMG. Before they were sending from their local Exchange server directly and now it should be done through the PMG
When I'm sending test mails to mail-tester.com I get the following error:
"We could not find a server (A-Record) for your hostname pmg.company.local."
Which is correct, because there is no such A-Record. But for pmg.company.local I can't set an A-Record because they don't own company.local.
My idea is, that the PMG uses pmg.a.com as hostname, if someone sends from his mailbox user1@a.com and if there is another user let's say user2@b.com the PMG uses pmg.b.com as his hostname in the Mail Header.
Am I having a error in my thoughts? Is this possible?
Or should I set the hostname to pmg.a.com and then do PTR records for b.com and c.com?
Here are the config files:
/etc/hostname
Code:
pmg
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.0.57 pmg.company.local pmg
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
Code:
search company.local
nameserver 192.168.0.7