Author Topic: step by step procedure for configring hotmail (SOLVED) thanks to Christian  (Read 2579 times)

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Dear all, am a newbee, recently i had setup zentyal 3.2 as a web proxy server for my client with 12 computers on windows platform. i need to setup microsoft outlook client. what are the steps for configuring outlook in zentyal.
« Last Edit: January 29, 2014, 07:02:26 pm by jineshthampi »

christian

  • Guest
Re: step by step procedure for configring hotmail
« Reply #1 on: January 28, 2014, 10:09:43 am »
What in Zentyal documentation is not clear enough to start configuring mail ?
Any specific problem server side or client side ?
I'm not Windows specialist but I also don't understand the link, if any, between hotmail and Zentyal  ???

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #2 on: January 28, 2014, 10:25:40 am »
yes, i too gone through the documentation.  :D the main prblm bugging me is the outlook client cannot contact the server. I need to know is there any specific settings for the client and the server (hotmail)

christian

  • Guest
Re: step by step procedure for configring hotmail
« Reply #3 on: January 28, 2014, 10:36:03 am »
somewhat clearer, I hope... let me explain:
outlook contacting hotmail has nothing to do with Zentyal mail (well, except if you intend to use the pop3 transparent proxy service but this one is another story) thus you don't need to "configure outlook in Zentyal"...

If your goal is to connect to external mail server, then remove Zentyal mail related modules. If your clients were already configured to connect to hotmail server, do not change anything but allow these protocols to go through Zentyal firewall.
One aspect that may have an impact is DNS. Be sure your clients are able to resolve, either using Zentyal or external DNS, names.

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #4 on: January 28, 2014, 11:31:35 am »
ok dear.. lemme try this evening when i get hands on the server. and will let u knw the status..

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #5 on: January 28, 2014, 05:02:53 pm »
still the same error

Receiving' reported error (0x80042108) : 'Outlook cannot connect to your incoming (POP3) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

how could i configure outlook client or any other email client. I mean incoming mail server and outgoing mail server. and on server side what should i need to add...??

robb

  • Guest
Re: step by step procedure for configring hotmail
« Reply #6 on: January 28, 2014, 05:15:50 pm »
To take out any confusion:
you try to configure outlook to use hotmail on a windows client with Zentyal as a gateway on your local LAN. You have NOT installed any mail modules on Zentyal server since you use an external mail provider (hotmail)

To be able to connect outlook with hotmail, you need to allow the ports for incoming and outgoing mail on the Zentyal firewall.
http://setup-outlook.com/outlook2007hotmail.php
according the link pop3 over SSL uses port 995 for incoming mail and smtp over SSL uses port 587
Alternatively you can use port 25 for non SSL SMTP.
« Last Edit: January 28, 2014, 05:17:44 pm by robb »

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #7 on: January 28, 2014, 05:39:34 pm »
had already opened the port. how can open specific port like 995 and 587..??

christian

  • Guest
Re: step by step procedure for configring hotmail
« Reply #8 on: January 28, 2014, 05:57:05 pm »
I suppose you have somewhat truncated understanding.

In term of firewall, there is no need to configure any rule "from internet to Zentyal" or "from internet to internal" (well, if I remember well, this one disappeared from Zentyal GUI  ???). Rules "from internal to Zentyal" are useless too here.

From outlook, you are opening 2 different kind of session (and protocol).
Now that you explain that you are using POP3 (thanks to the error message you at least provided), and as explained by Robb, you need to allow, "from internal to internet" ports 995 & 587. That's it... in order to achieve this, as service already exist, ensure that "mail submission" service is defined to use port 587 and POP3 service is defined to use port 995 then ensure that you have these 2 services "from internal to internet".
Be also sure that you can resolve you hotmail server name from your client.

Once all of this works fine, next step would be to implement, perhaps, Zentyal mail stuff so that you can benefit from POP3 proxy service with, e.g. anti-virus.

fasttech

  • Zen Monk
  • **
  • Posts: 76
  • Karma: +5/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #9 on: January 28, 2014, 06:06:55 pm »
At this rate you're going to leave your server and network wide open for anyone to do as they please.

Your mail client needs to access Microsoft's hotmail servers. You only need to allow internal to external mail protocols.

Ports are defined in network- services, there should already be a service by default for incoming mail that covers the 4 main ports.

You add this service to your internal to external fw rules, it should actually already be there by default.

You seem to have a client setup issue with Outlook to access Hotmail.

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #10 on: January 29, 2014, 08:25:22 am »
Its the same problem with the thunderbird too. cannot find the mail servers. I had opened the ports in firewall module.  ::) . Is there anyway where i can define the mail server address like pop3.xxx or imap.xxx.

christian

  • Guest
Re: step by step procedure for configring hotmail
« Reply #11 on: January 29, 2014, 11:14:02 am »
Why do you hide the source field ?
You are just wasting your time: either these are public (but internal) IPs (which I doubt) or these are IPs in the RFC1819 range and nobody cares if your workstation is at 192.168.1.5 or .6  It can't be reached from outside

I'm also surprised that you define source IP in such rule. Do you mean you intend to control, using FW, who will be authorized to access external mail server ?

Last but not least, did you ensure you can resolve server name from you workstation and could you please show what your POP3 network service contains ?

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #12 on: January 29, 2014, 03:07:14 pm »
did you ensure you can resolve server name from you workstation..?? i didn't get this point mate..??

christian

  • Guest
Re: step by step procedure for configring hotmail
« Reply #13 on: January 29, 2014, 03:21:28 pm »
Depending on how clients are configured, it may happen that server can't be reached because application 'here Outlook) can't translate server name into IP address, especially now that you have Zentyal in the middle.
On your client, open the "command" windows (cmd.exe) and type:
Code: [Select]
ping [my_hotmail_server]where [my_hotmail_server] is the name (without brackets, of course) of your hotmail server as configured in your Outlook client.
It should return messages showing that it tries to ping an IP address.
It doesn't really patter if ping is successful or not, goal being to test name resolution.
You could also use nslookup if you're more comfortable with it.

If name is resolved, then you will need to investigate further, e.g. looking at syslog.

jineshthampi

  • Zen Apprentice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: step by step procedure for configring hotmail
« Reply #14 on: January 29, 2014, 03:37:26 pm »
1. i cannot ping the mail servers (destination unreachable) for pop3 and smtp
2. with nslookup its shows the details of zentyal