[Pkg-mailman-hackers] Bug#891937: Bug#891937: mailman3-full install issues

Jonas Meurer jonas at freesources.org
Thu Mar 29 15:57:38 UTC 2018


Hi Markus,

thanks again for your feedback!

Am 29.03.2018 um 15:32 schrieb Markus Gschwendt:
> Maybe this bug should be renamed to something more generic. I don't
> want to open a new bug for everything i run into on debugging the
> install process until it's stable.

I don't mind abusing this bugreport for issues you run into.

> I just tried again with the latest sid repo.
> Mail/SMTP from commandline does work (eg `mail -v -s test root`)
> 
> ----8<----
> [mta]
> incoming: mailman.mta.exim4.LMTP
> outgoing: mailman.mta.deliver.deliver
> smtp_host: localhost
> smtp_port: 25
> smtp_user:
> smtp_pass:
> lmtp_host: 127.0.0.1
> lmtp_port: 8024
> configuration: python:mailman.config.exim4
> ---->8----

That's great and a big step forward :) So at least mailman3 now works on
sysvinit systems! Let's see what's up with mailman3-web ...

> Now i get until the WebUI-Login page. After entering User/PW i get
> following in /var/log/mailman3/web/mailman.log:
> 
> ----8<----
> ERROR 2018-03-29 15:13:29,516 12710 django.request Internal Server
> Error: /accounts/login/
> Traceback (most recent call last):
> [...]
>   File "/usr/lib/python2.7/dist-packages/django/core/mail/message.py",
> line 348, in send
>     return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.7/dist-
> packages/django/core/mail/backends/smtp.py", line 104, in send_messages
>     new_conn_created = self.open()
>   File "/usr/lib/python2.7/dist-
> packages/django/core/mail/backends/smtp.py", line 64, in open
>     self.connection = self.connection_class(self.host, self.port,
> **connection_params)
>   File "/usr/lib/python2.7/smtplib.py", line 256, in __init__
>     (code, msg) = self.connect(host, port)
>   File "/usr/lib/python2.7/smtplib.py", line 317, in connect
>     self.sock = self._get_socket(host, port, self.timeout)
>   File "/usr/lib/python2.7/smtplib.py", line 292, in _get_socket
>     return socket.create_connection((host, port), timeout)
>   File "/usr/lib/python2.7/socket.py", line 575, in create_connection
>     raise err
> error: [Errno 111] Connection refused

The Django app fails at sending a mail. Is the app allowed to send mail
via email backend 'django.core.mail.backends.smtp.EmailBackend' to the
mail address you gave for your superuser?

The Django app sends a confirmation mail at first login, asking to
verify the mail address of the account. Only afterwards you're allowed
to login as the user.

Cheers,
 jonas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20180329/a95e3c87/attachment.sig>


More information about the Pkg-mailman-hackers mailing list