# courier-to-mailman3.py This is our current version trying to communicate between courier and mailman3. ## Changes ### 2024 May 29 * First change is changing the name to match what I have on the server. * Second change is to have the `#!` path hopefully pointing in the right place. * Which I screwed up. I think I was typing in the wrong window. * It's not failing on command line. * Still failing, let's get some logging. * Moved logging initialization, and included print statements. * OK, it's logging now (it may have been but not in the right location) * It wasn't formatting correctly. * Testing different way to handle formatting. * Nope used `Format` not `Formater`. * This is not working * Reverting to previous formatting * No idea what steps we've gone through to get here. * Let's try again. * OK, basicSettings all set at once. * This sorts it, now let's get a date format working * Now let's see if this works... * Date format set: * Level and File set in variable * Format had errors with `$` used instead of `%` * Clean up logging to not log what was logged for logging diagnostics. * Logging host and port on same line. * OK, parsing port number, and setting default. * Logging error (I hope), when lmtp fails to be created. * Maybe this is better? * Catch exception, log based on that? * Hm, go with bare "Exception"... The catch wasn't what was failing.