I’ve installed Mailman 3 (3.8-2~deb12u2) and Webmin-virtualmin-mailman (6.11), and I’ve created a virtual server. All fine
In Webmin, I then select Servers → Virtualmin Mailman Mailing Lists, and try to Add Mailing List. But the drop-down menu “Domain name” is empty. I can’t enter or choose anything. Why is that?
I’ve been a happy Mailman user for many years, but I’m quite new to Virtualmin. I really look forward to Virtualmin helping me administer my mailing lists
| SYSTEM INFORMATION||
| OS type and version | Debian Linux 12 |
| Virtualmin version | 7.20.1.gpl-1 |
So, here’s a brief summary of what to do, if you want to run Mailman3 with Virtualmin on Debian:
In Virtualmin, create one or more virtual servers to host Mailman mailing lists
$ apt install mailman3
$ apt install webmin-virtualmin-mailman
$ apt install python3-pymysql
$ systemctl start mailman3
In the web-interface go to “Virtualmin” → “System Settings” → “Features and Plugins”, and select “Mailman” as available for use by virtual servers
In the web-interface go to ”Virtualmin” and select a virtual server, you want to host Mailman mailing lists. Then go to “Edit Virtual Server”, mark “Mailman mailing lists” as enabled, and click “Save Virtual Server”.
You’ll need to figure out where the commands are, and update the Module Configuration (click the gear icon in the upper left part of the content pane in the Mailman module).
I looked into this and found out that the problem is related to the fact that in mailman3, the mailman binary now needs the “–run-as-root” parameter. I’ve made a temporary fix by adding this script as “/usr/lib/mailman3/bin/mailman3”
When I try to delete a mailing list in Virtualmin, I get this error: Undefined subroutine &virtualmin_mailman::get_postfix_version called at ./virtualmin-mailman-lib.pl line 347.
I can’t find this subroutine anywhere?
Also, I’m a bit confused about the relationship between the mailman interface in Virtualmin, and Mailman 3’s own interface. It seems to me, that a mailing list created outside of Virtualmin, doesn’t show up in Virtualmin?
Help and comments appreciated
/Jesper Holck, Roskilde, Denmark
A mailing list created outside of Virtualmin doesn’t belong to any virtual server, and thus isn’t a concern of Virtualmin.
That looks like an artifact of a refactor of the code that missed a line. Jamie has since fixed it, but I guess didn’t tag a new version.
Here’s the commit where it was fixed:
But, there have been a number of other changes since the 6.11 release, probably also useful for your situation. I’ll ask @Jamie if we can do a new release of that.