Hey there, this already helped a lot! (I also think this is logged double, because of another configuration problem: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...)
Am 26.08.23 um 15:56 schrieb Stephen J. Turnbull:
Jens Günther writes:
Already a while I get this type of error:
2023-08-26T08:21:59.517986+02:00 postfix/smtpd[2843414]: connect from unknown[192.168.176.6] 2023-08-26T08:21:59.522238+02:00 postfix/smtpd[2843414]: NOQUEUE: reject: RCPT from unknown[192.168.176.6]: 450 4.7.25 Client host rejected: cannot find your hostname, [192.168.176.6]; from=<$admin@mydomain.de> to=<$recipient> proto=ESMTP helo=<mailman-web>
and similar except for
from=<root@$mailman.mydomain.de> to=<root@localhost> proto=ESMTP [...] Where
- $admin@mydomain.de is set in MAILMAN_ADMIN_EMAIL (mm-web) and as site_owner in mailman-extra.cfg (mm-core) and as DEFAULT_FROM_EMAIL in settings_local.py (mm-web)
- $mailman.mydomain.de is set in SERVE_FROM_DOMAIN (mm-web)
The first one is probably a Django error. You can probably find a trace of it in the Mailman's mailman-web.log. The second one could be any number of things but I would guess for starters it's a cron report. That might show up in a cron.log or syslog or messages.
With hte log I could reproduce it and it happens, when somebody tries to reset the password:
ERROR 2023-08-26 19:41:00,863 22 django.request Internal Server Error: /accounts/password/reset/ Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python3.10/site-packages/django/views/generic/base.py", line 84, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python3.10/site-packages/django/utils/decorators.py", line 46, in _wrapper return bound_method(*args, **kwargs) File "/usr/lib/python3.10/site-packages/allauth/decorators.py", line 20, in wrap resp = function(request, *args, **kwargs) File "/usr/lib/python3.10/site-packages/django/views/generic/base.py", line 119, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python3.10/site-packages/allauth/account/views.py", line 105, in post response = self.form_valid(form) File "/usr/lib/python3.10/site-packages/allauth/account/views.py", line 700, in form_valid form.save(self.request) File "/usr/lib/python3.10/site-packages/allauth/account/forms.py", line 580, in save self._send_password_reset_mail(request, email, self.users, **kwargs) File "/usr/lib/python3.10/site-packages/allauth/account/forms.py", line 620, in _send_password_reset_mail get_adapter(request).send_mail( File "/usr/lib/python3.10/site-packages/allauth/account/adapter.py", line 140, in send_mail msg.send() File "/usr/lib/python3.10/site-packages/django/core/mail/message.py", line 298, in send return self.get_connection(fail_silently).send_messages([self]) File "/usr/lib/python3.10/site-packages/django/core/mail/backends/smtp.py", line 131, in send_messages sent = self._send(message) File "/usr/lib/python3.10/site-packages/django/core/mail/backends/smtp.py", line 149, in _send self.connection.sendmail( File "/usr/lib/python3.10/smtplib.py", line 901, in sendmail raise SMTPRecipientsRefused(senderrs) smtplib.SMTPRecipientsRefused: {'$Accountaddress': (450, b'4.7.25 Client host rejected: cannot find your hostname, [192.168.176.6]')}
- where $Accountaddress is the mail-address I registered with
-> it seems to me, that in this process the hostname for the web-container is missing and can't be found, right? I mean the hostname for the core-container must be there, since mail is accepted :-D
Thanks for looking into this.