On 12/9/18 12:53 PM, Odhiambo Washington wrote:
On Sun, 9 Dec 2018 at 22:37, Mark Sapiro <mark@msapiro.net> wrote:
The nginx logs generally aren't too useful. Both Mailman core and Django write logs. Core's log is probably in var/log/mailman.log where is defined in mailman.cfg as var_dir. Django's log is defined in Django's settings in the LOGGING setting.
Which file contains Django's settings?
See <http://docs.list.org/en/latest/pre-installation-guide.html#django-knowledge>.
Ultimately I need to figure out:
- How the mailman queue runners are started and stopped
mailman start
Why not systemctl mailman start?? Just wondering, as that is what I am seeing is common in Ubuntu. Does this make the components start after a reboot?
'mailman start' is the command that starts Mailman. When you install Mailman, you typically create an init, upstart or systemd script to enable 'systemctl mailman start'. Presumably the Ubuntu mailman3-full package installs such scripts for Mailman and other components that need to be started at boot, but I'm not that familiar with this package.
- Migrate s few lists from Mailman2 to this Mailman3
mailman import21 <django management> hyperkitty_import
Please show me where that is documented. I have to pull my lists from an old machine to this new one.
Those commands have --help options. There is also some documentation at <https://mailman.readthedocs.io/en/latest/src/mailman/commands/docs/import.html#importing-list-data> and <https://hyperkitty.readthedocs.io/en/latest/install.html#importing-the-current-archives>.
All of our formal documentation is at <http://docs.list.org/en/latest/>.
So, when you talk about Django settings, you are referring to mailman.cfg file??? :-)
No. I am talking about a file often named settings.py and which my in turn import a file named something like settings_local.py. See my first answer above.
I have spent all my weekend till now, trying to figure all this out. Life seems a little easier with mm2.x ....
I expect some of that is just what you're familiar with, but yes, Mailman 3 is more complex than Mailman 2.1 just as Mailman 2.1 is more complex than a Bcc: list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan