where is the mailman2 config file loacted - VPS server, running centos 7, WHM / cpanel 106.0.13,
![](https://secure.gravatar.com/avatar/85a99b25cf78c0293215f307acd00fb9.jpg?s=120&d=mm&r=g)
Where is this file - wanting to change the mailman db to use Mariadb and there is supposed to be a config setting where I can change the db that mailman uses
Thanks, Pineyscritper
![](https://secure.gravatar.com/avatar/b273ab068bc220d17a3e4c710c401c4b.jpg?s=120&d=mm&r=g)
On 1/24/2023 8:45 AM, jerry.barnabee@gmail.com wrote:
Where is this file - wanting to change the mailman db to use Mariadb and there is supposed to be a config setting where I can change the db that mailman uses
You might be thinking of Mailman3; most Mailman2 info is kept in python "pickles" (.pck) although a little is in .db files. (There is no one database in mailman2.)
z!
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Tue, Jan 24, 2023 at 7:46 PM <jerry.barnabee@gmail.com> wrote:
Might you be thinking about: https://web.archive.org/web/20120629205649/http://loeki.tv/log/archives/81-S... ??
Mailman2 never quite used a RDBM. Mailman3 does, but I haven't heard about it being supported on cPanel.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
![](https://secure.gravatar.com/avatar/85a99b25cf78c0293215f307acd00fb9.jpg?s=120&d=mm&r=g)
I had contacted CPANEL about that and it seems they are getting hung up on that they don't yet have an "upgrade" to mailman 3 option that would also convert current mailman 2 lists in production to mailman 3 .... I suggested that maybe they could at least offer an option to install mailman 3 as a "new" install with the cavet that any current mailman 2 lists would have to be ported over to mailman 3 manually ... have not heard back from them about that suggestion .... although they did note my suggestion ....
So here is the problem that I am trying to solve - I can automate adding /removing users to lists and addiing/removing lists ... but I don't see anyway to automate the setting of the moderation flag on or off for adding email addresses to: List of non-member addresses whose postings should be automatically accepted. (Sender Filters)
Any suggestions would be appreciated.
Thanks, JerryB
![](https://secure.gravatar.com/avatar/b273ab068bc220d17a3e4c710c401c4b.jpg?s=120&d=mm&r=g)
On 1/24/2023 9:37 AM, jerry.barnabee@gmail.com wrote:
If you have shell access to mailman, many things can be scripted using things in the ./bin/ directory- add_members, config_list, newlist, withlist, etc.
Without shell access, I think you're kinda limited to the interfaces that cpanel provides and to the mailman web pages.
Later,
z! who doesn't use cpanel, so doesn't know that much about it
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 1/24/23 09:37, jerry.barnabee@gmail.com wrote:
So here is the problem that I am trying to solve - I can automate adding /removing users to lists and addiing/removing lists ... but I don't see anyway to automate the setting of the moderation flag on or off for adding email addresses to: List of non-member addresses whose postings should be automatically accepted. (Sender Filters)
Any suggestions would be appreciated.
See https://wiki.list.org/DOC/Mailman%20and%20CPanel
If you have command line access to the server you can run /usr/local/cpanel/3rdparty/mailman/bin/withlist to do almost anything.
See the withlist script at https://www.msapiro.net/scripts/set_mod.py for setting moderation for members.
See the script at https://www.msapiro.net/scripts/non_members for adding/removing addresses to/from *_these_nonmembers.
Also see the standard /usr/local/cpanel/3rdparty/mailman/bin/config_list script.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/b273ab068bc220d17a3e4c710c401c4b.jpg?s=120&d=mm&r=g)
On 1/24/2023 8:45 AM, jerry.barnabee@gmail.com wrote:
Where is this file - wanting to change the mailman db to use Mariadb and there is supposed to be a config setting where I can change the db that mailman uses
You might be thinking of Mailman3; most Mailman2 info is kept in python "pickles" (.pck) although a little is in .db files. (There is no one database in mailman2.)
z!
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Tue, Jan 24, 2023 at 7:46 PM <jerry.barnabee@gmail.com> wrote:
Might you be thinking about: https://web.archive.org/web/20120629205649/http://loeki.tv/log/archives/81-S... ??
Mailman2 never quite used a RDBM. Mailman3 does, but I haven't heard about it being supported on cPanel.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
![](https://secure.gravatar.com/avatar/85a99b25cf78c0293215f307acd00fb9.jpg?s=120&d=mm&r=g)
I had contacted CPANEL about that and it seems they are getting hung up on that they don't yet have an "upgrade" to mailman 3 option that would also convert current mailman 2 lists in production to mailman 3 .... I suggested that maybe they could at least offer an option to install mailman 3 as a "new" install with the cavet that any current mailman 2 lists would have to be ported over to mailman 3 manually ... have not heard back from them about that suggestion .... although they did note my suggestion ....
So here is the problem that I am trying to solve - I can automate adding /removing users to lists and addiing/removing lists ... but I don't see anyway to automate the setting of the moderation flag on or off for adding email addresses to: List of non-member addresses whose postings should be automatically accepted. (Sender Filters)
Any suggestions would be appreciated.
Thanks, JerryB
![](https://secure.gravatar.com/avatar/b273ab068bc220d17a3e4c710c401c4b.jpg?s=120&d=mm&r=g)
On 1/24/2023 9:37 AM, jerry.barnabee@gmail.com wrote:
If you have shell access to mailman, many things can be scripted using things in the ./bin/ directory- add_members, config_list, newlist, withlist, etc.
Without shell access, I think you're kinda limited to the interfaces that cpanel provides and to the mailman web pages.
Later,
z! who doesn't use cpanel, so doesn't know that much about it
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 1/24/23 09:37, jerry.barnabee@gmail.com wrote:
So here is the problem that I am trying to solve - I can automate adding /removing users to lists and addiing/removing lists ... but I don't see anyway to automate the setting of the moderation flag on or off for adding email addresses to: List of non-member addresses whose postings should be automatically accepted. (Sender Filters)
Any suggestions would be appreciated.
See https://wiki.list.org/DOC/Mailman%20and%20CPanel
If you have command line access to the server you can run /usr/local/cpanel/3rdparty/mailman/bin/withlist to do almost anything.
See the withlist script at https://www.msapiro.net/scripts/set_mod.py for setting moderation for members.
See the script at https://www.msapiro.net/scripts/non_members for adding/removing addresses to/from *_these_nonmembers.
Also see the standard /usr/local/cpanel/3rdparty/mailman/bin/config_list script.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Carl Zwanzig
-
jerry.barnabee@gmail.com
-
Mark Sapiro
-
Odhiambo Washington