On Thu, Oct 9, 2025 at 3:03 PM Flo via Mailman-users <
[email protected]> wrote:
> Hi,
>
> I added a new site in Django: lists.example.com
>
> Usually I click on 'view site' and I can add a Domain in Postorios. In
> this case I get an error message and I need to add a Domain in Django.
> Then I can go to 'view site'.
>
> I can create a mailing list there. However when I send an email to be
> subscribed, I get the following in mailman.log (and nothing else happens):
>
>
> Oct 09 13:46:24 2025 (110452) deque: do_confirm_verify
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mailman/app/workflow.py", line
> 69, in __next__
> return step()
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 379, in _step_send_confirmation
> notify(SubscriptionConfirmationNeededEvent(
> ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> self.mlist, self.token, self.address.email))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/zope/event/__init__.py", line
> 33, in notify
> subscriber(event)
> ~~~~~~~~~~^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 669, in handle_SubscriptionConfirmationNeededEvent
> _handle_confirmation_needed_events(event,
> 'list:user:action:subscribe')
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 638, in _handle_confirmation_needed_events
> confirm_address = event.mlist.confirm_address(event.token)
> File "/usr/lib/python3/dist-packages/mailman/model/mailinglist.py",
> line 335, in confirm_address
> local_part = expand(config.mta.verp_confirm_format, self, dict(
> address='{}-confirm'.format(self.list_name),
> cookie=cookie))
> File "/usr/lib/python3/dist-packages/mailman/utilities/string.py",
> line 69, in expand
> if mlist.domain.base_url is not None:
> ^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/model/mailinglist.py",
> line 279, in domain
> return getUtility(IDomainManager)[self.mail_host]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/model/domain.py", line
> 177, in __getitem__
> raise KeyError(mail_host)
> KeyError: 'lists.example.com'
> Oct 09 13:46:24 2025 (110452) Uncaught runner exception: '
> lists.example.com'
> Oct 09 13:46:24 2025 (110452) Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line
> 179, in _one_iteration
> self._process_one_file(msg, msgdata)
> ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line
> 272, in _process_one_file
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/lib/python3/dist-packages/mailman/runners/command.py",
> line 214, in _dispose
> status = command.process(
> mlist, msg, msgdata, parts, results)
> File
> "/usr/lib/python3/dist-packages/mailman/commands/eml_membership.py",
> line 122, in process
> ISubscriptionManager(mlist).register(subscriber,
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
> delivery_mode=delivery_mode)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 584, in register
> list(workflow)
> ~~~~^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/workflow.py", line
> 69, in __next__
> return step()
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 379, in _step_send_confirmation
> notify(SubscriptionConfirmationNeededEvent(
> ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> self.mlist, self.token, self.address.email))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/zope/event/__init__.py", line
> 33, in notify
> subscriber(event)
> ~~~~~~~~~~^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 669, in handle_SubscriptionConfirmationNeededEvent
> _handle_confirmation_needed_events(event,
> 'list:user:action:subscribe')
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/app/subscriptions.py",
> line 638, in _handle_confirmation_needed_events
> confirm_address = event.mlist.confirm_address(event.token)
> File "/usr/lib/python3/dist-packages/mailman/model/mailinglist.py",
> line 335, in confirm_address
> local_part = expand(config.mta.verp_confirm_format, self, dict(
> address='{}-confirm'.format(self.list_name),
> cookie=cookie))
> File "/usr/lib/python3/dist-packages/mailman/utilities/string.py",
> line 69, in expand
> if mlist.domain.base_url is not None:
> ^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/model/mailinglist.py",
> line 279, in domain
> return getUtility(IDomainManager)[self.mail_host]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/mailman/model/domain.py", line
> 177, in __getitem__
> raise KeyError(mail_host)
> KeyError: 'lists.example.com'
> Oct 09 13:46:24 2025 (110452) SHUNTING:
> 1760010384.7617948+270daab1a93851be76e09ce6b976f78ec6232ca2
>
>
> If I write a subscription email to any list of any other domain/site, I
> get back the request of confirmation and nothing in mailman.log.
>
> And there is another difference to other sites: I get shown all lists of
> all sites/domains and not only the ones which belongs to this site/domain.
>
> What could I have done wrong here? I really don't get it.
>
Your first and greatest mistake is that you installed Mailman using OS
packages and that is NOT supported on this list.
You can remedy that by wiping away the packages and installing MM3 by
following the guide below:
https://docs.mailman3.org/en/latest/install/virtualenv.html
If something fails after that, come back quickly and we'll do our best to
help you.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/56RQBGFZKN2K5E2ZW5BA5MSZVIHTTHNV/
This message sent to [email protected]