Make openwemail v2.5x fetch external mail using pop3/SSL protocol

  1. First, check if the perl module IO::Socket::SSL is already installed.
  2. Edit /var/www/cgi-bin/openwebmail/etc/defaults/openwebmail.conf,
    and add
    authpop3_usessl         yes
    (Not sure if this is necessary, but according to the manual: If this option is on, openwebmail will set 'use SSL connection' to yes when creating new record in pop3 book.)

  3. Creat external pop3 configurations using openwebmail graphical interface under "Pref" -> "POP3 Setup".

  4. Backup the existing $HOME/.openwebmail/pop3/pop3.book. The contents of the file should look like the following:
    pop3.srv1.foo.bar@@@110@@@0@@@user1@@@EnCrYpTed_PaSsWoRd@@@1@@@1
    pop3.srv2.foo.bar@@@995@@@0@@@user2@@@eNcRyPtEd_pAsSwOrD@@@1@@@1
    
    In the above example, the first line is a typical setup of fetching email from a regular pop3 server without SSL, and the second line is to be set for a secure external pop3s server.

  5. Change the 0 marked in RED to 1 will enforce pop3s protocol during the fetch.

    If this bit is not fixed manually, you will see in the error log the following message:
    pop3 error server not ready at user2@pop3.srv2.foo.bar:995

    July 28, 2014.