Stephen J. Turnbull wrote:
blup@fortytwo.ch writes:
I installed mailman3 on a server where mailman21 was installed before. Newly created mailinglists work fine. But if I create mailinglists with a name that was previously used on mailman21 nothing works If I send a mail to old list list1@a.b and new list list2@a.b [..] Your logs below show that *something* is working because Mailman 3 is logging the incoming message.
I didn't mean nothing literally, what I meant is that the mail to list1 is neither being sent out nor shown in the list archives nor ... I.e. all general stuff is working, but things specific for list1 aren't (whereas they do for list2).
(same behaviour with and without import of old configs and archives; no logs). I don't understand what you mean by "without import of old configs". Do you mean you just create the list with the old name? Did you do any further configuration and set up of that list?
First I did create the list with the old name and imported the old configs with mailman import21. As the list did not work then, I deleted it and created it again (with the same manual configuration as for the new list that's working). If you think the problem is neither mailman3 nor postfix, the only issue could be that the first import set some wrong setting for the old list which was not removed when deleting the list.
How can I get more info on why the mail for list1 isn't processed? First check the queues (normally /var/lib/mailman/qfiles/*/* where the first * is a wildcard for list names and the second is a wildcard for message objects, the '/var/lib' part may be different in your installation) for a "stuck" message.
I don't have a qfiles directory. In /var/lib/mailman3/ there are archives cache data lists locks messages queue templates web
Second, have you checked the other Mailman logs for information?
Sure -- nothing there...
Third, are both lists visible in the message header as addressees?
You mean in the header of the received message via list2? Yes it is.
Is the 'outgoing' qrunner still running? (ps ax | grep outgoing)
no
Are there any subscribers with delivery enabled on 'list1'?
yes
Is list1 configured to accept only member posts? If so, is the sender a member whose posts are accepted?
Yes. Anyway: there should be a reaction if there is a post from a non-member (i.e. mail shown in held messages, sender and admin being informed of it).
Is there a sibling list setting that would prevent the message from being sent to the same address if it is on both lists?
I don't think so. But also if it would be that couldn't be the problem, as my previous tests all only included list1.
Are the spam filter settings the same?
No clue -- where do you set them? But once more: list1 was working fine as long as mailman21 was used and stopped working when switching to mailman3. I don't expect spam filters that worked with mailman21 to stop working with mailman3.
How can I diff the config between list1 and list2 from the command line? This doesn't seem to be implemented. I need to prep for some meetings, but here's the basic strategy I'd follow:
Use "mailman withlist -i -l list1". This puts you in a Python interpreter command line. Next "attrs = dir(m)" to get the list attributes as a list.
Should this give an output? I get none...
Check "attrs" for things like the roster of subscribers that you're not interested in printing out, and delete them.
How?
Open a file as 'f', then loop over attr in attrs using "print(f'{attr}: {getattr(m, attr)}', file=f)".
I have more or less no Python knowledge (i.e. I can read and understand Python but can't write it). Could you please give me detailed command by command instructions. Thanks.
Regards Diana