[Mailman-Developers] can not post to the list

Danil Smirnov danil at smirnov.la
Mon Jun 1 20:22:45 CEST 2015


2015-06-01 12:27 GMT+03:00 Aurelien Bompard <aurelien at bompard.org>:
> That's Mailman core trying to talk to HyperKitty over http to get the
> list archives URL. The URL it's trying to reach is set in the
> "deployment/mailman-hyperkitty.cfg".
> My guess is that you need to update it because if HyperKitty is
> running under Apache, the port is no longer 8000, it's 80 (so you can
> remove it from the URL).
> If that's the problem, I'll update the README file.

Thanks, Aurelien.

I tried two variants in mailman-hyperkitty.cfg:

base_url: http://127.0.0.1/archives

----------

Jun 01 21:15:55 2015 (17357) held message approved, message-id:
<CAMrrXbrjXySQCuW21zOSMrV=HfYPqoDDx95jM-kexZqiDcsWHg at mail.gmail.com>
Jun 01 21:15:55 2015 (17357) 127.0.0.1 - - "POST
/3.0/lists/test at domain.tld/held/6 HTTP/1.1" 204 0
Jun 01 21:15:56 2015 (17364) HyperKitty failure on
http://127.0.0.1/archives/api/mailman/urls: <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /archives/api/mailman/urls was not found on this
server.</p>
</body></html>
 (404)
Jun 01 21:15:56 2015 (17364) HyperKitty failure on
http://127.0.0.1/archives/api/mailman/urls: <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /archives/api/mailman/urls was not found on this
server.</p>
</body></html>
 (404)
Jun 01 21:15:56 2015 (17365) HyperKitty failure on
http://127.0.0.1/archives/api/mailman/archive: <!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /archives/api/mailman/archive was not found on
this server.</p>
</body></html>
 (404)
Jun 01 21:15:56 2015 (17365) Broken archiver: hyperkitty
Traceback (most recent call last):
  File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/archive.py",
line 107, in _dispose
    archiver.system_archiver.archive_message(mlist, msg_copy)
  File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman_hyperkitty/__init__.py",
line 132, in archive_message
    raise ValueError(result.text)
ValueError: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /archives/api/mailman/archive was not found on
this server.</p>
</body></html>

----------

base_url: http://lists.domain.tld/archives

----------

Jun 01 21:09:54 2015 (17357) held message approved, message-id:
<CAMrrXbqtf2d-5baBmQ3dMVh34XWUKsAQkDtKotzwmVtB5DDJpw at mail.gmail.com>
Jun 01 21:09:54 2015 (17357) 127.0.0.1 - - "POST
/3.0/lists/test at domain.tld/held/5 HTTP/1.1" 204 0
Jun 01 21:09:55 2015 (17357) 127.0.0.1 - - "GET
/3.0/lists/test.domain.tld HTTP/1.1" 200 303
Jun 01 21:09:55 2015 (17357) 127.0.0.1 - - "GET
/3.0/lists/test at domain.tld/held HTTP/1.1" 200 90
Jun 01 21:09:55 2015 (17364) HyperKitty failure on
http://lists.domain.tld/archives/api/mailman/urls:
                <html><title>Forbidden</title><body>
                <h1>Access is forbidden</h1></body></html> (403)
Jun 01 21:09:55 2015 (17364) HyperKitty failure on
http://lists.domain.tld/archives/api/mailman/urls:
                <html><title>Forbidden</title><body>
                <h1>Access is forbidden</h1></body></html> (403)
Jun 01 21:09:56 2015 (17365) HyperKitty failure on
http://lists.domain.tld/archives/api/mailman/archive:
                <html><title>Forbidden</title><body>
                <h1>Access is forbidden</h1></body></html> (403)
Jun 01 21:09:56 2015 (17365) Broken archiver: hyperkitty
Traceback (most recent call last):
  File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/archive.py",
line 107, in _dispose
    archiver.system_archiver.archive_message(mlist, msg_copy)
  File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman_hyperkitty/__init__.py",
line 132, in archive_message
    raise ValueError(result.text)
ValueError:
                <html><title>Forbidden</title><body>
                <h1>Access is forbidden</h1></body></html>

----------

Probably last one is because of misconfiguration of
api_key: SecretArchiverAPIKey
?

What should I put here?

Danil


More information about the Mailman-Developers mailing list