2024-05-29 20:55:07 -07:00
|
|
|
# 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.
|
2024-05-29 21:37:40 -07:00
|
|
|
* 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.
|
2024-05-29 21:44:19 -07:00
|
|
|
* Still failing, let's get some logging.
|
2024-05-29 21:50:56 -07:00
|
|
|
* 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.
|
2024-05-29 22:02:01 -07:00
|
|
|
* Testing different way to handle formatting.
|
|
|
|
* Nope used `Format` not `Formater`.
|
|
|
|
* This is not working
|
2024-05-29 22:18:19 -07:00
|
|
|
* Reverting to previous formatting
|
2024-05-29 22:23:51 -07:00
|
|
|
* No idea what steps we've gone through to get here.
|
2024-05-29 22:46:44 -07:00
|
|
|
* 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:
|
2024-05-29 22:49:41 -07:00
|
|
|
* Level and File set in variable
|
2024-05-29 22:53:44 -07:00
|
|
|
* Format had errors with `$` used instead of `%`
|
2024-05-29 22:57:35 -07:00
|
|
|
* Clean up logging to not log what was logged for logging diagnostics.
|
2024-05-29 23:03:16 -07:00
|
|
|
* Logging host and port on same line.
|
2024-05-29 23:31:22 -07:00
|
|
|
* OK, parsing port number, and setting default.
|
2024-05-29 23:36:07 -07:00
|
|
|
* Logging error (I hope), when lmtp fails to be created.
|
2024-05-29 23:40:08 -07:00
|
|
|
* Maybe this is better?
|
2024-05-29 23:48:26 -07:00
|
|
|
* Catch exception, log based on that?
|
2024-05-29 23:53:45 -07:00
|
|
|
* Hm, go with bare "Exception"... The catch wasn't what was failing.
|
2024-05-29 23:57:57 -07:00
|
|
|
* Let's try that instead?
|
2024-05-30 00:04:20 -07:00
|
|
|
* Oh man... Variable not properly defined (or more derferenced.)
|
2024-05-30 00:15:16 -07:00
|
|
|
* OK, it's failing further along, so maybe this works?
|
|
|
|
* I see...
|
2024-05-30 00:25:10 -07:00
|
|
|
* The parsing of the environment variables is failing, but let's try this.
|
2024-05-30 00:40:35 -07:00
|
|
|
* That's not doing it... Might need to create users?
|
2024-05-30 01:07:44 -07:00
|
|
|
* OK, let's see if what I need is in the headers...
|
|
|
|
* Using the "To" header... Let's see if that gets us anywhere.
|
|
|
|
* It's not finding it.
|