Microsoft Outlook 2007 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Incoming POP3 mail with SSL broken

Running Crossover 7.0.2, Outlook 2007

When trying to configure outlook for a POP3 Account Type, (i.e. pophm.sympatico.ca), and it requires SSL for authentication (i.e. checking the box "This server requires an encrypted connection (SSL)" we receive the following error upon running 'Test Account Settings":

Log onto incoming mail server (POP3): The connection to the server
was interrupted. If this problem continues, contact your server
administrator or Internet service provider (ISP).

Any ideas?

I'm having the same issue has anyone found a fix for this? Need this to work ASAP.

Thanks!

J

Same problem here. Have tried numerous settings and not one of them work.

Would appreciate it if ANYONE has a solution.

Thanks

I just got this working on Linux for IMAP by using stunnel. You should be able to get this to work for POP3 too. Basically you want to generate two stunnels, one for IMAP and one for SMTP. I've done this via /etc/inetd.conf like so:

imap stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r imap.gmail.com:993
465 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r smtp.gmail.com:465

From the command line, the former translates to e.g.

stunnel -c -d imap -r imap.gmail.com:993

You can test if it's working by telnet'ing to localhost 143 and trying to login:

telnet localhost 143
Trying 127.0.0.1...
Connected to edinburgh.
Escape character is '^]'.

  • OK Gimap ready for requests from 76.103.91.108 33if686099yxr.3
    a01 login yourname yourpassword
    a01 OK yourname authenticated (success)
    ^]
    telnet> quit

If all's well then change your account settings to point to localhost port 143 for IMAP and localhost port 465 for SMTP. If your localhost is already using those ports, then just switcheroo and use e.g. 998 for IMAP and 999 for SMTP - whatever works for you. Just be sure to point at port 993 on imap.gmail.com and 465 on smtp.gmail.com.

I was so happy to get this working... enjoy 😉

Hi,

I've tried the suggestion on pclos 2007.

Here's the problems:

  1. No file called /etc/inetd.conf existed. I created a blank one.
  2. stunnel was not installed, so I installed it using apt-get install stunnel.
  3. When running the stunnel command, I get the following error below:

[root@localhost etc]# stunnel -c -d imap -r imap.gmail.com:993
-bash: stunnel: command not found
[root@localhost etc]# apt-get install stunnel
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
stunnel
0 upgraded, 1 newly installed, 0 removed and 622 not upgraded.
Need to get 95.1kB of archives.
After unpacking 231kB of additional disk space will be used.
Get:1 http://spout.ussg.indiana.edu pclinuxos/2007/main stunnel 4.15-2pclos2007
[95.1kB]
Fetched 95.1kB in 4s (19.4kB/s)
Committing changes...
Preparing... ########################################### [100%]
1:stunnel ########################################### [100%]
To build a new pem, execute the following OpenSSL command:
openssl req -new -x509 -days 365 -nodes \
-config /usr/share/doc/stunnel-4.15/stunnel.cnf \
-out /etc/ssl/stunnel/stunnel.pem -keyout /etc/ssl/stunnel/stunnel.pem

Done.
[root@localhost etc]# stunnel -c -d imap -r imap.gmail.com:993
2009.01.09 11:54:47 LOG3[14460:3083441856]: -c: No such file or directory (2)

Syntax:
stunnel [<filename>] ] -fd <n> | -help | -version | -sockets
<filename> - use specified config file instead of /etc/ssl/stunnel/stunnel. conf
-fd <n> - read the config file from a file descriptor
-help - get config file help
-version - display version and defaults
-sockets - display default socket options
[root@localhost etc]# telnet localhost 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@localhost etc]#

I've had some success with stunnel as well. I had to install openbsd-inetd on my system (Ubuntu 8.10) and put the following in my inetd.conf:
995 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r mail.comcast.net:995
587 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -n smtp -r smtp.comcast.net:587
996 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r pop.gmail.com:995
588 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -n smtp -r smtp.gmail.com:587

The -n smtp may not be strictly required, so try without it. Once this is done, configure outlook for those ports, but DO NOT enable ssl in outlook.

--IMPORTANT!--
THESE PORTS MAY BE OPEN TO THE WORLD ON YOUR SYSTEM! CHECK YOUR /etc/hosts.deny AND /etc/hosts.allow FILES AND PREVENT PEOPLE FROM USING YOUR COMPUTER AS A MAIL PROXY!

my /etc/hosts.deny contains:
ALL:ALL EXCEPT localhost:DENY

my /etc/hosts.allow contains:
ALL:127.0.0.1 # allow all connections from localhost
sshd: ALL: ALLOW # allow incoming ssh connections

Ok running Ubuntu 9.0 and Xover 8.0. Switching to 8.0 stopped outlook from crashing randomly when opening certain emails, mainly the ones that contain pictures. I also was able to use:
sudo stunnel -c -d 465 -r smtp.gmail.com:465
sudo stunnel -c -d 998 -r imap.gmail.com:993

to bypass the SSL not working, but every time I restart Ubuntu I have to go into terminal and re-execute these commands. Is there a way to have it do it automatically? I tried putting the commands in putting it in my inet.conf like:

Spurgle Rocklefink wrote:

I just got this working on Linux for IMAP by using stunnel. You
should be able to get this to work for POP3 too. Basically you want
to generate two stunnels, one for IMAP and one for SMTP. I've done
this via /etc/inetd.conf like so:

imap stream tcp nowait nobody /usr/bin/stunnel
stunnel -c -r imap.gmail.com:993
465 stream tcp nowait nobody /usr/bin/stunnel
stunnel -c -r smtp.gmail.com:465

But it does not work. Any ideas?

Mark Smith wrote:

I've had some success with stunnel as well. I had to install
openbsd-inetd on my system (Ubuntu 8.10) and put the following in my
inetd.conf:
995 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r
mail.comcast.net:995
587 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -n smtp
-r smtp.comcast.net:587
996 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -r
pop.gmail.com:995
588 stream tcp nowait nobody /usr/bin/stunnel stunnel -c -n smtp
-r smtp.gmail.com:587

The -n smtp may not be strictly required, so try without it. Once
this is done, configure outlook for those ports, but DO NOT enable
ssl in outlook.

--IMPORTANT!--
THESE PORTS MAY BE OPEN TO THE WORLD ON YOUR SYSTEM! CHECK YOUR
/etc/hosts.deny AND /etc/hosts.allow FILES AND PREVENT PEOPLE FROM
USING YOUR COMPUTER AS A MAIL PROXY!

my /etc/hosts.deny contains:
ALL:ALL EXCEPT localhost:DENY

my /etc/hosts.allow contains:
ALL:127.0.0.1 # allow all connections from localhost
sshd: ALL: ALLOW # allow incoming ssh connections

erm...turns out that stunnel doesn't respect hosts.allow or hosts.deny. Or openbsd-inetd it would seem. I'd suggest using ufw to set up your firewall instead. Docs on the ubuntu website.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiSkdybVJzQnM2SHlkZk5tZiIsImdkcHIiOjB9