Discussion:
[SM-USERS] svn 14501 - TLS handshaking: SSL_accept() failed: error: ... alert unknown ca: SSL alert number 48
David C. Rankin
2015-06-13 00:02:35 UTC
Permalink
Paul,

After 1.5.2 update to svn 14501, I can no longer log in to squirrelmail. I
have used the same squirrelmail setup for at least the last 6-8 years. The
current server is:

Server : Archlinux x86_64 (squirrelmail on same machine)
apache : 2.4.12-4
dovecot: 2.2.18-1

It had been many months since the last update. So I did the normal 'svn
update *'. Then ran config/conf.pl and check the config -- all good. (saved the
new config as suggested in doc/UPGRADE).

In the past, squirrelmail has not checked whether whether the dovecot.pem
certs were expired, but upon first attempt to login I received the following
failure:

Jun 12 17:58:22 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
in 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking: SSL_accept() failed:
error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired: SSL
alert number 45, session=<b1x8C1oYlQAAAAAAAAAAAAAAAAAAAAAB>

Checking the cert with: 'openssl x509 -in certs/dovecot.pem -noout -text'
showed that the cert was expired:

Not Before: Dec 6 05:06:32 2013 GMT
Not After : Dec 6 05:06:32 2014 GMT

So I regenerated and installed the new certificates:

Not Before: Jun 12 23:21:37 2015 GMT
Not After : Jun 11 23:21:37 2016 GMT

All operation through Thunderbird (sending/receiving) works fine with the new
certificates, so the server isn't the issue -- it's squirrelmail. Attempted
login via squirrelmail still fails:

Jun 12 18:32:06 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
in 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking: SSL_accept() failed:
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<rM0jhFoYnAAAAAAAAAAAAAAAAAAAAAAB>

Strange? The error has changed from:

TLS handshaking: SSL_accept() failed: error:14094415:SSL
routines:ssl3_read_bytes:sslv3 alert certificate expired: SSL alert number 45

to

TLS handshaking: SSL_accept() failed: error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48

So something in squirrelmail isn't handling the TLS handshaking: SSL_accept()
quite like it used to.

Let me know what else I can do or test to help isolate the problem. I'd like
to get me squirrelmail install back up and running or I will have a lot of upset
users in the morning.

Any help appreciated. Thanks.
--
David C. Rankin, J.D.,P.E.
David C. Rankin
2015-06-13 05:11:11 UTC
Permalink
Post by David C. Rankin
Paul,
After 1.5.2 update to svn 14501, I can no longer log in to squirrelmail. I
have used the same squirrelmail setup for at least the last 6-8 years. The
<snip>
Post by David C. Rankin
All operation through Thunderbird (sending/receiving) works fine with the new
certificates, so the server isn't the issue -- it's squirrelmail. Attempted
Jun 12 18:32:06 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<rM0jhFoYnAAAAAAAAAAAAAAAAAAAAAAB>
TLS handshaking: SSL_accept() failed: error:14094415:SSL
routines:ssl3_read_bytes:sslv3 alert certificate expired: SSL alert number 45
to
TLS handshaking: SSL_accept() failed: error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48
So something in squirrelmail isn't handling the TLS handshaking: SSL_accept()
quite like it used to.
Paul,

I have a second site that is still at 1.5.2 svn rev 14405 that continues to
work (same Archlinux setup - not quite as current). Looking at the log entries
for a successful login with rev 14405, I see:

Jun 12 23:41:07 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1359, TLS, session=<yo9G1V4YvQAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:07 nirvana dovecot: imap(david): Disconnected: Logged out in=60 out=783
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1361, TLS, session=<NtpO1V4YvgAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:08 nirvana dovecot: imap(david): Disconnected: Logged out in=126
out=3025
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1363, TLS, session=<qn9U1V4YvwAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:09 nirvana dovecot: imap(david): Disconnected: Logged out in=340
out=24924

Comparing the failing login with rev 14501 and the working login with rev
14405, the immediate difference is the use of

'user=<david>, method=PLAIN'

instead of the

'user=<>, rip=::1, lip=::1, TLS handshaking'

I'm not sure what in squirrelmail controls what method the server uses, but
this seems to be the immediate cause behind the failed login with rev 14501.

On the updated site, a successful dovecot login from thunderbird looks like
the following:

Jun 12 20:05:01 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2609, TLS,
session=<wLVq0FsYMwDAqAcQ>
Jun 12 20:05:01 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=39 out=751
Jun 12 20:05:03 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2615, TLS,
session=<ewaM0FsYNADAqAcQ>
Jun 12 20:05:03 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=41 out=719

In both instances (successful login on old rev 14405) and login through
thunderbird on the updated server, since all services (postfix, dovecot, etc.)
are all running on the local machine, the login with method=PLAIN, works fine,
but whatever/however rev 14501 is attempting the login -- it is failing.

Let me know how else I can help, what additional tests you need to see,
etc... and I'll be happy to run them for you and submit the results.

Thanks.
--
David C. Rankin, J.D.,P.E.
David C. Rankin
2015-06-14 05:41:57 UTC
Permalink
Post by David C. Rankin
Post by David C. Rankin
Paul,
After 1.5.2 update to svn 14501, I can no longer log in to squirrelmail. I
have used the same squirrelmail setup for at least the last 6-8 years. The
<snip>
Post by David C. Rankin
All operation through Thunderbird (sending/receiving) works fine with the new
certificates, so the server isn't the issue -- it's squirrelmail. Attempted
Jun 12 18:32:06 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<rM0jhFoYnAAAAAAAAAAAAAAAAAAAAAAB>
TLS handshaking: SSL_accept() failed: error:14094415:SSL
routines:ssl3_read_bytes:sslv3 alert certificate expired: SSL alert number 45
to
TLS handshaking: SSL_accept() failed: error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48
So something in squirrelmail isn't handling the TLS handshaking: SSL_accept()
quite like it used to.
Paul,
I have a second site that is still at 1.5.2 svn rev 14405 that continues to
work (same Archlinux setup - not quite as current). Looking at the log entries
Jun 12 23:41:07 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1359, TLS, session=<yo9G1V4YvQAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:07 nirvana dovecot: imap(david): Disconnected: Logged out in=60 out=783
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1361, TLS, session=<NtpO1V4YvgAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:08 nirvana dovecot: imap(david): Disconnected: Logged out in=126
out=3025
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1363, TLS, session=<qn9U1V4YvwAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:09 nirvana dovecot: imap(david): Disconnected: Logged out in=340
out=24924
Comparing the failing login with rev 14501 and the working login with rev
14405, the immediate difference is the use of
'user=<david>, method=PLAIN'
instead of the
'user=<>, rip=::1, lip=::1, TLS handshaking'
I'm not sure what in squirrelmail controls what method the server uses, but
this seems to be the immediate cause behind the failed login with rev 14501.
On the updated site, a successful dovecot login from thunderbird looks like
Jun 12 20:05:01 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2609, TLS,
session=<wLVq0FsYMwDAqAcQ>
Jun 12 20:05:01 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=39 out=751
Jun 12 20:05:03 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2615, TLS,
session=<ewaM0FsYNADAqAcQ>
Jun 12 20:05:03 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=41 out=719
In both instances (successful login on old rev 14405) and login through
thunderbird on the updated server, since all services (postfix, dovecot, etc.)
are all running on the local machine, the login with method=PLAIN, works fine,
but whatever/however rev 14501 is attempting the login -- it is failing.
Let me know how else I can help, what additional tests you need to see,
etc... and I'll be happy to run them for you and submit the results.
Thanks.
Paul,

