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: [email protected]
For additional commands, e-mail: [email protected]