
You can alter the "listening" ports in the config file and EFS if the respective ports are already in use. Outbound traffic from your mail server to the Internet is then proxied through sTunnelĮssentially EFS connects locally to stunnel on port 1109, and stunnel acts as an intermediary proxying the standard EFS Pop3 port via a secure Pop3 tunnel to your ISP. This creates a private key, and self-signed certificate. make cert This will run the following commands: openssl req -new -x509 -days 365 -nodes -config stunnel.cnf -out stunnel.pem -keyout stunnel.pem. Optionally, if your ISP supports SMTPS (secure SMTP) then point your local mail server smart host entry (assuming you are configured to use a smart host) to be 127.0.0.1 and port to be 259 and the ':465' to be the remote ISP SMTPS server. Generating the stunnel certificate and private key (pem) In rder to generate certificate and corresponding private key, simply do a. Change the Pop3 server in EFS to point to 127.0.0.1 and the port to be 1109ĥ. Create an 'nf' file in the stunnel program folder that contains the following (replacing the ':995' portion to be your ISP's POP3S server and port)Ĥ.
#STUNNEL OFFICE 365 CONFIG INSTALL#
Install sTunnel on the same machine as EFS.ģ. Mozilla Firebird mail client directly SLL/SMTP on the same PC connection to same Office 365 mail server works ok, but via Stunnel it outputs the error log below. In those cases you will need to use a mail relay program to get the mail out. Download the latest "stunnel" binary (.exe) from the following location. If you’re using Office 365 or almost any other major email provider, sending email without encryption isn’t an option. It is exceptionally easy to install and configure, has a small footprint and can run on the same server as EFS (optionally as a service).ġ. Double click on the icon and you can see Double click on the icon and you can see Step 3: Go back to your redis-cli The original file looks like this: Stunnel configuration file for Office 365 SMTP and POP3 Author: MessageOps, www ' Click Run as Administrator (Vista or W7), or click Open (XP) We are getting 'stunnel exited 5 time(s.

This software 'proxies' the standard EFS POP3 port connecting securely via POP3S. Natively, EFS does not support POP3S (secure POP3) However, there is simple workaround for this using a very good product called "stunnel".
#STUNNEL OFFICE 365 CONFIG HOW TO#
HOW TO RUN EFS TO COLLECT VIA POP3S (SSL)


It works with SBS 2003 pop connector! I hope this helps others forced to change by BT. Configuring Stunnel for Office 365 Getting stunnel up and running is pretty straight forward.