This is now looking more like a problem squirrelmail is having with Postfix
3. All the installs I have, up to and including Postfix 2.9 work. However this
latest Archlinux box has Postfix 3.

Specifically, the server on which I have 14405 has:

postfix 2.9.3-3

The server with 14501 that is failing has:

postfix 3.0.1-1

This can be seen with configtest.php results. All check succeed until the
'Checkin IMAP server' test which fails at line 740 of configtest.php:

/** Can we open a connection? */
$stream = fsockopen( ($use_imap_tls==1?'tls://':'').$imapServerAddress, $imapPort,
$errorNumber, $errorString);

Which I've compared with the test in rev 14405 and they are the same, so it
isn't the test that is causing the failure, but rather something internal to
squirrelmail handling Postfix 3.0/dovecot. Here is the full configtest output:

SquirrelMail configtest

This script will try to check some aspects of your SquirrelMail configuration
and point you to errors whereever it can find them. You need to go run conf.pl
in the config/ directory first before you run this script.

SquirrelMail version: 1.5.2 [SVN]
Config file version: 1.5.0
Config file last modified: 13 June 2015 23:31:25

Checking PHP configuration...
PHP version 5.6.9 OK. (You have: 5.6.9. Minimum: 4.1.0)
Running as N/A(N/A) / N/A(N/A)
display_errors: (overridden with 1 for this page only)
error_reporting: 22527 (overridden with 32767 for this page only)
variables_order OK: GPCS.
PHP extensions OK. Dynamic loading is disabled.

WARNING: You have configured PHP not to allow short tags
(short_open_tag=off). This shouldn't be a problem with SquirrelMail or any
plugin coded coded according to the SquirrelMail Coding Guidelines, but if you
experience problems with PHP code being displayed in some of the pages and
changing setting to "on" solves the problem, please file a bug report against
the failing plugin. The correct contact information is most likely to be found
in the plugin documentation.
Checking paths...
Data dir OK.
Attachment dir OK.
Checking plugins...
Plugin versions...
squirrelspell 0.5
calendar ??
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: http://www.*******.com:443/squirrelmail/src (location
base autodetected)
Checking outgoing mail service....
SMTP server OK (220 myhost.*******.com ESMTP Postfix)
Checking IMAP service....
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
failed in /srv/http/htdocs/squirrelmail/src/configtest.php on line 740 Warning:
fsockopen(): Failed to enable crypto in
/srv/http/htdocs/squirrelmail/src/configtest.php on line 740 Warning:
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail/src/configtest.php on line 740

FATAL ERROR: Error connecting to IMAP server "localhost:993".Server error: (0)

I tarred and moved the working rev 14405 to the new server, (checked diff
between the config.php files and they were the same for all practical purposes).
Updated the config for the site and ran configtest.php. Exact same error (except
the line number is 739 on ref 14405):

Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
failed in /srv/http/htdocs/squirrelmail_440/src/configtest.php on line 739
Warning: fsockopen(): Failed to enable crypto in
/srv/http/htdocs/squirrelmail_440/src/configtest.php on line 739 Warning:
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_440/src/configtest.php on line 739

What does this tell us? It tells us the problem is a change to either the
imap server, TLS or PHP that squirrelmail isn't handling properly. That's the
only thing that makes sense. If it were a change in squirrelmail, the moving
14405 over to the new server would have produces a working install. Instead
14405 experiences the same failure that 14501 does. That points directly to an
update most likely in postfix (2x -> 3x) causing the issue.

In summary the working install has

postfix 2.9.3-3
dovecot 2.1.8-2

The failures are occurring with:

postfix 3.0.1-1
dovecot 2.2.18-1

Between the two, the most significant API changes that are likely at issue
are those in the move from postfix 2.9.3-3 -> postfix 3.0.1-1.

Let me know if I can send anything else.
--
David C. Rankin, J.D.,P.E.
Paul Lesniewski
2015-06-14 10:27:24 UTC
Permalink
Post by David C. Rankin
Post by David C. Rankin
Post by David C. Rankin
Paul,
After 1.5.2 update to svn 14501, I can no longer log in to squirrelmail. I
have used the same squirrelmail setup for at least the last 6-8 years. The
<snip>
Post by David C. Rankin
All operation through Thunderbird (sending/receiving) works fine with the new
certificates, so the server isn't the issue -- it's squirrelmail. Attempted
Jun 12 18:32:06 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<rM0jhFoYnAAAAAAAAAAAAAAAAAAAAAAB>
TLS handshaking: SSL_accept() failed: error:14094415:SSL
routines:ssl3_read_bytes:sslv3 alert certificate expired: SSL alert number 45
to
TLS handshaking: SSL_accept() failed: error:14094418:SSL
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48
Sorry, I'm short on time, but I think you may need to look at
$imap_stream_options in config/config_local.php. Get a fresh copy of
that file if you have an old one. You can use $imap_stream_options to
point it to your CA if you are using self signed certs and you can
also turn off verify_peer if you must.

Note that logging in to SquirrelMail has nothing to do with Postfix.
SquirrelMail only talks to Postfix when sending messages, although
it's entirely possible you'd run into the same problem with that since
a similar change was made for the SMTP side. For that, again, please
see config/config_local.php and look for $smtp_stream_options

