Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Send emails from local network to external recipients error

  1. #1
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    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?

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    Default

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

    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...

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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.
    Last edited by phoenix; 07-19-2010 at 06:38 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    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

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    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

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    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.

  10. #10
    plastilin is offline Active Member
    Join Date
    Jan 2010
    Posts
    43
    Rep Power
    5

    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...

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 09-26-2011, 11:50 PM
  2. Installation problems from 5.0.11 to 6.0.4
    By dcampbell in forum Installation
    Replies: 0
    Last Post: 12-30-2009, 02:37 PM
  3. UNAUTHORIZED ACCESS Totally fouled up install
    By Lostin60s in forum Installation Help
    Replies: 0
    Last Post: 08-28-2009, 10:17 PM
  4. Replies: 4
    Last Post: 08-04-2008, 06:17 PM
  5. Network service error when trying to send email
    By wayne in forum Administrators
    Replies: 4
    Last Post: 09-15-2005, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •