[sqwebmail] System unavailable - (connect: Permission denied) - can't see login page.
Brought to you by:
mrsam
|
From: <bil...@Sa...> - 2019-03-06 05:24:15
|
I have installed the debian stretch package for 5.8.3 and am unable even to see the login page.
When I point my browser to
https://<my_internal_ip>/cgi-bin/sqwebmail
my browser shows
System unavailable
The web page you're trying to access is not available at this time. Please try again later.
(connect: Permission denied)
What permissions need I change and how may I do so?
The package does have at least one other, critical mistake: incorrect permissions on the "webmail" parent directory.
The cgi sqwebmail's location is as follows.
ls -al /usr/lib/cgi-bin/sqwebmail
lrwxrwxrwx 1 root root 34 Feb 9 17:36 /usr/lib/cgi-bin/sqwebmail -> ../courier/courier/webmail/webmail
and
ls -al /usr/lib/courier/courier/webmail/webmail
-rwxr-xr-x 1 root root 14256 Feb 9 17:36 /usr/lib/courier/courier/webmail/webmail
The permissions on
/usr/lib/courier/courier/webmail/
were 700, which made access to it "forbidden" to apache2.
I rectified that prohibition by doing
chmod 755 /usr/lib/courier/courier/webmail
Thus, I was able to access the cgi webmail, giving me the result above.
|