Cheers,
Paul
Post by David C. Rankin
Post by David C. Rankin
Post by David C. Rankin
So something in squirrelmail isn't handling the TLS handshaking: SSL_accept()
quite like it used to.
Paul,
I have a second site that is still at 1.5.2 svn rev 14405 that continues to
work (same Archlinux setup - not quite as current). Looking at the log entries
Jun 12 23:41:07 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1359, TLS,
session=<yo9G1V4YvQAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:07 nirvana dovecot: imap(david): Disconnected: Logged out in=60 out=783
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1361, TLS,
session=<NtpO1V4YvgAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:08 nirvana dovecot: imap(david): Disconnected: Logged out in=126
out=3025
Jun 12 23:41:08 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN,
rip=::1, lip=::1, mpid=1363, TLS,
session=<qn9U1V4YvwAAAAAAAAAAAAAAAAAAAAAB>
Jun 12 23:41:09 nirvana dovecot: imap(david): Disconnected: Logged out in=340
out=24924
Comparing the failing login with rev 14501 and the working login with rev
14405, the immediate difference is the use of
'user=<david>, method=PLAIN'
instead of the
'user=<>, rip=::1, lip=::1, TLS handshaking'
I'm not sure what in squirrelmail controls what method the server uses, but
this seems to be the immediate cause behind the failed login with rev 14501.
On the updated site, a successful dovecot login from thunderbird looks like
Jun 12 20:05:01 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2609, TLS,
session=<wLVq0FsYMwDAqAcQ>
Jun 12 20:05:01 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=39 out=751
Jun 12 20:05:03 phoinix dovecot[469]: imap-login: Login: user=<david>,
method=PLAIN, rip=192.168.7.16, lip=192.168.7.16, mpid=2615, TLS,
session=<ewaM0FsYNADAqAcQ>
Jun 12 20:05:03 phoinix dovecot[469]: imap(david): Disconnected: Logged out
in=41 out=719
In both instances (successful login on old rev 14405) and login through
thunderbird on the updated server, since all services (postfix, dovecot, etc.)
are all running on the local machine, the login with method=PLAIN, works fine,
but whatever/however rev 14501 is attempting the login -- it is failing.
Let me know how else I can help, what additional tests you need to see,
etc... and I'll be happy to run them for you and submit the results.
Thanks.
Paul,
This is now looking more like a problem squirrelmail is having with Postfix
3. All the installs I have, up to and including Postfix 2.9 work. However this
latest Archlinux box has Postfix 3.
postfix 2.9.3-3
postfix 3.0.1-1
This can be seen with configtest.php results. All check succeed until the
/** Can we open a connection? */
$stream = fsockopen( ($use_imap_tls==1?'tls://':'').$imapServerAddress, $imapPort,
$errorNumber, $errorString);
Which I've compared with the test in rev 14405 and they are the same, so it
isn't the test that is causing the failure, but rather something internal to
SquirrelMail configtest
This script will try to check some aspects of your SquirrelMail configuration
and point you to errors whereever it can find them. You need to go run conf.pl
in the config/ directory first before you run this script.
SquirrelMail version: 1.5.2 [SVN]
Config file version: 1.5.0
Config file last modified: 13 June 2015 23:31:25
Checking PHP configuration...
PHP version 5.6.9 OK. (You have: 5.6.9. Minimum: 4.1.0)
Running as N/A(N/A) / N/A(N/A)
display_errors: (overridden with 1 for this page only)
error_reporting: 22527 (overridden with 32767 for this page only)
variables_order OK: GPCS.
PHP extensions OK. Dynamic loading is disabled.
WARNING: You have configured PHP not to allow short tags
(short_open_tag=off). This shouldn't be a problem with SquirrelMail or any
plugin coded coded according to the SquirrelMail Coding Guidelines, but if you
experience problems with PHP code being displayed in some of the pages and
changing setting to "on" solves the problem, please file a bug report against
the failing plugin. The correct contact information is most likely to be found
in the plugin documentation.
Checking paths...
Data dir OK.
Attachment dir OK.
Checking plugins...
Plugin versions...
squirrelspell 0.5
calendar ??
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: http://www.*******.com:443/squirrelmail/src (location
base autodetected)
Checking outgoing mail service....
SMTP server OK (220 myhost.*******.com ESMTP Postfix)
Checking IMAP service....
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail/src/configtest.php on line 740
FATAL ERROR: Error connecting to IMAP server "localhost:993".Server error: (0)
I tarred and moved the working rev 14405 to the new server, (checked diff
between the config.php files and they were the same for all practical purposes).
Updated the config for the site and ran configtest.php. Exact same error (except
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify
failed in /srv/http/htdocs/squirrelmail_440/src/configtest.php on line 739
Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_440/src/configtest.php on line 739
What does this tell us? It tells us the problem is a change to either the
imap server, TLS or PHP that squirrelmail isn't handling properly. That's the
only thing that makes sense. If it were a change in squirrelmail, the moving
14405 over to the new server would have produces a working install. Instead
14405 experiences the same failure that 14501 does. That points directly to an
update most likely in postfix (2x -> 3x) causing the issue.
In summary the working install has
postfix 2.9.3-3
dovecot 2.1.8-2
postfix 3.0.1-1
dovecot 2.2.18-1
Between the two, the most significant API changes that are likely at issue
are those in the move from postfix 2.9.3-3 -> postfix 3.0.1-1.
Let me know if I can send anything else.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
David C. Rankin
2015-06-15 00:05:36 UTC
Permalink
Post by Paul Lesniewski
Post by David C. Rankin
TLS handshaking: SSL_accept() failed: error:14094418:SSL
Post by David C. Rankin
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48
Sorry, I'm short on time, but I think you may need to look at
$imap_stream_options in config/config_local.php. Get a fresh copy of
that file if you have an old one. You can use $imap_stream_options to
point it to your CA if you are using self signed certs and you can
also turn off verify_peer if you must.
Note that logging in to SquirrelMail has nothing to do with Postfix.
SquirrelMail only talks to Postfix when sending messages, although
it's entirely possible you'd run into the same problem with that since
a similar change was made for the SMTP side. For that, again, please
see config/config_local.php and look for $smtp_stream_options
Cheers,
Paul
Paul,

I went through
https://sourceforge.net/p/squirrelmail/code/HEAD/tree/trunk/squirrelmail/config/config_local.example.php
and http://php.net/manual/en/context.ssl.php. I created a fresh
config_local.php. I updated my ca-trust-bundle by including my mail certificate
in /etc/ca-certificates/trust-source/anchors/ and ran 'update-ca-trust extract'.
I tested with various logical 'cafile' settings and turning 'verify_peer' off.
None made any difference. Same error no matter what the configuration was:

Jun 14 18:01:10 phoinix postfix/smtpd[19156]: connect from
phoinix.rlfpllc.com[127.0.0.1]
Jun 14 18:01:10 phoinix postfix/smtpd[19156]: lost connection after CONNECT from
phoinix.rlfpllc.com[127.0.0.1]
Jun 14 18:01:10 phoinix postfix/smtpd[19156]: disconnect from
phoinix.rlfpllc.com[127.0.0.1] commands=0/0
Jun 14 18:01:10 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
in 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking: SSL_accept() failed:
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<fk80UYIYyQAAAAAAAAAAAAAAAAAAAAAB>

As you can see from 'session=<fk80UYIYyQAAAAAAAAAAAAAAAAAAAAAB>' the session
is started every time, but something goes south. The other question is why does
dovecot report "no auth attempts in 0 secs", huh? I'm trying... but 'user=<>'
must not qualify.

The frustrating point is that I cannot tell where the problem is, except for
the fact that even though configured identically, the working versions use a
login like:

'user=<david>, method=PLAIN'

The non-working attempts to use:

'user=<>, rip=::1, lip=::1, TLS handshaking'

In both instances squirrelmail is on the same box as the mail server with
identical postfix/dovecot configs, so theoretically both should be using PLAIN
even though the actual we connection is over https.

Complicating the issue are changes to the ca-certificates package over the
past 6 months. However, that being so, somehow mozilla has no problem at all
using the mail server from any remote location (using my same self-signed
certificates), but squirrelmail can no longer connect to IMAP on the local machine.

I'm usually pretty good at sorting out squirrelmail issues, but this one has
me chasing my tail in circles. When you get a break in your schedule, I could
really use your help sorting this one out. Since Archlinux is the most current
distro (packages are generally release the exact same day as the upstream
release), everyone else will generally experience this same issue whenever their
distro moves to the version causing the issue.

I agree with you that postfix is likely not the culprit, since squirrelmail
configtest.php reports no problem connecting to smtp:

Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)

