Quote:
Originally Posted by phoenix Not a good idea to edit the config giles. |
Yes, that's why I'm asking here.
Quote:
Originally Posted by phoenix Go to the Split DNS article and run the commands asked for in the 'Verify...' section then post the output here for confirmation that it's OK. |
Indeed we have a split-horizon situation here. Let's see if everything ist correct [1]:
===== First Query =====
# dig company.com mx
[...]
;; ANSWER SECTION:
company.com. 86400 IN MX 20 mail.company2.com.
company.com. 86400 IN MX 10 mail.company.com.
[...]
;; ADDITIONAL SECTION:
mail.company.com. 172800 IN A 192.168.116.200 *)
mail.company2.com. 5146 IN A 78.46.xxx.yyy **)
*) this is the correct internal IP of our current mailrelay, and the
machine where the current split horizon DNS is running on.
**) this is the correct external IP ouf our current backup mailrelay.
===== End first query =====
===== Second query =====
# dig company.com any
[...]
;; ANSWER SECTION:
company.com. 86090 IN MX 10 mail.company.com.
company.com. 86090 IN MX 20 mail.company2.com.
company.com. 86277 IN NS ns49.1und1.de.
company.com. 86277 IN NS ns50.1und1.de.
company.com. 7467 IN A 82.165.104.167
[...]
;; ADDITIONAL SECTION:
mail.company.com. 172800 IN A 192.168.116.200
mail.company2.com. 4836 IN A 78.46.xxx.yyy
ns49.1und1.de. 86090 IN A 195.20.224.149
ns50.1und1.de. 86090 IN A 212.227.123.63
===== end second query =====
===== third query =====
# host $(hostname)
zimbra.company.com has address 192.168.116.202 *)
*) This is the correct internal IP of the zimbra-Server in question here.
# cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 4413
#
### END INFO
nameserver 192.168.116.200 *)
domain company.com
*) This is the correct IP of our internal DNS-Server, which provides the inner
part of the split DNS horizon, and forwards the rest of the queries to some
external DNS.
This is also the IP of our current mail relay.
# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 zimbra.company.com zimbra
[...following some IPv6-stuff...]
===== end third query =====
For my eyes this looks correct. What do you say about this?
At the moment I don't see the connection between the DNS entries and the amavisd complaining about the non-FQDN-entry in $hostname. Where does the $hostname-information in amavisd.conf come from?
Thanks for reading all this!
Andre
[1] I don't (yet) expect the mail system to work properly in any case. It's enough that Zimbra-users can send mails to themselves to receive appointment invitations. And maybe mails should run to the relayhost to reach the outside world.
Mail need not be received at the moment from the outside world by zimbra. This comes as a later step, and still not directly from outside, but via the current mail relay as a front relay.