start_chain not present in migrated lists
Hi,
Please let me know where I can post my question if this list is not the right place.
I'm configuring a mailing list server, migrating from Mailman 2.1 to 3.2.2, and I can't get the migrated mailing lists to work. When I create new mailing lists there is no problem.
Here are the versions of Mailman I run :
mailman 3.2.2 mailman-hyperkitty (1.1.0) django-mailman3 (1.2.0) postorius (1.3.2) mailmanclient (3.2.2) HyperKitty (1.2.2)
The command line I use the migrate the mailing list:
/opt/mailman_venv/bin/mailman -C /opt/mailman_venv/var/etc/mailman.cfg import21 mltest@test.domain /var/vmail/mig/data/lists/mltest/config.pck
When I send an email to a migrated list, of which I made myself a member, no mail is sent, and I get the following stack trace in the log:
==> /var/log/mailman/mailman.log <== Jan 21 15:02:37 2020 (15948) Uncaught runner exception: None Jan 21 15:02:37 2020 (15948) Traceback (most recent call last): File "/opt/mailman_venv/lib64/python3.6/site-packages/mailman/core/runner.py", line 173, in _one_iteration self._process_one_file(msg, msgdata) File "/opt/mailman_venv/lib64/python3.6/site-packages/mailman/core/runner.py", line 266, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/opt/mailman_venv/lib64/python3.6/site-packages/mailman/runners/incoming.py", line 79, in _dispose process(mlist, msg, msgdata, start_chain) File "/opt/mailman_venv/lib64/python3.6/site-packages/mailman/core/chains.py", line 40, in process chain = config.chains[start_chain] KeyError: None Jan 21 15:02:37 2020 (15948) SHUNTING: 1579615357.5331464+c5918e305ec281d47ef0caaed070c8c4bde26ee3
It seems like the start_chain has value 'None' and that prevents the mail from processed, but I can't find where to correctly set the start_chain.
Please let me know how I can remedy this issue.
Kind regards, Paul Honig This message is intended only for the recipient(s) named above. It may contain proprietary information and/or protected content. Any unauthorised disclosure, use, retention or dissemination is prohibited. If you have received this e-mail in error, please notify the sender immediately. ESA applies appropriate organisational measures to protect personal data, in case of data privacy queries, please contact the ESA Data Protection Officer (dpo@esa.int).
On 1/21/20 6:22 AM, Paul Honig wrote:
It seems like the start_chain has value 'None' and that prevents the mail from processed, but I can't find where to correctly set the start_chain.
You are correct. Every list has a 'posting_chain' attribute and it seems for your imported lists, that attribute's value is None. I don't know how that can happen. How did you create the lists before importing them?
Please let me know how I can remedy this issue.
You can use mailman shell
mailman shell -l mltest@test.domain Welcome to the GNU Mailman shell
The variable 'm' is the mltest@test.domain mailing list
print(m.posting_chain) None m.posting_chain = 'default-posting-chain' commit()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Paul Honig