I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
--
David C. Rankin, J.D.,P.E.
David C. Rankin
2015-06-15 01:00:37 UTC
Permalink
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and how
configtest.php gives the following error:

Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on line
740 Warning: fsockopen(): Failed to enable crypto in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740 Warning:
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740

Seeing the CN mismatch, I set config_local.php with 'verify_peer' => false:

$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);

However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to help.
--
David C. Rankin, J.D.,P.E.
Shane Thomas
2015-06-15 03:44:41 UTC
Permalink
It's an open source application. I have been trying to backtrack to initial setup and get a bak or some kind of check file to backtrace the route. They only answer every 48 hours or so. Lol.

Shane Thomas
IT – North Region
Denbury Resources Inc.
Office ext. | 4529
Office | 307.439.1879
Mobile | 307.462.1958
Email | ***@denbury.com

"This confidential e-mail is intended solely for the use of the intended recipient. Unless expressly stated otherwise in a written communication other than in electronic form, no e-mail communication shall satisfy the requirements for a writing or constitute a contract or electronic signature."
Post by David C. Rankin
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and how
Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on line
740 Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740
$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);
However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to help.
--
David C. Rankin, J.D.,P.E.
------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
David C. Rankin
2015-06-15 04:35:58 UTC
Permalink
This post might be inappropriate. Click to display it.
David C. Rankin
2015-06-15 04:53:17 UTC
Permalink
Post by David C. Rankin
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and how
Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on line
740 Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740
$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);
However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to help.
For whatever reason, and for reasons I cannot explain, squirrelmail can no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when your
dovecot server certificate uses a CN of *.domain.tld. For years, my server
config always looked like:

Server Settings

General
-------
1. Domain : mydomain.com
2. Invert Time : false
3. Sendmail or SMTP : SMTP

A. Update IMAP Settings : localhost:993 (dovecot)
B. Update SMTP Settings : localhost:25

R Return to Main Menu
C Turn color off
S Save data
Q Quit

After looking at the CN mismatch reported though configtest.php, I decided to
change my server configuration to match my server CN:

Server Settings

General
-------
1. Domain : mydomain.com
2. Invert Time : false
3. Sendmail or SMTP : SMTP

A. Update IMAP Settings : mail.mydomain.com:993 (dovecot)
B. Update SMTP Settings : localhost:25

R Return to Main Menu
C Turn color off
S Save data
Q Quit

Bingo! configtest.php worked:

Checking IMAP service....
IMAP server ready (* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.)
Capabilities: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID
ENABLE IDLE AUTH=PLAIN AUTH=LOGIN
Checking internationalization (i18n) settings...
gettext - Gettext functions are available. On some systems you must have
appropriate system locales compiled.
Test translations. This test is not accurate and might work only on
some systems.
mbstring - Mbstring functions are available.
recode - Recode functions are unavailable.
iconv - Iconv functions are unavailable.
timezone - Webmail users can change their time zone settings. Current time
zone is CDT.

So what was the reason? Looking at the release notes for php 5.6 listed on
http://php.net/manual/en/context.ssl.php showed:

5.6.0 Added peer_fingerprint and verify_peer_name. verify_peer default changed
to TRUE.

While I cannot confirm with 100% certainty the change in the default was the
sole cause and that changes to ca-certificates over the past few months didn't
also contribute, it certainly seems to be the most likely candidate.

Paul, after you look into this, if this was the sole cause, you may want to
drop a Install/Upgrade note regarding php 5.6 and the change required in server
settings.

(even better, it may be worth adding a check in the squirrelmail code that if
server setting is listed as 'localhost', make a php call to obtain the server
hostname/domain to compare against the Peer reported name before a CN mismatch
is declared -- or something similar -- may fix it)

Hopefully this will narrow down your work a bit.
--
David C. Rankin, J.D.,P.E.
David C. Rankin
2015-06-15 16:36:01 UTC
Permalink
Post by David C. Rankin
Paul, after you look into this, if this was the sole cause, you may want to
drop a Install/Upgrade note regarding php 5.6 and the change required in server
settings.
(even better, it may be worth adding a check in the squirrelmail code that if
server setting is listed as 'localhost', make a php call to obtain the server
hostname/domain to compare against the Peer reported name before a CN mismatch
is declared -- or something similar -- may fix it)
If you do look at this, it looks like a possible fix for php 5.6+ needs to be
prior to line 725 in functions/imap_general.php:

in function sqimap_create_stream:

$imap_stream = @fsockopen($server, $port, $error_number, $error_string, 15);


The problem in my case appears to be that if 'localhost' is specified as the
imap server in config.php (as it has been for the past 5-10 years), passing
'localhost' as $server to fsockopen now causes the IMAP stream open failure
(presumably due to the new default of verify_peer=true). I seems like a
functional check of something like the following could help:

if $server equals 'localhost' {
$servername equals hostname.dnsdomainname (or however you get this in php)
$imap_stream = @fsockopen($servername, $port, $error_number, $error_string, 15);
} else {
$imap_stream = @fsockopen($server, $port, $error_number, $error_string, 15);
}

It is trickier if the CN wasn't generated with the suggested '*.domain.tld'
format, but rather 'host.domain.tld'. In that case there would no way of knowing
if the 'host' part of 'host.domain.tld' returned by the 'hostname' equivalent
would match the name used as the CN in certificate generation.

However, just adding the 'localhost' check and 'host.domain.tld' substitution
would work for every case where CN is specified in the recommended
'*.domain.tld' format. (I haven't looked at the code to see why smtp is not
effected, but it is fine)

Another option (less desirable, but effective) would be to add a check to
config/conf.pl to check if ssl/tls, or port 993, etc... had been specified along
with 'localhost' as the hostname. In that case conf.pl could warn that the IMAP
hostname must match the mail certificate CN for authentication to succeed with
php 5.6+.

Keep fighting the good fight!
--
David C. Rankin, J.D.,P.E.
Paul Lesniewski
2015-06-16 22:20:35 UTC
Permalink
Post by David C. Rankin
Post by David C. Rankin
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and how
Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on line
740 Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740
$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);
However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to help.
For whatever reason, and for reasons I cannot explain, squirrelmail can no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when
SquirrelMail accepts any hostname it is given. It's not a matter of
what SquirrelMail can and cannot accept. It's purely a configuration
mismatch with your PHP and Dovecot SSL settings and the certificates
you are using (and their CA). There is no SquirrelMail "fix" for
this. If verify_peer is enabled, then you need to have your ducks in
a row in terms of the things you've been seeing: CA needs to be known,
CN needs to match, etc.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
David C. Rankin
2015-06-17 02:27:50 UTC
Permalink
Post by Paul Lesniewski
Post by David C. Rankin
For whatever reason, and for reasons I cannot explain, squirrelmail can
Post by David C. Rankin
no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when
SquirrelMail accepts any hostname it is given. It's not a matter of
what SquirrelMail can and cannot accept. It's purely a configuration
mismatch with your PHP and Dovecot SSL settings and the certificates
you are using (and their CA). There is no SquirrelMail "fix" for
this. If verify_peer is enabled, then you need to have your ducks in
a row in terms of the things you've been seeing: CA needs to be known,
CN needs to match, etc.
Well, yes and no, but it is a change (god knows I have no idea how long ago it
may have been, a decade?), but the recommended server setup when running
squirrelmail on the same host as the mailhost was to use 'localhost' as the
server name. This continued to work, even with certificates, until the
verify_peer default changed with php 5.6 for me.

