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

Thread: [SOLVED] CentOS 5/Zimbra 5 MTA won't start

  1. #1
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    7

    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!

  2. #2
    Join Date
    Jan 2008
    Posts
    8
    Rep Power
    7

    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.

  3. #3
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    8

    Default

    For the port conflict, sendmail is installed in CentOS by default. Stop it by doing
    Code:
    service sendmail stop
    chkconfig --del sendmail

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Oct 2007
    Posts
    12
    Rep Power
    8

    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

  7. #7
    Join Date
    Jan 2008
    Posts
    19
    Rep Power
    7

    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.

  8. #8
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    7

    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!

  9. #9
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    su - zimbra
    zmprov gacf
    as well as:
    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 : http://www.zimbra.com/forums/adminis...ily-email.html

    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 03:11 PM.

  10. #10
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Realized your new, zmprov commands are like:
    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:
    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

Similar Threads

  1. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 09:57 AM
  2. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 03:27 PM
  3. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 10:35 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Zimbra MTA and CentOS VPS on OpenVZ
    By czaveri in forum Installation
    Replies: 2
    Last Post: 03-20-2006, 09:42 AM

Posting Permissions

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