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 01-18-2008, 04:49 PM
New Member
 
Posts: 4
Default [SOLVED] CentOS 5/Zimbra 5 MTA won't start

I'm installing Zimbra for the first time, as well as I'm a total Linux noob too! (I'm putting a test server together for possible future migration COMPLETELY out of the Microsoft world- I'm currently MS everything, including Exchange.)

I've tried Ubuntu server, Debian and openSUSE, but I settled on CentOS 5 for the Zimbra install.

Though the actual install completed, when I go into the admin console for Zimbra, the MTA isn't started. Here are the pertinent errors from the install log:

No results returned for A lookup of mail01.example.com
Checked nameservers:
192.168.168.3
24.205.1.14
66.215.64.14


DNS ERROR resolving mail01.example.com
It is suggested that the hostname be resolveable via DNS
checking isEnabled zimbra-mta
zimbra-mta is enabled

Interface: 192.168.168.3
Interface: 127.0.0.1


DNS ERROR - none of the MX records for mail01.example.com
resolve to this host

Additionally, there was a port conflict regarding MTA on port 25 in the install as well.

Any help for how to fix this is appreciated!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:54 PM
Junior Member
 
Posts: 5
Default

assuming, you've created the appropriate A and MX records, please make sure you have an entry for mail01.example.com in your hosts file

sample hosts

127.0.0.1
xx.xx.xx.xx mail01.example.com

xx = whatever your the local ip of zimbra box is.

hope this helps.
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 07:29 AM
Active Member
 
Posts: 36
Default

For the port conflict, sendmail is installed in CentOS by default. Stop it by doing
Code:
service sendmail stop
chkconfig --del sendmail
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 09:04 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by th350urc3 View Post
assuming, you've created the appropriate A and MX records, please make sure you have an entry for mail01.example.com in your hosts file

sample hosts

127.0.0.1
xx.xx.xx.xx mail01.example.com

xx = whatever your the local ip of zimbra box is.

hope this helps.
The /etc/hosts file would be incorrect, it should read as follows:

Code:
127.0.0.1             localhost.localdomain localhost
xx.xx.xx.xx           mail01.example.com mail01
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 09:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by glgcag View Post
DNS ERROR - none of the MX records for mail01.example.com resolve to this host
In addition to the changes to your hosts file detailed in the post above you xan check your DNS with the following (run on your zimbra server):

Code:
host `hostname`  <-- type that command as-is with backticks not single quotes
dig yourdomain.com mx
dig yourdomain.com any
and post the output.

There's also a 'how-to' for installing on CentOS5 if you search through the forums.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 01-20-2008, 07:16 PM
Member
 
Posts: 12
Default Problem MTA

Hello.

I have the problem. The solutions is:

comment in your hosts file the line

127..0.0.0 localhost.localdomain localhost

and add the IP of server

#127..0.0.0
xxx.xxx.xxx

Bye
Reply With Quote
  #7 (permalink)  
Old 01-21-2008, 10:54 AM
Intermediate Member
 
Posts: 18
Default

Uninstall Sendmail, it is installed by default. This will fix your problem. I had the same issue you did. Make sure your MX record is set up right as well.
Reply With Quote
  #8 (permalink)  
Old 01-22-2008, 09:25 AM
New Member
 
Posts: 4
Default Thanks guys!

Wow, awesome info, thanks!

janderson & adavis, I stopped sendmail and MTA came up fine, I read that I should make sure sendmail is stopped but I think with all the hosts/DNS problems I forgot!

phoenix/bill & th350ourc3, thanks for the hosts help! I fixed it and all went well!

Another question about hosts though- I went into the zimbra admin console to create my domain which is not mail01.example.com, but example.com, which I have my external MX records at GoDaddy.com pointing to. I'm able to send email out with this domain, but no email is getting through. Are there additional steps when adding a domain (such as DNS and hosts file configuration) that I should be taking?

Also, can I delete the default created domain of mail01.example.com once I've created my actual domain?

Again, thanks for all the help!
Reply With Quote
  #9 (permalink)  
Old 01-22-2008, 02:09 PM
Moderator
 
Posts: 6,237
Default

Quote:
su - zimbra
zmprov gacf
as well as:
Quote:
zmlocalconfig | grep admin
(To see what references of admin@mail01.domain.com you'd need to correct.)

See here for changing the address of the daily report : [SOLVED] Changing the email address for the Daily Email

Don't know the status of the bug, but on version upgrade it used to get reset to admin@server.domain.com...
So to make it easier on yourself you could just leave that mail01.domain, then make admin@mail01.domain.com fwd > admin@domain.com

Notes: You can also rename the spam/ham to something shorter or without random numbers on the end if you want (be sure to change the actual account name as well not just
zimbraSpamIsSpamAccount/zimbraSpamIsSpamAccount values).
You'd have to move the global wiki account as well before deleting the mail01.domain.com

Last edited by mmorse; 01-22-2008 at 02:11 PM..
Reply With Quote
  #10 (permalink)  
Old 01-22-2008, 02:21 PM
Moderator
 
Posts: 6,237
Default

Realized your new, zmprov commands are like:
Quote:
zmprov mcf zimbraValueUWantChanged desiredValue
mcf = ModifyConfig

These are good references:
Zmprov (Provisioning - Zimbra :: Wiki)
Zmprov Examples - Zimbra :: Wiki
Bulk Provisioning - Zimbra :: Wiki

zmlocalconfig is per serer, much like zmprov getServer mail01.domain.com (set with modifyServer or ms)

If you execute 'zmlocalconfig' without argument, it shows the present configuration parameters and values.
(your looking for references of admin@mail01.domain.com)
Then simply:
Quote:
zmlocalconfig -e smtp_destination=admin@domain.com
also relevant to that is:
smtp_source=admin@domain.com (the from)
smtp_notify=yes
zmlocalconfig zimbra_mtareport_max_recipients=50
zimbra_mtareport_max_senders=50

If this is NE (though I imagine it's FOSS because you say you've tried Debian at one point) on 4.5.6+ the backup tab in the admin console allows for setting these zmprov attributes:
zimbraBackupReportEmailRecipients
zimbraBackupReportEmailSubjectPrefix
zimbraBackupReportEmailSender

In short, anything you set on the server level will override global settings. If you don't modify the server values at all it will just use global of course
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.