I agree 100% with the ducks in the row logic, but the surprise was going from
working to non-working squirrelmail config due to the peer verification.

The crux of the issue being that for most, the finer points of certificate
authentication/peer verification, etc. are not daily topics of conversation. So
when these things change, there's more than a few minutes of refreshing required
to get on top of the issue again.

I can report that after stumbling though the exercise, squirrelmail is happily
gathering nuts again.

Great package. Keep up the great work!
--
David C. Rankin, J.D.,P.E.
Paul Lesniewski
2015-06-17 05:01:37 UTC
Permalink
Post by David C. Rankin
Post by Paul Lesniewski
Post by David C. Rankin
For whatever reason, and for reasons I cannot explain, squirrelmail can
Post by David C. Rankin
no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when
SquirrelMail accepts any hostname it is given. It's not a matter of
what SquirrelMail can and cannot accept. It's purely a configuration
mismatch with your PHP and Dovecot SSL settings and the certificates
you are using (and their CA). There is no SquirrelMail "fix" for
this. If verify_peer is enabled, then you need to have your ducks in
a row in terms of the things you've been seeing: CA needs to be known,
CN needs to match, etc.
Well, yes and no, but it is a change (god knows I have no idea how long ago it
may have been, a decade?), but the recommended server setup when running
squirrelmail on the same host as the mailhost was to use 'localhost' as the
I've never heard anyone make such a recommendation, and doing so
without any context certainly wouldn't be smart.
Post by David C. Rankin
Great package. Keep up the great work!
Thank you.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
Paul Lesniewski
2015-06-16 22:10:11 UTC
Permalink
Post by David C. Rankin
Post by Paul Lesniewski
Post by David C. Rankin
TLS handshaking: SSL_accept() failed: error:14094418:SSL
Post by David C. Rankin
routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48
Sorry, I'm short on time, but I think you may need to look at
$imap_stream_options in config/config_local.php. Get a fresh copy of
that file if you have an old one. You can use $imap_stream_options to
point it to your CA if you are using self signed certs and you can
also turn off verify_peer if you must.
Note that logging in to SquirrelMail has nothing to do with Postfix.
SquirrelMail only talks to Postfix when sending messages, although
it's entirely possible you'd run into the same problem with that since
a similar change was made for the SMTP side. For that, again, please
see config/config_local.php and look for $smtp_stream_options
Cheers,
Paul
Paul,
I went through
https://sourceforge.net/p/squirrelmail/code/HEAD/tree/trunk/squirrelmail/config/config_local.example.php
and http://php.net/manual/en/context.ssl.php. I created a fresh
config_local.php. I updated my ca-trust-bundle by including my mail certificate
in /etc/ca-certificates/trust-source/anchors/ and ran 'update-ca-trust extract'.
I tested with various logical 'cafile' settings and turning 'verify_peer' off.
Jun 14 18:01:10 phoinix postfix/smtpd[19156]: connect from
phoinix.rlfpllc.com[127.0.0.1]
Jun 14 18:01:10 phoinix postfix/smtpd[19156]: lost connection after CONNECT from
phoinix.rlfpllc.com[127.0.0.1]
Jun 14 18:01:10 phoinix postfix/smtpd[19156]: disconnect from
phoinix.rlfpllc.com[127.0.0.1] commands=0/0
Jun 14 18:01:10 phoinix dovecot[469]: imap-login: Disconnected (no auth attempts
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert
number 48, session=<fk80UYIYyQAAAAAAAAAAAAAAAAAAAAAB>
Note that this is a dovecot log event. *Dovecot* is complaining about
the CA. Not SquirrelMail.
Post by David C. Rankin
As you can see from 'session=<fk80UYIYyQAAAAAAAAAAAAAAAAAAAAAB>' the session
is started every time, but something goes south. The other question is why does
dovecot report "no auth attempts in 0 secs", huh? I'm trying... but 'user=<>'
must not qualify.
No process is going to be able to authenticate if the SSL handshake failed.
Post by David C. Rankin
The frustrating point is that I cannot tell where the problem is, except for
the fact that even though configured identically, the working versions use a
'user=<david>, method=PLAIN'
'user=<>, rip=::1, lip=::1, TLS handshaking'
In both instances squirrelmail is on the same box as the mail server with
So why are you using TLS if the traffic never leaves the machine?
Post by David C. Rankin
identical postfix/dovecot configs, so theoretically both should be using PLAIN
even though the actual we connection is over https.
Complicating the issue are changes to the ca-certificates package over the
past 6 months. However, that being so, somehow mozilla has no problem at all
using the mail server from any remote location (using my same self-signed
certificates), but squirrelmail can no longer connect to IMAP on the local machine.
I'm usually pretty good at sorting out squirrelmail issues, but this one
It's not SquirrelMail per se. It's PHP and Dovecot and your SSL/TLS
settings for both.
Post by David C. Rankin
has
me chasing my tail in circles. When you get a break in your schedule, I could
really use your help sorting this one out. Since Archlinux is the most current
distro (packages are generally release the exact same day as the upstream
release), everyone else will generally experience this same issue whenever their
distro moves to the version causing the issue.
I agree with you that postfix is likely not the culprit, since squirrelmail
For testing with configtest.php, please update your snapshot or use this patch:

http://sourceforge.net/p/squirrelmail/code/14502/
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know when you
have a chance to look into this. I'm happy to do the digging.
--
David C. Rankin, J.D.,P.E.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
David Highley
2015-06-16 01:59:25 UTC
Permalink
"David C. Rankin wrote:"
Post by David C. Rankin
Post by David C. Rankin
Paul, after you look into this, if this was the sole cause, you may want to
drop a Install/Upgrade note regarding php 5.6 and the change required in server
settings.
(even better, it may be worth adding a check in the squirrelmail code that if
server setting is listed as 'localhost', make a php call to obtain the server
hostname/domain to compare against the Peer reported name before a CN mismatch
is declared -- or something similar -- may fix it)
If you do look at this, it looks like a possible fix for php 5.6+ needs to be
The problem in my case appears to be that if 'localhost' is specified as the
imap server in config.php (as it has been for the past 5-10 years), passing
'localhost' as $server to fsockopen now causes the IMAP stream open failure
(presumably due to the new default of verify_peer=true). I seems like a
if $server equals 'localhost' {
$servername equals hostname.dnsdomainname (or however you get this in php)
} else {
}
It is trickier if the CN wasn't generated with the suggested '*.domain.tld'
format, but rather 'host.domain.tld'. In that case there would no way of knowing
if the 'host' part of 'host.domain.tld' returned by the 'hostname' equivalent
would match the name used as the CN in certificate generation.
However, just adding the 'localhost' check and 'host.domain.tld' substitution
would work for every case where CN is specified in the recommended
'*.domain.tld' format. (I haven't looked at the code to see why smtp is not
effected, but it is fine)
Another option (less desirable, but effective) would be to add a check to
config/conf.pl to check if ssl/tls, or port 993, etc... had been specified along
with 'localhost' as the hostname. In that case conf.pl could warn that the IMAP
hostname must match the mail certificate CN for authentication to succeed with
php 5.6+.
I'm not shure this is the whole story on why squirrelmail is not
working. We have been trying since February and Fedora 21 to get it
working again. Using squirrelmail-1.4.22-15.fc21.noarch

We have the following configuration:
Outside web server -> dovecot -> mail server using port 993

We have verified all the certificates and if we use thunderbird all
works fine. Yet squirrelmail configtest fails with:
[***@spruce ~]# firefox /usr/share/squirrelmail/src/configtest.php &
[1] 6998
[***@spruce ~]#
(firefox:6998): GLib-GObject-WARNING **: The property
GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore.
It will be removed in a future version.

(firefox:6998): GLib-GObject-WARNING **: The property
GtkSettings:gtk-button-images is deprecated and shouldn't be used
anymore. It will be removed in a future version.
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected the timezone 'UTC' for
now, but please set date.timezone to select your timezone. in
/usr/share/squirrelmail/src/configtest.php on line 80
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL
Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed in /usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): Failed to enable crypto in
/usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): unable to connect to
tls://douglas.highley-recommended.com:993 (Unknown error) in
/usr/share/squirrelmail/src/configtest.php on line 431
Post by David C. Rankin
Keep fighting the good fight!
--
David C. Rankin, J.D.,P.E.
------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
--
Regards,

