You are here
technotux - Sun, 2010/01/17 - 20:47
Hi,
I have downloaded and installed Turnkey Zimbra .ISO image and also installed it on the PC now i am trying to access zimbra PC from the other PC connected to the same network,
as zimbra shows it's ip address i.e. 192.168.0.1 & port no. i.e. 7071 to access Zimbra admin from the other PC through web brower, still i am not able to access the PC while i am able to access Webmin & Webshell also able to login successfully, but only i am not able to access Zimbra, do i have to execute any command to access Zimbra Admin & it's Web ?
Thanks in advance
Yogesh
Forum:
Did you see the bugfix thread about configuring Zimbra?
Did you see the bugfix thread about configuring Zimbra referenced from the appliance page?
Re: How to access Zimbra Admin from web + more
(ps. sorry if a bit off topic, but I hate registering, so I thought I'd see if it is possible to post a comment here without registering :) )
Hi Neil,
Is it actually necesarry to do zimbra-conf before using the Zimbra image?
I am trying to use the VMware image, and this is my experience so far:
So I could log in to the admin part, add a newuser@example.com - my only problem is that I cannot get the newuser to send an email to itself though the Zimbra web interface! And unfortunately, there are no visible errors in /opt/zimbra/log/mailbox.log
So do I have to do something in addition to the above steps (like possibly running zimbra-conf) so that the mail can start working - at least for users mailing themselves? (I just want to do some tests on a local network, I don't care if the domain is example.com or an 192.168.*.* IP address) ...
I'd say, the webpage is not quite clear on it:
"Includes custom zimbra-conf script to change domain, admin passwords and regenerate Zimbra related secrets." (http://www.turnkeylinux.org/zimbra) - this doesn't quite tell me if I *must* run zimbra-conf in order to get things working, or if it is optional?
I tried to add:
but it didn't really help - still newuser@example.com cannot send an email to itself from the Zimbra web interface..Any help would be greatly appreciated!
Thanks, Cheers!Zimbra is picky when it comes to DNS resolution
Anyway, to answer your questions:
It takes a while for all the zimbra services to start, thats why you noticed the lag (we should consider making a note about that on the appliance page).
You can't really send email to user@example.com, as zimbra is really picky when it comes to DNS resolution, and example.com is a reserved domain (see RFC 2606, section 3)
So, you should be using zimbra-conf to change the domain name, unless you just want to test zimbra without actually sending/receiving email.
I hope the above helps.
Re: Zimbra Admin + more DNS
Hi Alon,
Thanks a lot for the very prompt answer! It did indeed help for getting a solution. Sorry for the longish response here, but I think it could be useful...
Thanks for that - in fact, I was quite surprised to see a message like "You have reached this web page by typing "example.com", "example.net", or "example.org" into your web browser. These domain names are reserved for use in documentation and are not available for registration. See RFC 2606, Section 3." when I entered example.com in the browser, instead of the the expected parked domain generic page :)
Indeed - you should consider making a note not only about that, but also about this example.com RFC thing (considering noobs like me will try to use the appliance anyway, in a context similar to mine - expecting, like I did, that work regarding DNS and such would be already taken care of).
Thanks for this pointer - and indeed, I do need to use zimbra-conf to change the domain name, but that is only a part of the story in order to get email to run locally. As far as I understood, Zimbra is made in that manner, that it must ask a Domain Name Server, for the actual name of the email server. And if you intend to use the image locally, most likely you don't have such a server installed anywhere - and it is definitely not on the virtual image by default.
So, in brief, what needs to be done (in addition to zimbra-conf) is to install a DNS server (known as BIND) on the Zimbra VM Image - which will simply point to itself as the email server responsible for the domain set by zimbra-conf. Should a noob try to do this manually, there is quite a possibility for an error in the settings; luckily, the Turnkey image comes with Webmin, which makes the installation of a BIND nameserver a bit easier.
So, eventually, what I did is the following:
I have included some of the steps I took in each of these phases, along with the BIND setup, below. Note that even after all this (and after email starts working), some addresses internally (I guess those for spam/ham training) still refer to example.com, but that should not harm basic email operation.
Hope this helps,
Running the zimbra-conf script, to change the domain to myzimbra.localCheers!
- Power off Zimbra Virtual Machine, restart it again
- Wait for about 5 min, until the intense hard disk/network activity of the VM settles down (this is probably all the services starting)
- Login via ssh to Zimbra VM server ssh root@192.168.1.223
- Apply patch in zimbra-conf fails with ERROR: account.AUTH_FAILED (Solved)
- Check if patch applied root@zimbra:~# nano /usr/local/bin/zimbra-conf
- Run the script: root@zimbra:~# /usr/local/bin/zimbra-conf myzimbra.local xxxxzzzz
- Got an error at this point:
- Try it:
- Power off (shutdown appliance from menu), reboot VM again, wait, login via ssh
- Test once:
- Edit on VM image:
- To allow access from Firefox via http://myzimbra.local/, edit /etc/hosts on the local machine (where browser is used), and again add "192.168.1.223 myzimbra.local"
- Trying to log in to web interface with just "newuser" (previously created) will fail with An invalid request was made. - however, logging in with "newuser@myzimbra.local" will work fine :)
- Try send mail to newuser@myzimbra.local - notice that the suggestion still refers to newuser@example.com - gets sent, but not received..
- Logoff the "newuser" and login to the admin console https://192.168.1.223:7071 as "admin@myzimbra.local", and don't forget the new password instead of 'turnkey'
- Check Tools / Mail Queues, notice there are "Deferred" mails, example.com being still mentioned - select them in the Messages window below, right-click, Delete
- Click Adresses/Accounts, check if admin@myzimbra.local and newuser@myzimbra.local have correct adresses (with myzimbra.local) ; try Reindex Mailbox for both too
- Go back to normal Zimbra interface, login as either "admin" or "newuser", try to send each other mails.
- Check back in the admin console, and notice that there is nothing new under Tools / Mail Queues
- Check DNS entries via ssh using dig, nslookup, host:
Testing email directly via Telnet- Try How to Send Email Using Telnet: 12 steps - wikiHow using "telnet 192.168.1.223 25" - Finally deffered shows under Tools / Mail Queues, but only if having, say "MAIL FROM:me@server.com" interpreted as recipient me@server.com
- Try a local SMTP send via telnet:
- zimbra enable clear text login, and then check via telnet / POP if there is mail..
- Check SMTP log - Zimbra - Forums: /var/log/zimbra.log and look for "Name service error":
Setup a BIND Dns server using Webmin (see also Howto: Setup a DNS server with bind - Ubuntu Forums)Wow, this is very helpful and in-depth
The same problem
Hello, i have the same problem, and i do not sucessful have to work zimbra web page...
Some ideas???
Thanks in advanced
zimbra domain problem
I have problem I install zimbar and configure it and everything goes will but I have configure two domains on it (example.com) and (example2.com) from the admin web, but how can I let the customer
Create account in domains with different web admin without any admin for each domain enter to the
Other domains (each admin must have its access to his domain to create and but polices to his domain)
Thanks..
Add new comment