Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Other > Zimbra in Education

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 Display Modes
  #11 (permalink)  
Old 09-01-2007, 09:27 AM
Zimbra Consultant
 
Posts: 5,814
Default

Yup, I'd say there's at least one install question a day on DNS & MX records.

Have have 'em read up on NAT as well (Network Address Translation aka Network Masquerading/IP Masquerading).
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #12 (permalink)  
Old 09-04-2007, 11:38 AM
Intermediate Member
 
Posts: 16
Default Progress?

So the back tick command gave me a "Command not found" error.
But the mx command gave us this.

;; QUESTION SECTION:
;mail.mpseast.com. IN MX

;; ANSWER SECTION:
mail.mpseast.com. 3600 IN MX 10 mail.mpseast.com.

;; AUTHORITY SECTION:
mpseast.com. 19201 IN NS dns3.valueweb.com.
mpseast.com. 19201 IN NS dns1.valueweb.com.
mpseast.com. 19201 IN NS dns2.valueweb.com.

;; ADDITIONAL SECTION:
mail.mpseast.com. 1609 IN A 170.211.174.36
dns1.valueweb.com. 149228 IN A 207.36.172.5
dns2.valueweb.com. 149228 IN A 207.36.173.5
dns3.valueweb.com. 153700 IN A 207.36.174.5

Both, Postfix and zmapchectl aren't running.
Reply With Quote
  #13 (permalink)  
Old 09-04-2007, 01:37 PM
Zimbra Consultant
 
Posts: 5,814
Default

Your external (what you posted) looks fine.

Is the only IP assigned to the box 170.211.174.36? or do you have a private ip?-for which you need the machine to resolve lookups from the local dns (the bind articles or use the 2 dns boxes you already have) and get a private ip, usually like the below:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
(assigned via dchp or manually set on every computer)


/blog/archives/2007/06/making_zimbra_bind_work_together_1.html
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #14 (permalink)  
Old 09-04-2007, 02:25 PM
Intermediate Member
 
Posts: 16
Default

170.211.174.36 = router ip (mpseast.com & mail.mpseast.com point to this ip)
192.168.1.15 = linux box (zimbra box) ip
192.168.1.2= Domain Controller/IIS/DNS

So at this point everythingis correct, we just need to work on DNS? Should we load bind on the linux box or try to use the windows DNS? Which would be easier?

Since the DNS on the windows network is already running wouldn't we just have to make some entry changes? Maybe set up a reverse lookup zone?

Last edited by mvincent : 09-04-2007 at 02:36 PM. Reason: DNS is confusing
Reply With Quote
  #15 (permalink)  
Old 09-04-2007, 04:42 PM
Zimbra Consultant
 
Posts: 5,814
Default

Yup, if your able to manage the 192.168.1.2 DNS box, give it an entry for mail.mpseast.com pointing to 192.168.1.15

on the zimbra box- make sure your /etc/resolv.conf (or just see dns settings in your GUI) are set to use the internal 192.168.1.2 box for dns lookups

set your /etc/hosts to:
127.0.0.1 localhost.localdomain localhost
192.168.1.15 mail.mpseast.com mail

/etc/hostname (or again use your gui):
mail.mpseast.com

if the hostname has changed/was different-easiest to just do a fresh uninstall/reinstall of zimbra (note: you shouldn't have the proxy (perdition) service installed at all on a single server setup)

Once zimbra is fired up, be sure 'enable dns lookups' is check in both the server & global settings mta tabs (it probably will already be)

These should return the private ip's:
host -t mx domain
or
host `hostname` <-- backticks not single quotes

Later on (well you might as well set this anyway)
If you have trouble with outgoing mail & see some 554 'relay access denied' errors:
zmprov gs server.domain.com | grep zimbraMtaMyNetworks
zimbraMtaMyNetworks should have 127.0.0.0/8 192.168.1.0/24
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com

Last edited by mmorse : 09-04-2007 at 05:19 PM.
Reply With Quote
  #16 (permalink)  
Old 09-05-2007, 08:29 AM
Intermediate Member
 
Posts: 16
Default

I set a pointer of 192.168.1.15 mail.mpseast.com in the reverse lookup zone for 192.168.1.x on the windows dns server. Is there anything else I have to do. After doing this we decided to reinstall zimbra hoping that the dns and hosts issues would be taken care of. Here is the error we recieved while installing.

Suggestions?


Setting defaults... MX: mail.mpseast.com (170.211.174.36)

Interface: 192.168.1.15
Interface: 127.0.0.1
170.211.174.36
170.211.174.36


DNS ERROR - none of the MX records for mail.mpseast.com
resolve to this host
Change domain name? [Yes]

Last edited by mvincent : 09-05-2007 at 08:38 AM. Reason: adding info
Reply With Quote
  #17 (permalink)  
Old 09-05-2007, 09:12 AM
Zimbra Consultant
 
Posts: 5,814
Default

Ah, I see how you could have interpreted the 'yep' (especially after your edit)
Not not reverse, regular A & MX
You still resolving to the outside ip-as shown by the first line you posted...

Post the contents of all the files listed in my prior post, as well as your ethernet settings usually somewhere in the following:
ifconfig
system-config-network
/etc/sysconfig/network
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #18 (permalink)  
Old 09-05-2007, 10:18 AM
Intermediate Member
 
Posts: 16
Default

ect/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.mpseast.com

Reslove.conf
search localdomain
nameserver 192.168.1.2
nameserver 65.64.8.3

ect/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.1.15 mail.mpseast.com mail

Quote:
Not not reverse, regular A & MX
You still resolving to the outside ip-as shown by the first line you posted...
Not not ? i am confused. Do you want me to try to set up an A and Mx record? Would that be in forward or reverse zone?

Thank you for the help. I know it is frustrating.
Reply With Quote
  #19 (permalink)  
Old 09-05-2007, 10:26 AM
Zimbra Consultant
 
Posts: 5,814
Default

Foward, so that when searching the name you get the ip aka: name>ip (like what your webbrowser does)
(You can leave the reverse that you've already setup as is-it won't hurt. aka: ip>hostname)

for now remove:
nameserver 65.64.8.3 (not saying that you can't use it later-but for now we want to only use your local dns box just to make sure this works)
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #20 (permalink)  
Old 09-06-2007, 11:34 AM
Intermediate Member
 
Posts: 16
Default

Host mail.mpseast.com
Starting logger...Done.
Starting mailbox...FAILED
mysqld_safe already running with pid 25502


Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...FAILED
Syntax error on line 232 of /opt/zimbra/conf/httpd.conf:
Cannot load /opt/zimbra/httpd-2.0.54/modules/libphp5.so into server: /opt/zimbra/httpd-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied


Starting mta...FAILED
postmap: fatal: file /opt/zimbra/postfix-2.2.9/conf/main.cf: parameter mail_owner: unknown user name value: postfix
postalias: fatal: file /opt/zimbra/postfix-2.2.9/conf/main.cf: parameter mail_owner: unknown user name value: postfix
postfix failed to start

So, We ran into this problem.
Reply With Quote
Reply


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

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0