On 6/2/22 02:44, kenneth.karlsson@eco.cept.org wrote:
It shows me its there, then i proceed to quit() and go back in to the shell, and do this:
quit() ecoadmin@list01:/etc/mailman3$ sudo mailman shell Welcome to the GNU Mailman shell
from zope.component import getUtility
...
More recent versions of mailman shell will tell you what the problem is.
$ ./mailman shell
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
>>>
You need to exit the shell with control-D or issue a commit() before you exit.
Also, NEVER run any mailman
commands as root. Always run mailman
as
the Mailman user. Running mailman
as root can create files owned by
root that can't be read/modified by the Mailman user. More recent
versions will tell you
$ sudo ./mailman
Usage: mailman [OPTIONS] COMMAND [ARGS]...
Try 'mailman -h' for help.
Error: If you are sure you want to run as root, specify --run-as-root.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan