On Thu, Dec 20, 2018, at 1:23 PM, brian@emwd.com wrote:
Odhiambo Washington wrote:
On Thu, 20 Dec 2018 at 22:41, <brian(a)emwd.com> wrote:
I got the verification failed message fixed with via some offline help with one of our list members. I am now getting the following when I try to reset the password:
ERROR 2018-12-20 19:33:32,762 52 django.request Internal Server Error: /accounts/password/reset/ Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch return handler(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/allauth/account/views.py", line 103, in post response = self.form_valid(form) File "/usr/local/lib/python3.6/site-packages/allauth/account/views.py", line 644, in form_valid form.save(self.request) File "/usr/local/lib/python3.6/site-packages/allauth/account/forms.py", line 540, in save context) File "/usr/local/lib/python3.6/site-packages/allauth/account/adapter.py", line 137, in send_mail msg.send() File "/usr/local/lib/python3.6/site-packages/django/core/mail/message.py", line 294, in send return self.get_connection(fail_silently).send_messages([self]) File "/usr/local/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 103, in send_messages new_conn_created = self.open() File "/usr/local/lib/python3.6/site-packages/django/core/mail/backends/smtp.py", line 63, in open self.connection = self.connection_class(self.host, self.port, **connection_params) File "/usr/local/lib/python3.6/smtplib.py", line 251, in __init__ (code, msg) = self.connect(host, port) File "/usr/local/lib/python3.6/smtplib.py", line 336, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/local/lib/python3.6/smtplib.py", line 307, in _get_socket self.source_address) File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection raise err File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused
The above error occurs with the firewall turned off as well.
I am not an expert in this, but whenever at look at the cryptic mailman errors, the last line always defines the error. So I am guessing - mailman is trying to make an LMTP connection to your Exim, but it's refused the connection??? Is Exim listening on the lmtp port?
wash@lists:~$ telnet localhost 8024 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 FQDN GNU Mailman LMTP runner 2.0
I got this when I used the telnet command:
# telnet localhost 8024 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused
What is localhost here?
Mailman Core is running inside a container, with default IP of 172.19.199.2(if you are using my docker-compose.yaml). It will listen on Port 8024 for LMTP (emails) and Port 8001 for HTTP (REST API).
You should be able to telnet to both of these Ports to verify that Core is indeed up and running.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)