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

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 02-06-2011, 08:35 AM
Member
 
Posts: 10
Default Help to sent email to external accounts

Hi Forum,

I am pretty new with Zimbra, I started a few days ago to prepare and install a small lab on my laptop:

- Using a VmWare, create a VM with Debian5.
- Installed the Release 6.0.10_GA_2692.DEBIAN5 DEBIAN5 FOSS edition

After some issues mainly with the DNS (i had to install dnsmasq) and some port conflicts; everything works perfect but just only inside of my debian system or domain (all inside oy my laptop).

I can send and receive emails between the accounts that I created and manage all the accounts with zimbra server and the console.

Now I want to test to send and receive emails from out (hotmail, gmail, etc...)

Due to I am not an expert on DNS I would like your help do that.

I pasted my config files in order to receive any recommendation or a good link to read:


zimbra@zimbra:~$ cat /etc/hosts
127.0.0.1 localhost
192.168.49.130 zimbra.zimbra-local.com zimbra

zimbra@zimbra:~$ cat /etc/hostname
zimbra

zimbra@zimbra:~$ cat /etc/resolv.conf
search zimbra-local.com
nameserver 127.0.0.1

zimbra@zimbra:~$ cat /etc/dnsmasq.conf
server=8.8.8.8
server=208.67.222.222
domain=zimbra-local.com
mx-host=zimbra-local.com,zimbra.zimbra-local.com,5
listen-address=127.0.0.1

I appreciate your help!
Regards,
Carlos L.
Reply With Quote
  #2 (permalink)  
Old 02-06-2011, 08:53 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your hosts file is incorrect, I'd suggest you go to the Split DNS article and read-up on what's needed for the hosts file and the required DNS A & MX records. When you've configured them correct you can run all the commands in the 'Verify...' section of that article to check the settings - full details are in there of what's required.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-06-2011, 09:00 AM
Member
 
Posts: 10
Default

Bill, thanx....I followed the Split DNS, that helped me to setup my lab....everthing works fine if I send email from any_acct@zimbra-local.com to any account under my local lab domain zimbra-local.com

Now that I saw how it works I want to send mails to external and that is my issue.

again I'm not an expert on DNS stuff...
regards.
Reply With Quote
  #4 (permalink)  
Old 02-06-2011, 09:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by clerma View Post
Bill, thanx....I followed the Split DNS, that helped me to setup my lab....everthing works fine if I send email from any_acct@zimbra-local.com to any account under my local lab domain zimbra-local.com

Now that I saw how it works I want to send mails to external and that is my issue.
Please post the output from the commands you ran from the 'verify..' section of the Split DNS article.
__________________
Regards


Bill

Last edited by phoenix; 02-06-2011 at 10:19 AM..
Reply With Quote
  #5 (permalink)  
Old 02-06-2011, 10:06 AM
Member
 
Posts: 10
Default

Here the results from verify section.

One thing is that the zimbra-local.com domain is a dummy domain that I invented to set my lab on my laptop...sure that not work from internet.

here the responses:

zimbra@zimbra:~$ dig zimbra-local.com mx

; <<>> DiG 9.6-ESV-R3 <<>> zimbra-local.com mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54578
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
zimbra-local.com. 0 IN MX 5 zimbra.zimbra-local.com.

;; ADDITIONAL SECTION:
zimbra.zimbra-local.com. 0 IN A 192.168.49.130

;; Query time: 7 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Feb 6 12:02:50 2011
;; MSG SIZE rcvd: 89

zimbra@zimbra:~$ dig zimbra-local.com any

; <<>> DiG 9.6-ESV-R3 <<>> zimbra-local.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4605
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;zimbra-local.com. IN ANY

;; ANSWER SECTION:
zimbra-local.com. 0 IN MX 5 zimbra.zimbra-local.com.

;; ADDITIONAL SECTION:
zimbra.zimbra-local.com. 0 IN A 192.168.49.130

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Feb 6 12:02:59 2011
;; MSG SIZE rcvd: 89

zimbra@zimbra:~$ host $(hostname)
zimbra.zimbra-local.com has address 192.168.49.130

regards,
Reply With Quote
  #6 (permalink)  
Old 02-06-2011, 10:20 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

What does you hosts file and resolv.conf contain?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 02-06-2011, 10:25 AM
Member
 
Posts: 10
Default

here:

zimbra@zimbra:~$ cat /etc/hosts
127.0.0.1 localhost
192.168.49.130 zimbra.zimbra-local.com zimbra

zimbra@zimbra:~$ cat /etc/hostname
zimbra

zimbra@zimbra:~$ cat /etc/resolv.conf
search zimbra-local.com
nameserver 127.0.0.1

zimbra@zimbra:~$ cat /etc/dnsmasq.conf
server=8.8.8.8
server=208.67.222.222
domain=zimbra-local.com
mx-host=zimbra-local.com,zimbra.zimbra-local.com,5
listen-address=127.0.0.1
Reply With Quote
  #8 (permalink)  
Old 02-10-2011, 09:36 PM
Member
 
Posts: 10
Default

Any idea??

Thanks in advance.
Reply With Quote
  #9 (permalink)  
Old 02-11-2011, 12:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by clerma View Post
Any idea??

Thanks in advance.
Your hosts file is incorrect, got o the Split DNS article and see what the correct format is and what should be in that file.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 02-13-2011, 09:51 AM
Member
 
Posts: 10
Default

Bill

I double check the Split DNS I also changed my host files as:

zimbra:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.49.130 zimbra.zimbra-local.com zimbra

One important point is that sending emails between @zimbra-local.com domain works perfect, that is the dummy domain that I have in my laptop (local, not work from internet).

Maybe over a laptop enviornment I can not send external email or I require a server and Internet provider to set the DNS stuff...

If somebody had setup on a lap I appreaciate your comments, due to next week I will show to IT Director the zimbra capabilities in order to stop using exchgange

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