David Highley
Highley Recommended, Inc. Phone: (206) 669-0081
2927 SW 339th Street WEB: http://www.highley-recommended.com
Federal Way, WA 98023-7732
Richard Hall
2015-06-16 13:20:33 UTC
Permalink
Post by David Highley
"David C. Rankin wrote:"
Post by David C. Rankin
Post by David C. Rankin
Paul, after you look into this, if this was the sole cause, you may want
to
Post by David C. Rankin
drop a Install/Upgrade note regarding php 5.6 and the change required in
server
Post by David C. Rankin
settings.
(even better, it may be worth adding a check in the squirrelmail code that
if
Post by David C. Rankin
server setting is listed as 'localhost', make a php call to obtain the
server
Post by David C. Rankin
hostname/domain to compare against the Peer reported name before a CN
mismatch
Post by David C. Rankin
is declared -- or something similar -- may fix it)
If you do look at this, it looks like a possible fix for php 5.6+ needs to be
The problem in my case appears to be that if 'localhost' is specified as the
imap server in config.php (as it has been for the past 5-10 years), passing
'localhost' as $server to fsockopen now causes the IMAP stream open failure
(presumably due to the new default of verify_peer=true). I seems like a
if $server equals 'localhost' {
$servername equals hostname.dnsdomainname (or however you get this in php)
} else {
}
It is trickier if the CN wasn't generated with the suggested '*.domain.tld'
format, but rather 'host.domain.tld'. In that case there would no way of knowing
if the 'host' part of 'host.domain.tld' returned by the 'hostname' equivalent
would match the name used as the CN in certificate generation.
However, just adding the 'localhost' check and 'host.domain.tld' substitution
would work for every case where CN is specified in the recommended
'*.domain.tld' format. (I haven't looked at the code to see why smtp is not
effected, but it is fine)
Another option (less desirable, but effective) would be to add a check to
config/conf.pl to check if ssl/tls, or port 993, etc... had been specified along
with 'localhost' as the hostname. In that case conf.pl could warn that the IMAP
hostname must match the mail certificate CN for authentication to succeed with
php 5.6+.
I'm not shure this is the whole story on why squirrelmail is not
working. We have been trying since February and Fedora 21 to get it
working again. Using squirrelmail-1.4.22-15.fc21.noarch
Outside web server -> dovecot -> mail server using port 993
We have verified all the certificates and if we use thunderbird all
[1] 6998
(firefox:6998): GLib-GObject-WARNING **: The property
GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore.
It will be removed in a future version.
(firefox:6998): GLib-GObject-WARNING **: The property
GtkSettings:gtk-button-images is deprecated and shouldn't be used
anymore. It will be removed in a future version.
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected the timezone 'UTC' for
now, but please set date.timezone to select your timezone. in
/usr/share/squirrelmail/src/configtest.php on line 80
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed in /usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): Failed to enable crypto in
/usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): unable to connect to
tls://douglas.highley-recommended.com:993 (Unknown error) in
/usr/share/squirrelmail/src/configtest.php on line 431
Post by David C. Rankin
Keep fighting the good fight!
--
David C. Rankin, J.D.,P.E.
The GTK WARNINGS (they are NOT ERRORS at this time) are nothing to currently
worry about.. they are just a warning of FUTURE problems to come...


Set the timezone in the /etc/php.ini file as such (RHEL/CentOS/Fedora):

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = 'America/Denver'

Restart Apache.


Do NOT use SSLv3 as it is deprecated and compromised thus making it insecure.
Use only TLS/STARTTLS authentication. Disable SSLv3 in both the SMTP (Sendmail?)
and IMAP (Dovecot?) servers.

Disble SSLv3 in /etc/dovecot/conf.d/10-ssl.conf:

# SSL ciphers to use
ssl_cipher_list = ALL:!ADH:!LOW:!SSLv2:!SSLv3:!EXP:!aNULL:+HIGH:+MEDIUM

Disable SSLv3 by adding to /etc/mail/sendmail.mc and rerun make.

LOCAL_CONFIG
O CipherList=HIGH:RC4-SHA,RC4-MD5
O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3
+SSL_OP_CIPHER_SERVER_PREFERENCE
O ClientSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3

Make sure you recompile the sendmail.mc to generate the new sendmail.cf file and
then restart your IMAP and SMTP servers.

-Rich

--
------------------------------------------------------------------------
Rich Hall
***@netlynx.us
http://www.netlynx.us/rich/
ham radio: kf6arx
GPG Fingerprint: 1FE661FF5EBACE0CEC60C4CCA7DA943DD2722CC4
------------------------------------------------------------------------
Some people are like slinkies.. Not really good for anything useful,
but they bring a smile to your face when pushed down the stairs.
------------------------------------------------------------------------
And remember - if it ain't broke, hit it again.
David C. Rankin
2015-06-16 17:12:35 UTC
Permalink
Post by David Highley
/usr/share/squirrelmail/src/configtest.php on line 80
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed in /usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): Failed to enable crypto in
/usr/share/squirrelmail/src/configtest.php on line 431
PHP Warning: fsockopen(): unable to connect to
tls://douglas.highley-recommended.com:993 (Unknown error) in
/usr/share/squirrelmail/src/configtest.php on line 431
David,

