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
  #11 (permalink)  
Old 10-12-2005, 01:39 PM
Zimbra Employee
 
Posts: 4,792
Default

Can you post your /var/mail/zimbra.log and /opt/zimbra/log/zimbra.log when you try your test?
Reply With Quote
  #12 (permalink)  
Old 10-12-2005, 01:43 PM
Loyal Member
 
Posts: 96
Default

If I have any more problems I will. Reinstall went fast.

I could try to recreate it for you. If you really want.
Reply With Quote
  #13 (permalink)  
Old 10-12-2005, 03:37 PM
Loyal Member
 
Posts: 96
Default

Ok, after a reinstall it sends it to foo.com with no errors, but it never reaches its destination. It's also on a lan named foo.com. maybe that's the problem? Although there is nothing like that in my hosts file so I'm assuming I've done something wrong somewhere. My paste below shows /opt/zimbra/log/zimbra.log is empty. and my /etc/hosts file is ok. I can send to all other domains; my gmail account, my hotmail account, etc. but not foo.com. Any other ideas? because the users have to be able to email one another on foo.com. Would the relay host have anything to do with it? I'm using one.

[root@zimbra log]# ls
amavisd.pid clamd.log freshclam.log myslow.log tomcat.pid zmmtaconfig.log zmmyinit.log
audit.log clamd.pid freshclam.pid mysqld.log zimbra.log zmmtaconfig.pid
[root@zimbra log]# cat zimbra.log
[root@zimbra log]# cat zimbra.log | more
[root@zimbra log]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost
Reply With Quote
  #14 (permalink)  
Old 10-12-2005, 03:43 PM
Zimbra Employee
 
Posts: 4,792
Default

/etc/hosts is short. You need a line with the real server IP and host.domain then host.

So like:

host.domain host

Did you also check /var/log/zimbra.log?
Reply With Quote
  #15 (permalink)  
Old 10-12-2005, 03:58 PM
Loyal Member
 
Posts: 96
Default

[QUOTE]
Maybe that's the problem then because I used that domain name during the configuration phase of the installation.

in /var/log/zimbra.log I parsed this. It looks like that's what it's complaining about no?
Oct 12 17:38:26 localhost postfix/smtpd[3105]: initializing the server-side TLS engine
Oct 12 17:38:26 localhost postfix/smtpd[3105]: connect from localhost.localdomain[127.0.0.1]
Oct 12 17:38:26 localhost amavis[2378]: (02378-01) AUTH not needed, user='', MTA offers ''
Oct 12 17:38:26 localhost postfix/trivial-rewrite[3101]: warning: do not list domain localhost.localdomain in BOTH mydestination and virtual_mailbox_domains
Oct 12 17:38:27 localhost postfix/smtpd[3105]: 0DAAD8A06AA: client=localhost.localdomain[127.0.0.1]
Oct 12 17:38:27 localhost amavis[2378]: (02378-01) response to RCPT TO for : "250 Ok"
Oct 12 17:38:27 localhost postfix/cleanup[3102]: 0DAAD8A06AA: message-id=<32372815.1129153104546.JavaMail.zimbra@localhost>
Oct 12 17:38:27 localhost postfix/qmgr[3094]: 0DAAD8A06AA: from=, size=990, nrcpt=1 (queue active)
Oct 12 17:38:27 localhost postfix/smtpd[3105]: disconnect from localhost.localdomain[127.0.0.1]
Oct 12 17:38:27 localhost amavis[2378]: (02378-01) FWD via SMTP: -> , 250 2.6.0 Ok, id=02378-01, from MTA([127.0.0.1]:10025): 250 Ok: queued as 0DAAD8A06AA
Oct 12 17:38:27 localhost postfix/smtp[3106]: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /opt/zimbra/postfix-2.2.3/conf/main.cf

Should I reinstall yet again and actually create a domain? or can I just create it in main.cf? The first time I did I was getting all sorts of hostname errors but that was before I ran 'yum update' which I saw in a different post. Since then it's been working until I can't email foo.com. Shouldn't it be giving me problems emailing all domains and not just this one?



[QUOTE]
Reply With Quote
  #16 (permalink)  
Old 10-12-2005, 04:08 PM
Zimbra Employee
 
Posts: 4,792
Default

You should not need to edit main.cf If you do it may break things. You need to have a correct /etc/hosts. I recommend you create a valid /etc/hosts with the server's real IP and domain you want to use. Then install and create that domain at install time.
Reply With Quote
  #17 (permalink)  
Old 10-12-2005, 04:23 PM
Loyal Member
 
Posts: 96
Default

Yet another install? Heh. No biggie, I can do it with my eyes closed, just not necessarily correctly Thanks for the help. So far it seems a great product though! I know this is something I've done. If my lan domain here is foo.com should I name it something like mail.foo.com?
Reply With Quote
  #18 (permalink)  
Old 10-12-2005, 05:07 PM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by agnOstos
Yet another install? Heh. No biggie, I can do it with my eyes closed, just not necessarily correctly Thanks for the help. So far it seems a great product though! I know this is something I've done. If my lan domain here is foo.com should I name it something like mail.foo.com?
You should make the domain the domain you expect to get mail at. If you expect to send to joe@foo.com the domain should be foo.com and then from everywhere foo.com should resolve to this box.
Reply With Quote
  #19 (permalink)  
Old 10-13-2005, 06:00 AM
Loyal Member
 
Posts: 96
Default

Sorry to take up so much of your time. I thought I knew what I was doing a little bit more than is taking place. Now that I've created it foo.com I get the following, which is the same when I tried it the first install.

Creating db...done
Setting the hostname to foo.com...done
Setting the LDAP host to foo,com...done
Initializing ldap...done
Creating server foo.com...done
Creating domain foo.com...done
Creating admin account admin@foo.com...done
Adding foo.com to zimbraMailHostPool in default COS...done
Initializing mta config...done
Configuring SNMP...done
Setting services on foo.com...done
Setting up SSL...done
Starting servers...Calling GetServiceInfoRequest (foo.com)

RESPONSE: (Zimbra::Mon::serviceInfo)
host
ip
name foo.com
done
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.C
ommunicationException foo.com:389)

Installation complete!

Operations logged to /tmp/install.log.8360

************************************************** ******
That log doesn't exist by the way.
Reply With Quote
  #20 (permalink)  
Old 10-13-2005, 10:56 AM
Zimbra Employee
 
Posts: 4,792
Default

I see " Setting the LDAP host to foo,com...done" Did you enter a comma rather than a dot for the LDAP host? Can you post you latest /etc/hosts. Want to make sure that is et correctly now.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.