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 07-18-2010, 02:18 AM
Active Member
 
Posts: 25
Default Send emails from local network to external recipients error

Hi. Have those configuration:

Zimbra server: IP 192.168.1.5, domain name mail.company.com

Send emails from relay smtp-out.provider.com

If messages are created on server from web interface and send to external recipient, example *@gmail.com - all good, but messages from server example zimbra@mail.company.com have error:

Host or domain name not found=name service error for name=smtp-out.provider.com type=mx: host not found, try again

I have local DNS where i have zone company.com, and have A string mail.company.com 192.168.1.5

This error have when i try to redirect admin mail to external mail...

How i can fix it?
Reply With Quote
  #2 (permalink)  
Old 07-18-2010, 05:22 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by plastilin View Post
Hi. Have those configuration:

Zimbra server: IP 192.168.1.5, domain name mail.company.com

Send emails from relay smtp-out.provider.com

If messages are created on server from web interface and send to external recipient, example *@gmail.com - all good, but messages from server example zimbra@mail.company.com have error:

Host or domain name not found=name service error for name=smtp-out.provider.com type=mx: host not found, try again

I have local DNS where i have zone company.com, and have A string mail.company.com 192.168.1.5

This error have when i try to redirect admin mail to external mail...

How i can fix it?
Go to the Split DNS article and look in the 'Verify...' section and post the information from those commands here, you should also post the actual error messages you see in the log files.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-18-2010, 11:50 AM
Active Member
 
Posts: 25
Default

Thanks for reply. I test my DNS - All ok. But I have new error:

Quote:
21:03:08 foxtrot postfix/smtp[25288]: B449117A134: to=<*****@gmail.com>, relay=smtp-out.provider.com[xxx.xxx.xxx.xxx]:25, delay=34076, delays=34071/0.01/5/0.01, dsn=4.1.7, status=deferred (host smtp-out.provider.com[xxx.xxx.xxx.xxx] said: 450 4.1.7 <zimbra@foxtrot.company.com>: Sender address rejected: undeliverable address: host foxtrot.company.com[xxx.xxx.xxx.xxx] said: 554 5.7.1 <zimbra@foxtrot.company.com>: Relay access denied (in reply to RCPT TO command) (in reply to RCPT TO command))
Mail for user in domain gmail.com still waiting in quie...
Reply With Quote
  #4 (permalink)  
Old 07-18-2010, 12:22 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by plastilin View Post
Thanks for reply. I test my DNS - All ok. But I have new error:
I would like you to post the output of the Split DNS 'Verify...' commands here so we can check that they are actually working correctly.
__________________
Regards


Bill

Last edited by phoenix; 07-19-2010 at 06:38 AM..
Reply With Quote
  #5 (permalink)  
Old 07-19-2010, 06:10 AM
Active Member
 
Posts: 25
Default

Ok! That`s my verify results.

1. dig company.com mx


Code:
; <<>> DiG 9.5.1-P3 <<>> company.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56217
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
company.com.		3600	IN	MX	10 foxtrot.company.com.

;; ADDITIONAL SECTION:
foxtrot.company.com.	3600	IN	A	192.168.1.5

;; Query time: 0 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Jul 19 16:04:25 2010
;; MSG SIZE  rcvd: 68
2. dig company.com any


Code:
; <<>> DiG 9.5.1-P3 <<>> company.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57364
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;company.com.			IN	ANY

;; ANSWER SECTION:
company.com.		3600	IN	A	xxx.xxx.xxx.xxx
company.com.		3600	IN	NS	delta.company.local.
company.com.		3600	IN	SOA	delta.company.local. hostmaster.company.local. 15 900 600 86400 3600
company.com.		3600	IN	MX	10 foxtrot.company.com.

;; ADDITIONAL SECTION:
delta.company.local.	3600	IN	A	192.168.1.2
foxtrot.company.com.	3600	IN	A	192.168.1.5

;; Query time: 0 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Jul 19 16:08:05 2010
;; MSG SIZE  rcvd: 179

3. host foxtrot


Code:
foxtrot.company.com has address 192.168.1.5
Reply With Quote
  #6 (permalink)  
Old 07-19-2010, 06:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

The additional information (run on the zimbra server) I also wanted from the Split DNS article is this:

Code:
cat /etc/resolv.conf
cat /etc/hosts
host `hostname`
NOTE: The host `hostname' command should be typed exactly as you see it using backticks not single quotes and don't change the word "hostname" to anything else.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-19-2010, 06:55 AM
Active Member
 
Posts: 25
Default

/etc/resolv.conf

Code:
manager@foxtrot:~$ cat /etc/resolv.conf 
search company.com
nameserver 192.168.1.2
/etc/hosts

Code:
manager@foxtrot:~$ cat /etc/hosts
127.0.0.1	localhost
192.168.1.5	 foxtrot.company.com	foxtrot

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
host `hostname`

Code:
manager@foxtrot:~$ host `hostname`
foxtrot.company.com has address 192.168.1.5
Reply With Quote
  #8 (permalink)  
Old 07-19-2010, 07:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Your hosts file is incorrect, the following line:

Code:
127.0.0.1	localhost
should look like this:
Code:
127.0.0.1	localhost.localdomain localhost
Fix that and restart Zimbra nad see what happens then post again.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 07-19-2010, 07:21 AM
Active Member
 
Posts: 25
Default

Already change, reboot... Nothing changes - mail in quie with second thread error...


Code:
foxtrot:/home/manager# cat /etc/hosts
127.0.0.1	localhost.localdomain	localhost
192.168.1.5	foxtrot.company.com	foxtrot

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Error

Jul 19 17:58:14 foxtrot postfix/smtp[20941]: 7B86E17A11A: to=<*******@gmail.com>, relay=smtp-out.provider.com[xxx.xxx.xxx.xxx]:25, delay=2158, delays=2158/0.03/0.39/0.19, dsn=4.1.7, status=deferred (host smtp-out.provider.com[xxx.xxx.xxx.xxx] said: 450 4.1.7 <zimbra@foxtrot.company.com>: Sender address rejected: undeliverable address: host foxtrot.company.com[yyy.yyy.yyy.yyy] said: 554 5.7.1 <zimbra@foxtrot.company.com>: Relay access denied (in reply to RCPT TO command) (in reply to RCPT TO command))

Last edited by plastilin; 07-19-2010 at 08:05 AM..
Reply With Quote
  #10 (permalink)  
Old 07-20-2010, 12:19 AM
Active Member
 
Posts: 25
Default

Ithink the error is that provider check zimbra server for user zimbra@foxtrot.company.com, but zimbra server don`t have this user and relay don`t send e-mail...
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.