On 10/12/22 22:03, Onyeibo Oku wrote:
Fedora expects mailman files to reside at /usr/lib/mailman. It appears to ship with a mailman unix user. I adapted to those system defaults.
I would suggest you not do that and just install mailman in
/opt/mailman
per
https://docs.mailman3.org/en/latest/install/virtualenv.html. If you
don't want to do that, you will have to replace all occurrences of
/opt/mailman
in the doc with /usr/lib/mailman
.
Now I observe that "su - mailman" gives me the proper prompt but .bashrc doesn't kick in. I still have to manually change to the virtual environment despite setting the automatic change in .bashrc. However, "su mailman" runs .bashrc but the prompt says "bash X.XX $". Is this normal?
Yes. The suggested change to .bashrc assumes you are logging in as the
Mailman user, not switching via su
. You might try sudo -u mailman bash
or sudo -u mailman -i
instead of su
, but I'm sot sure if that
will help.
Subsequent parts of the doc show the path "/opt/mailman/mm/var/*" which should correspond to "/usr/lib/mailman/mm/var/*" on my instance. However, I don't see any instructions on how to get the "/mm" folder and the associated sub-folders. I just have "/usr/lib/mailman"
I think if you have var_dir: /usr/lib/mailman/mm/var
in the
/etc/mailman3/mailman.cfg file you create per
https://docs.mailman3.org/en/latest/install/virtualenv.html#installing-mailm...,
then starting Mailman core /usr/lib/mailman/venv/bin/mailman start
will create it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan