I installed zimbra 5.0.7 on Debian etch for my home network and followed the split FDSN instructions since I am behind a hw NAT router.
I can send emails to outsiders, but not insiders and I can not receive any emails, outside ot inside my neywork.
Postfix log says it cannot resolve my hostname (mail.xxx.com) and the emails bounce.
I know the fault is somewhere in DNS but I spent a day on it and I can'y figure it out...
here is my data - I collected everything I can think of, let me know if something is missing:
Local network is 10.0.0.0 , network definition across all workstations and servers is 255.255.255.0, 10.0.0.1 gateway and 10.0.0.1 DNS.
router/NAT/local DNS is 10.0.0.1
Zimbra server is 10.0.0.7 - hostname is mail.
ports 25, 80, 443 and a bunch of other are forwared by the router to 10.0.0.7 (this works since emails are received and then bounced).
MX record is defined with my registar pointing to mail.xxx.com and is working since emails are received and then bounced.
named is runnig.
Code:
postfix.log extract (internally sent email - replaced domain name with xxx):
Jul 3 16:17:12 mail postfix/smtpd[27164]: disconnect from localhost.localdomain[127.0.0.1]
Jul 3 16:17:12 mail postfix/smtp[27161]: AFB5E4801D7: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.78, delays=0.32/0/0/0.45, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5DEE14801E1)
Jul 3 16:17:12 mail postfix/qmgr[5588]: AFB5E4801D7: removed
Jul 3 16:17:12 mail postfix/lmtp[27165]: 5DEE14801E1: to=, relay=none, delay=0.02, delays=0.01/0.01/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mail.xxx.com type=A: Host not found)
file hosts:
Code:
127.0.0.1 localhost.localdomain localhost
10.0.0.7 mail.xxx.com mail
# 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
file named.conf (unchanged - only refernces here):
Code:
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
file named.conf.local (I customized with references to stay with best practice):
Code:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "xxx.com" {
type master;
file "/etc/bind/db.xxx";
}; file db.xxx (here is where the meat is):
Code:
;
; BIND reverse data file for broadcast zone
;
$TTL 604800
@ IN SOA mail.xxx.com. mail.xxx.com. (
2008040201 ; Serial
7200 ; Refresh
120 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS 10.0.0.1.
@ IN NS 10.0.0.7.
xxx.com. IN MX 10 mail.xxx.com.
xxx.com. IN A 10.0.0.7 file resolv.conf:
Code:
search xxx.com
nameserver 10.0.0.7
file hostname:
if you see any error in this set of config file - please point it out..... Thanks for reviewing and any help in advance!
gerd