Mailman Not Found Error

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.3
Virtualmin version 8.0.0 GPL

On my old server I have a Mailman 2 list and on the new server it’s Mailman 3. I was told the upgrade is rough so I just want to recreate the list from scratch. When I try and create the list I get an error.

sh: 1: /var/lib/mailman3/bin/newlist: not found

I asked Perplexity about this error and it told me that the newlist command was part of mailman 2 and not 3. Also there isn’t a bin folder in that path. The path to the mailman bin file is /usr/lib/mailman3/bin/mailman

Any advise on how to get this to work?

1 Like

This has come up before in the forum

I looked at that and it’s still broken.

Did you do what that thread says to do?

Sorry it took me so long to reply, but yes I did.

/var/lib/mailman3 has the following folders:
archives cache data lists locks messages queue templates

If you’ve configured it correctly, it can’t be the same error. So, what’s the error now?

It doesn’t have a bin? Then why tell Webmin that’s where the mailman command is? You need to tell it how to find everything or it can’t work.

The bin folder is in /usr/lib/mailman3/bin. In that folder is mailman, master, and runner files. The bin folder is the only folder in /usr/lib/mailman3.

Oh, I see. So, yeah, that should work. What’s the error? Is it really exactly the same error as before?

I’m trying to find my notes but Mailman3 uses Django to add domains.
domain.tld/mailman3/postorius/lists/

I think this is all in the database?


Mr. GooAI says there is a shell and you can use python to do the same. I guess this is what the WM/VM interface would do?

so, does that mean Django - only available in Pro ?

I’m just offering up what I remember. I have NO clue how this was implemented in the Mailman module. Like I said, it is data base driven and there is more than one way to stuff a database. Believe me, I suffered mightily through the install.

OH. One other thing. If the Mailman directives for transport in Postfix got stuck in the recommended place, they don’t work because Virtualmin as a default ‘catchall’ address that will kick in prior to those transport directives.

This is the error.

Failed to create mailing list : List creation command failed :

sh: 1: /var/lib/mailman3/bin/newlist: not found

When I asked Perplexity about this it said the newlist is a binary from Mailman2 and doesn’t exist in Mailman3.

Well this is potentially disturbing.
“In order to get the full Mailman3 system, the metapackage ‘mailman3-full’
should be installed.”
That package doesn’t show up in my Debian 13 install. ONE reason I went with Debian 11 was, at the at the time, Ubuntu was waiting on some upstream fix from Debian on that package. I think at the time there were two parts. One was called ‘web’. Just took a screen shot of my D11 machine. You might not even be able to use the web interface I referenced above.

To recap what I’ve said in previous threads. Mailman3 was an attempt to keep the software relevant in the forum age. I think the mailing software itself is now pretty poor and bloated to mimic a forum. :frowning: Other than the main author I don’t see much input from people interested in helping. I expect it to die out.

Is there something you would recommend to replace it that doesn’t cost anything? I use it for our camera club executive board, so I don’t need anyone signing up for it. I just add and remove people as they come and leave the board.

The new mailman is a heavy lift for limited use. phplist might be an option to at least look at.

That seems to indicate the Mailman module doesn’t know it’s Mailman 3. I don’t know why that would be. I’m not familiar with the code, but I know Jamie added support for Mailman 3 a while back.

if you are using django/python - and perhaps already are - why not MailerSend?

That’s not a mailing list management tool. It is unrelated to what Mailman does.

oh, sorry - i was under the impression that it could be used for that as well - something to do with the ‘beta’ MCP server.

maybe not an instant out-of-the-box simple ‘replacement’ but then what is these days? at least an alternative point of inquiry.