Koozali.org: home of the SME Server

Newbie can't get to webmail

Offline howardr

  • *
  • 20
  • +0/-0
Newbie can't get to webmail
« on: February 29, 2012, 12:14:03 AM »
Greetings all,

I have a registered URL www.xxxxxxxx.com.

I can ping the mail side as mail.xxxxxxx.com and the ping resolves

How can I get to the sme webmail as I key in https://www.smeserver751.xxxxxxxx.com and it doesn't reslove. 

I'm trying to get to the sme webmail via microsoft outlook and I have the sme webmail defined using IMAP.

Any Help will be appreciated.

Sorry forgot to add that I'm running as server only and sme is being run in a VMware virtural machine.
« Last Edit: February 29, 2012, 12:49:04 AM by howardr »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Newbie can't get to webmail
« Reply #1 on: February 29, 2012, 02:05:24 AM »
Greetings all,

I have a registered URL www.xxxxxxxx.com.
you have a registered DOMAIN xxxxx.com ...
do you put that same xxxxx.com as domain on SME server ?
what is your hostname for SME server ?

Quote
I can ping the mail side as mail.xxxxxxx.com and the ping resolves

the hostname/alias  "mail" is one of several defaults hostnames created by SME. the hostname "www" is another one. So if you can ping them from INSIDE LAN to server, you can talk to server = GOOD!


Quote
How can I get to the sme webmail as I key in https://www.smeserver751.xxxxxxxx.com and it doesn't reslove. 
hum... you should configure your IMAP client using mail.xxxxxx.com or <hostname>.xxxxxx.com ... and even www.xxxxxxx.com should works but www.anything.xxxxx.com should not work, so it's fine so far.
Even if your hostname is "smeserver751", you should use just "smeserver751.xxxxxxx.com" as server name to configure your IMAP client.

Quote
I'm trying to get to the sme webmail via microsoft outlook and I have the sme webmail defined using IMAP.
Quote
To access Webmail, just ENABLE it on Server Manager and use a browser.

To acess e-mail, you can use any client you wish... I'd recommend to use Thunderbird. Outlook... it's hard to configure in SO MANY ways.
...

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #2 on: February 29, 2012, 02:59:48 AM »
Thanks Jader;

I reread some of the SME webmail documentation and found that being the SME server is in Server Only mode and there is a Cisco firewall/router in front of it I needed to open up port 443 which I did and now I can get to the SME webmail server and send out messages to my Yahoo account.

However now there is an issue with sending messages to my user id on the SME mail server.

I create a message and send it out as firstname.lastname@xxxxxxxx.com.

The message goes out but never gets to that user on the SME mail server.  It never even bounces back to my Yahoo mail account...it just goes into never never land.

Any help with this part of the issue.

Thanks.
« Last Edit: February 29, 2012, 03:03:03 AM by howardr »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Newbie can't get to webmail
« Reply #3 on: February 29, 2012, 01:53:22 PM »
howardr

Have you also opened port 25 on your cisco firewall and forwarded it to sme server (ie for the smtp mail server) ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #4 on: February 29, 2012, 06:15:20 PM »
Thanks for your reply Mary.

No, I'm going to do that today and I'll post a reply as soon as I try it. :-P

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #5 on: February 29, 2012, 10:49:02 PM »
Mary,

Your fix worked.  Webmail is now working.

Thank you again.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Newbie can't get to webmail
« Reply #6 on: March 01, 2012, 03:41:59 AM »
howardr

Quote
Your fix worked.

It was not really a fix, but the answer to a wrong configuration on your part, due I guess to a lack of knowledge or understanding.
Note the same concept will apply to any other services you wish to access from external locations that are on the sme server, you will need to open and forward appropriate ports on your cisco firewall, eg pop or imap access, or ssh or sftp or whatever.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #7 on: March 01, 2012, 05:58:53 AM »
Mary, thanks again.

One more quick question.

More often then not I will have to access the sme management screen from various remote locations and I don't know before hand what the network ids will be.

The server management remote access screen asks for the network that will be used for remote access, I don't know before hand what that will be.

How do I handle this.  Perhaps I'm not understanding what is being asked for here.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Newbie can't get to webmail
« Reply #8 on: March 01, 2012, 06:58:54 AM »
howardr

Two possible/practical answers here

One is to setup a VPN connection from the remote location to the sme server, then you can open server manager in a browser, as if you were on the LAN.

Second is to setup a secure tunnel using Putty, via ssh connection and say port 443, then open your browser to http://localhost/server-manager
Search the forums for how to do this, it is pretty simple to configure in Putty
It looks like this in the Putty Configuration under Connection, SSH , Tunnels, forwarded ports
L443 localhost443

Obviously you will need to install Putty (ssh program) on the remote workstation, but you could carry it around on a USB stick, along with the secure key file that allows passwordless access to the server (using the ppkey). I think there is a Howto about using public private keys.

The second method is very secure and is my preferred choice.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Newbie can't get to webmail
« Reply #9 on: March 01, 2012, 08:17:50 AM »
the third, and the easiest one, is to login as root via ssh and
Code: [Select]
elinks

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Newbie can't get to webmail
« Reply #10 on: March 01, 2012, 09:34:49 PM »
Yes of course that is a third practical option, as long as users are comfortable with the text style server manager.
In some cases it is the only practical way to access server manager, and is also accessible from the admin console, login as admin rather than root.
It is also the way to access server manager on the server, when no workstation is available to use to access the GUI server manager.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #11 on: March 01, 2012, 10:41:59 PM »
Mary I’ve tried a dozen different configurations of SSH Tunnels in Putty.

Nothing works.

Search Google and tries several of the configurations with SSH/Putty and the set up you suggested in your note but still nothing.

I can access the SME with https://smeserver/server-manager this works without Putty on my local network.

Shouldn’t the Putty tunnel work even on the local network?

Any other suggestions will be appreciated.

Thanks

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Newbie can't get to webmail
« Reply #12 on: March 01, 2012, 10:56:13 PM »
Mary I’ve tried a dozen different configurations of SSH Tunnels in Putty.

Nothing works.

Have you enabled Secure Shell Access in server manager, found in Remote Access section

--
qui scribit bis legit

Offline howardr

  • *
  • 20
  • +0/-0
Re: Newbie can't get to webmail
« Reply #13 on: March 07, 2012, 09:33:17 PM »
Thanks all for your help.  Most of this business is resolved.

I used Putty on my Windows machine.

Setting the port to 443 didn't work.  So I just tried port 980 from a Google search I found and this seemed to work.

Thanks again...