Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-2008, 07:48 AM
Active Member
 
Posts: 28
Default Help I cant send mail

ok I can receive mail to both domains just fine. However I cant send mail out. here is some output of commands

[root@mail ~]# host `hostname`
mail.graystarr.com has address 66.29.169.139

[root@mail ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.20.10 mail.graystarr.com mail

[root@mail ~]# cat /etc/resolv.conf
search graystarr.com
nameserver 76.74.236.21
nameserver 192.168.20.1

[root@mail ~]# dig nuendorocks.com mx

; <<>> DiG 9.2.4 <<>> nuendorocks.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60149
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;nuendorocks.com. IN MX

;; ANSWER SECTION:
nuendorocks.com. 7200 IN MX 0 mail.nuendorocks.com.

;; Query time: 91 msec
;; SERVER: 192.168.20.1#53(192.168.20.1)
;; WHEN: Tue Nov 25 09:46:35 2008
;; MSG SIZE rcvd: 54
Reply With Quote
  #2 (permalink)  
Old 11-25-2008, 08:06 AM
Moderator
 
Posts: 7,928
Default

As your server is on a private IP, hence the host command returns your external IP, you will need to setup a Split DNS - Zimbra :: Wiki architecture.
__________________
Reply With Quote
  #3 (permalink)  
Old 11-25-2008, 08:23 AM
Active Member
 
Posts: 28
Default

ok I have that setup but it doesnt seem like like its working. what do you need to look at to help me out?
cat /etc/named.conf

options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 212.139.132.70; 212.139.132.102;
};
include "/etc/rndc.key";
// We are the master server for mail.graystarr.com
zone "graystarr.com" {
type master;
file "db.mail.graystarr.com";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
allow-update { none; };
};

[root@mail ~]# cat /var/named/db.mail.graystarr.com
;
; Addresses and other host information.
;
@ IN SOA mail.graystarr.com. hostmaster.mail.graystarr.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.20.10
IN A 192.168.20.10
IN MX 10 mail.graystarr.com.
Reply With Quote
  #4 (permalink)  
Old 11-25-2008, 08:27 AM
Moderator
 
Posts: 7,928
Default

You will need to change your /etc/resolv.conf
Code:
search graystarr.com
nameserver 192.168.20.10
__________________
Reply With Quote
  #5 (permalink)  
Old 11-25-2008, 08:30 AM
Active Member
 
Posts: 28
Default

ok after changing the resolv.conf i get this

[root@mail ~]# host `hostname`
Host mail.graystarr.com not found: 2(SERVFAIL)
[root@mail ~]#
Reply With Quote
  #6 (permalink)  
Old 11-25-2008, 08:34 AM
Moderator
 
Posts: 7,928
Default

ok can you resolve any other domains ?
Code:
dig zimbra.com mx
if not then has BIND actually been started ? Also check /var/log/messages for any errors from when BIND starts.
__________________
Reply With Quote
  #7 (permalink)  
Old 11-25-2008, 08:41 AM
Active Member
 
Posts: 28
Default

~]# dig zimbra.com mx

; <<>> DiG 9.2.4 <<>> zimbra.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34904
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 5, ADDITIONAL: 3

;; QUESTION SECTION:
;zimbra.com. IN MX

;; ANSWER SECTION:
zimbra.com. 7200 IN MX 15 mta01.zimbra.com.
zimbra.com. 7200 IN MX 5 mta03.zimbra.com.
zimbra.com. 7200 IN MX 10 mta02.zimbra.com.

;; AUTHORITY SECTION:
zimbra.com. 172800 IN NS ns3.yahoo.com.
zimbra.com. 172800 IN NS ns4.yahoo.com.
zimbra.com. 172800 IN NS ns5.yahoo.com.
zimbra.com. 172800 IN NS ns1.yahoo.com.
zimbra.com. 172800 IN NS ns2.yahoo.com.

;; ADDITIONAL SECTION:
mta03.zimbra.com. 7200 IN A 66.163.172.82
mta02.zimbra.com. 7200 IN A 207.126.229.144
mta01.zimbra.com. 7200 IN A 207.126.229.143

;; Query time: 126 msec
;; SERVER: 192.168.20.10#53(192.168.20.10)
;; WHEN: Tue Nov 25 11:21:28 2008
;; MSG SIZE rcvd: 238
Reply With Quote
  #8 (permalink)  
Old 11-25-2008, 08:44 AM
Moderator
 
Posts: 7,928
Default

Your db.mail.graystarr.com is wrong, you need to change the IN A entry to
Code:
mail IN A 192.168.20.10
or if you want graystarr.com to resolve aswell use
Code:
IN A 192.168.20.10
mail IN A 192.168.20.10
and then reload BIND.
__________________
Reply With Quote
  #9 (permalink)  
Old 11-25-2008, 08:49 AM
Active Member
 
Posts: 28
Default

ok you mean like this?

[root@mail ~]# cat /var/named/db.mail.graystarr.com
;
; Addresses and other host information.
;
@ IN SOA mail.graystarr.com. hostmaster.mail.graystarr.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN A 192.168.20.10
mail IN A 192.168.20.10
Reply With Quote
  #10 (permalink)  
Old 11-25-2008, 08:51 AM
Moderator
 
Posts: 7,928
Default

Code:
@ IN SOA mail.graystarr.com. hostmaster.mail.graystarr.com. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.20.10
IN MX 10 mail
IN A 192.168.20.10
mail IN A 192.168.20.10
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.