On Thu, Oct 7, 2021, at 11:23 AM, dancab@caltech.edu wrote:
I'm working on importing nearly 2000 lists and have been doing some testing prior to migrating from Mailman2.
I'm using the mailman create command via for loop. It takes quite a while to do all the work including updating MySQL and re-generating the LMTP files for each list. As the number of lists increases the process gets slower.
Do you have any recommendations for speeding up this process? I am running the system in AWS using EFS for storage of the LMTP files.
There isn't a way to disable creation of LMTP files, but if this instance you are running on isn't live, then you can configure Mailman with NullMTA so it won't try to generate LMTP files.
[mta]
# NullMTA is just implementing the interface and thus satisfying Mailman
# without doing anything fancy
outgoing: mailman.mta.null.NullMTA
You need to add ^ to mailman.cfg, commenting out the _real_ outgoing MTA configuration.
Once you are done with the migration, you can configure the right MTA
and run mailman aliases
command to generate them.
-- thanks, Abhilash Raj (maxking)