Just an outside guess. Check the number of dovecot processes currently
running on the host for any given user. (with imap access via desktop, laptop,
tablet, iphone each can open 2+ session which easily exceed the default 10
allowed) On all my dovecot installs, I've had to increase the number of
simultaneous connections to 30. Otherwise, dovecot just refuses to allow a
connection giving an ("Unknown error").

To increase the max allowed connections, edit /etc/dovecot/dovecot.conf and
add the following:

protocol imap {
mail_max_userip_connections = 30
}

I've been bitten by this more than once -- I don't have excess hair to pull
out anymore...
--
David C. Rankin, J.D.,P.E.
Paul Lesniewski
2015-06-16 22:30:04 UTC
Permalink
Post by David Highley
/usr/share/squirrelmail/src/configtest.php on line 80
PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed in /usr/share/squirrelmail/src/configtest.php on line 431
Seeing as the error is pretty clear, did you try to address this
issue? Have you tuned $imap_stream_options in
config/config_local.php?
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
David Highley
2015-06-17 02:44:06 UTC
Permalink
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
douglas.highley-recommended.com
X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,
HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD,URI_NOVOWEL
autolearn=ham autolearn_force=no version=3.4.1
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com
designates 209.85.223.178 as permitted sender)
helo=mail-ie0-f178.google.com;
MIME-Version: 1.0
X-Received: by 10.107.47.26 with SMTP id j26mr3605774ioo.17.1434493235169;
Tue, 16 Jun 2015 15:20:35 -0700 (PDT)
Date: Tue, 16 Jun 2015 15:20:35 -0700
X-Google-Sender-Auth: hKjg5Rm-1yt9Ix3lpQ8VKu1rM88
To: Squirrelmail User Support Mailing List
X-Headers-End: 1Z4zDk-0007IS-ER
Subject: Re: [SM-USERS] [SOLVED sort of] was Re: svn 14501 - TLS
handshaking: SSL_accept() failed: error: ... alert unknown ca: SSL alert
number 48
X-Mailman-Version: 2.1.9
Precedence: list
Squirrelmail User Support Mailing List
List-Id: Squirrelmail User Support Mailing List
<squirrelmail-users.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/squirrelmail-users>,
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=squirrelmail-users>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/squirrelmail-users>,
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Post by David C. Rankin
Post by David C. Rankin
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes
sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know
when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and
how
Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match
expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on
line
740 Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740
Seeing the CN mismatch, I set config_local.php with 'verify_peer' =>
$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);
However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to
help.
For whatever reason, and for reasons I cannot explain, squirrelmail can
no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when
SquirrelMail accepts any hostname it is given. It's not a matter of
what SquirrelMail can and cannot accept. It's purely a configuration
mismatch with your PHP and Dovecot SSL settings and the certificates
you are using (and their CA). There is no SquirrelMail "fix" for
this. If verify_peer is enabled, then you need to have your ducks in
a row in terms of the things you've been seeing: CA needs to be known,
CN needs to match, etc.
First of all why is it only squirrelmail that is confused. In our case
there are two hosts involved in this not just the localhost so how is
squirrelmail going to verify beyond the normal ssl process? How would it
be able to see a CA file that is not on the host it is running on.

Another missed concept is the practice of using DNS CNAME aliases for a
host, like mail.domain.com, so that things are not hardcoded all over
the place and you can move functionality around without going to n
places to change hardcoding. In that case the host provide is not in the
ssl cert.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
David C. Rankin
2015-06-17 03:14:31 UTC
Permalink
Post by David Highley
Another missed concept is the practice of using DNS CNAME aliases for a
host, like mail.domain.com, so that things are not hardcoded all over
the place and you can move functionality around without going to n
places to change hardcoding. In that case the host provide is not in the
ssl cert.
A few years back the certificate CN recommendation changed for cert generation from:

'host.domain.tld'

to

'*.domain.tld'


This was intended to allow additional flexibility. I know I've made use of that
format for at least the last 2-3 years of certificate generation. peer
verification in php will deal with the wildcard properly allowing the normal
CNames for a host. (e.g. hostname, ftp, mail, www, etc..). This recommendation
applies to both server certificates (httpd, etc.) and mail certificates.

