| 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.
|  | | 
07-18-2010, 02:18 AM
| | | 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? | 
07-18-2010, 05:22 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | Quote:
Originally Posted by plastilin 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
| 
07-18-2010, 11:50 AM
| | | 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... | 
07-18-2010, 12:22 PM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | Quote:
Originally Posted by plastilin 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..
| 
07-19-2010, 06:10 AM
| | | 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 | 
07-19-2010, 06:41 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | 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
| 
07-19-2010, 06:55 AM
| | | /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 | 
07-19-2010, 07:07 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | 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
| 
07-19-2010, 07:21 AM
| | | 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..
| 
07-20-2010, 12:19 AM
| | | 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... | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |