Package: squirrelmail
Version: 2:1.4.23~svn20120406-2
Severity: important

Dear Maintainer,


   * What led up to the situation?
Upgrade from wheezy to jessie

   * What was the outcome of this action?
Squirrelmail stopped working with "Error connecting to IMAP server localhost. 
0:" message

   * What outcome did you expect instead?
Successful login 

The problem is that it's checking the certificate CN, and since I'm running on 
a public mail server this is "mail.xxxx.com". The server name in the 
Squirrelmail config is set to 'localhost' and so PHP is not allowing the 
connection due to the certificate name being different. A simple workaround is 
to change the IMAP server in Squirrelmail to "mail.xxxx.com", but I feel this 
should either be fixed or documented as it took several hours of downtime 
before I found this fix on the internet (see: 
http://blog.hansenpartnership.com/squirrelmail-and-imaps/)

Using localhost has worked fine on wheezy (and sarge etc.) for over 5 years and 
seems to still be the recommended setting on jessie. I suspect there may be 
many others with this same issue.

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages squirrelmail depends on:
ii  apache2 [httpd]              2.4.10-10+deb8u4
ii  apache2-mpm-prefork [httpd]  2.4.10-10+deb8u4
ii  libapache2-mod-php5          5.6.17+dfsg-0+deb8u1
ii  perl                         5.20.2-3+deb8u3
ii  php5                         5.6.17+dfsg-0+deb8u1

Versions of packages squirrelmail recommends:
ii  ispell                    3.3.02-6
ii  php5-common [php5-mhash]  5.6.17+dfsg-0+deb8u1
ii  squirrelmail-locales      1.4.18-20090526-1
ii  squirrelmail-viewashtml   3.8-3

Versions of packages squirrelmail suggests:
ii  dovecot-imapd [imap-server]  1:2.2.13-12~deb8u1
pn  imapproxy                    <none>
pn  php-pear                     <none>
pn  php5-ldap                    <none>
pn  php5-recode                  <none>
pn  squirrelmail-decode          <none>

-- Configuration Files:
/etc/squirrelmail/apache.conf changed [not included]
        - updated configtest.php section to use "Require host localhost" 

-- no debconf information

Reply via email to