I don't know if it will help with your setup, but it does help keep you from
being locked into a specific cert CN.
--
David C. Rankin, J.D.,P.E.
Paul Lesniewski
2015-06-17 05:08:43 UTC
Permalink
Post by David Highley
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
douglas.highley-recommended.com
X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,
HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD,URI_NOVOWEL
autolearn=ham autolearn_force=no version=3.4.1
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com
designates 209.85.223.178 as permitted sender)
helo=mail-ie0-f178.google.com;
MIME-Version: 1.0
X-Received: by 10.107.47.26 with SMTP id
j26mr3605774ioo.17.1434493235169;
Tue, 16 Jun 2015 15:20:35 -0700 (PDT)
Date: Tue, 16 Jun 2015 15:20:35 -0700
X-Google-Sender-Auth: hKjg5Rm-1yt9Ix3lpQ8VKu1rM88
To: Squirrelmail User Support Mailing List
X-Headers-End: 1Z4zDk-0007IS-ER
Subject: Re: [SM-USERS] [SOLVED sort of] was Re: svn 14501 - TLS
handshaking: SSL_accept() failed: error: ... alert unknown ca: SSL alert
number 48
X-Mailman-Version: 2.1.9
Precedence: list
Squirrelmail User Support Mailing List
List-Id: Squirrelmail User Support Mailing List
<squirrelmail-users.lists.sourceforge.net>
<https://lists.sourceforge.net/lists/listinfo/squirrelmail-users>,
<http://sourceforge.net/mailarchive/forum.php?forum_name=squirrelmail-users>
<https://lists.sourceforge.net/lists/listinfo/squirrelmail-users>,
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Post by David C. Rankin
Post by David C. Rankin
Post by David C. Rankin
Checking outgoing mail service....
SMTP server OK (220 phoinix.rlfpllc.com ESMTP Postfix)
I think you have nailed the issue as a 'ca' problem which makes
sense with
the error: 'tlsv1 alert unknown ca: SSL alert number 48'. Let me know
when you
have a chance to look into this. I'm happy to do the digging.
I think I have made progress. It looks like the problem is with the way
squirrelmail handles the certificate check. I made several changes and
how
Warning: fsockopen(): Peer certificate CN=`*.rlfpllc.com' did not match
expected
CN=`localhost' in /srv/http/htdocs/squirrelmail_501/src/configtest.php on
line
740 Warning: fsockopen(): Failed to enable crypto in
fsockopen(): unable to connect to tls://localhost:993 (Unknown error) in
/srv/http/htdocs/squirrelmail_501/src/configtest.php on line 740
Seeing the CN mismatch, I set config_local.php with 'verify_peer' =>
$imap_stream_options = array(
'ssl' => array(
'cafile' =>
'/etc/ca-certificates/extracted/tls-ca-bundle.pem',
'verify_peer' => false,
'verify_depth' => 3,
),
);
However, that made no difference. (*Note:* with php 5.6+ the default for
verify_peer is now 'true' -- I don't know if that prevents override in
config_local.php) Let me know when you have some time and I'm glad to
help.
For whatever reason, and for reasons I cannot explain, squirrelmail can
no
longer accept 'localhost' under 'Server Settings' (#2 in ./conf.pl) when
SquirrelMail accepts any hostname it is given. It's not a matter of
what SquirrelMail can and cannot accept. It's purely a configuration
mismatch with your PHP and Dovecot SSL settings and the certificates
you are using (and their CA). There is no SquirrelMail "fix" for
this. If verify_peer is enabled, then you need to have your ducks in
a row in terms of the things you've been seeing: CA needs to be known,
CN needs to match, etc.
First of all why is it only squirrelmail that is confused. In our case
there are two hosts involved in this not just the localhost so how is
squirrelmail going to verify beyond the normal ssl process? How would it
be able to see a CA file that is not on the host it is running on.
SquirrelMail is not confused about anything. Apparently you have
misconfigured your PHP SSL settings and/or the ones on your IMAP
server. A CA can be used to sign more than one certificate and is not
restricted to any one server. If you don't understand how certificate
generation and signing works, you should do more research and learning
or perhaps avoid using self-signed certs.
Post by David Highley
Another missed concept is the practice of using DNS CNAME aliases for a
host, like mail.domain.com, so that things are not hardcoded all over
the place and you can move functionality around without going to n
places to change hardcoding. In that case the host provide is not in the
ssl cert.
Nothing has to be hard coded. You have some knowledge gaps that need
to be filled, after which your journey to correct your SSL
configuration will become easier.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
igor_123
2016-12-17 06:52:55 UTC
Permalink
Dear Paul,

sorry to bring this [Solved] topic to surface again. After installing Fedora
25 (from scratch) I have the same problem ("unknown ca"). I have been using
squirrelmail for many years with "localhost" as imap server name. This does
not work anymore. Looking in the internet, I found this thread which is the
most informative among all I found before. However, in my case the David's
recipe - to replace "localhost" by a fully qualified host name does not
work...

The package versions are:

postfix-3.1.3-2.fc25.x86_64
dovecot-2.2.26.0-1.fc25.x86_64
php-7.0.14-1.fc25.x86_64
squirrelmail-1.4.22-17.fc24.noarch

The squirrelmail imap-related config page is:

IMAP Settings
--------------
4. IMAP Server : uranus.sai.msu.ru
5. IMAP Port : 993
6. Authentication type : login
7. Secure IMAP (TLS) : true
8. Server software : dovecot
9. Delimiter : detect

B. Update SMTP Settings : localhost:25

the configtest page of squirrelmail returns

Checking IMAP service....

ERROR: Error connecting to IMAP server "uranus.sai.msu.ru:993".Server
error: (0)

The relevant maillog lines are:

Dec 16 17:23:01 uranus postfix/smtpd[7867]: connect from localhost[::1]
Dec 16 17:23:01 uranus postfix/smtpd[7867]: lost connection after CONNECT
from localhost[::1]
Dec 16 17:23:01 uranus postfix/smtpd[7867]: disconnect from localhost[::1]
commands=0/0
Dec 16 17:23:01 uranus dovecot: imap-login: Disconnected (no auth attempts
in 0 secs):
user=<>, rip=93.180.26.5, lip=93.180.26.5, TLS handshaking: SSL_accept()
failed:
error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL
alert number 48,
session=<8mavTsdDQtldtBoF>

The relevant config lines:

postfix main.cf

smtpd_tls_security_level = may
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_CAfile = /etc/postfix/smtpd.cert
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s

dovecot 10-ssl.conf:

ssl_cert = </etc/postfix/smtpd.cert
ssl_key = &lt;/etc/postfix/smtpd.key
ssl_ca = &lt;/etc/postfix/smtpd.cert

Printing out the contents of smtpd.cert confirms that CN=uranus.sai.msu.ru

To be able to check php ssl connection from command line, I added the line
to php.ini:

openssl.cafile= /etc/postfix/smtpd.cert

After that, issuing the command (which is run from squirrelmail)

echo
'fsockopen(&quot;tls://uranus.sai.msu.ru&quot;,993,$errno,$errmsg,15);'|php
-a

returns &quot;Interactive shell&quot; which is ok and means that PHP
correctly identifies CA. Thunderbird also works flawlessy. It is only
squirrelmail which is having the problem.

Adding these lines to squirrelmail's config_local.php

$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/postfix/smtpd.cert',
'verify_peer' => false,
'verify_depth' => 1,
),
);

does not change anything.

I understand that if squirrelmail and imap server are on the same host, I
can safely use plain authentification. Still, I am wondering why the
apparently correct setup with TLS does not work. Any advice?

Thank you,
Igor




--
View this message in context: http://squirrelmail.5843.n7.nabble.com/svn-14501-TLS-handshaking-SSL-accept-failed-error-alert-unknown-ca-SSL-alert-number-48-tp26087p26477.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Paul Lesniewski
2016-12-20 00:12:09 UTC
Permalink
Paul, thanks for your answer.
Post by David C. Rankin
B. Update SMTP Settings : localhost:25
Port 25?
Yes. As you say, smtp settings are irreIevant to imap tls ones. Also, I see
no problem with this port. In my smtp setup, tls is used for communications
of a client with smtpd.
It's OT, but it's not usually a good idea to mix inbound untrusted
traffic with outbound trusted. Among other things, it makes applying
good policies more difficult/convoluted.
...
Post by David C. Rankin
Printing out the contents of smtpd.cert confirms that
CN=uranus.sai.msu.ru
But is the CA available (to SM) and known?
How do I check the availability of CA to SM? Known to whom? As I said, my
certificate/key pair is self-signed and simple (without chains). The cert
file is smtpd.cert, the key is smtpd.key.
Even though it's self-signed, it's still signed. The CA is whatever you
signed it with, however I think if you set verify_peer you should be
turning that verification off.
Post by David C. Rankin
Adding these lines to squirrelmail's config_local.php
$imap_stream_options = array(
'ssl' => array(
'cafile' => '/etc/postfix/smtpd.cert',
That does not look like a CA cert path to me.
Yes, the path is non-standart, this is a testing environment. Still should
be not a problem since the path is provided in dovecot config.
No, the point is that that cert may not be your CA.
Post by David C. Rankin
'verify_peer' => false,
'verify_depth' => 1,
),
);
does not change anything.
Did you verify if those are being used in the code?
No. I assumed that if including these lines was your recommendation to
David, SM should use them.
You can only make such assumptions if you're running the newest version
of SM from our website. I don't know what patches RedHat is putting in
their packages of SM. At a minimum, test it with the latest SM code,
and if that works, then you know where the problem is.
The solution might
be as simple as using a 1.4.23-SVN snapshot from our downloads page.
I'd try that before anything else.
I will. Although, honestly, I would prefer to use the SM package from the
official repository. I have to implement it in several servers and managing
all them manually is too much trouble...
Then you should take your query to the package maintainer; we can't help
you with other people's repackaging/old versions.
--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourcef
Loading...