Hi Jim,
1st)
In order to do this you must change the url in the file
/usr/share/squirrelmail/plugins/qmailadmin_login/config_default.php
like so:
#$qmlogin_cgi_url='/cgi-bin/qmailadmin';
$qmlogin_cgi_url='https://fqdn/qmailadmin/';
2nd)
I believe calling /usr/share/qmailadmin/qmailadmin
from the cli is erroneous because options aren't being sent in as would
happen with a _POST or something.
Eric
On 11/13/2020 4:37 PM, Eric Broch wrote:
Thanks, Jim, I'll have a look.
Eric
On 11/13/2020 3:19 PM, Jim McNamara wrote:
Hello, all.
I noticed a problem with the qmailadmin website and wanted to check
if others saw it as well. When I tried to change a user's password
through the /webmail interface, I get an error which reads:
Not Found
The requested URL /cgi-bin/qmailadmin was not found on this server.
Thinking that was odd, I tried going directly to /qmailadmin from a
machine on the ACL, and received this arrow in the browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
When I check the apache logs, I see this message:
[Fri Nov 13 17:11:24.885140 2020] [cgid:error] [pid 829305:tid
139962968168192] [client 192.168.X.Y:49419] End of script output
before headers: index.cgi, referer: https://obscured.tld/admin-toaster/
When I simply call the cgi script directly, I believe I have found
the problem -
[user@server ~]$ /usr/share/qmailadmin/index.cgi
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>QMT Mail Admin - </title>
">eta http-equiv="content-type" content="text/html; charset=iso-8859-1
<meta name="robots" content="noindex,follow"><link rel="stylesheet"
type="text/css" href="/qmailadmin/images/admin.login.css"
media="screen" />
</head>
Notice the line under <title> and above <meta> begins with a double
quote? I believe that is the issue with the "end of script before
headers? I used yum to remove and reinstall just qmailadmin, but the
problem remained. Since the file is binary I don't believe I can
simply edit it. My qmailadmin package is 1.2.16-5.1.qt.el8 from
qmt-testing.
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com