Commit Graph

24 Commits

Author SHA1 Message Date
Jigme Datse Yli-Rasku 52560c3621 Changing how recepient value is getting handled.
This was trying some handwaving recepient checking (hey maybe it's
needed).  Let's try this instead.
2024-05-30 00:15:16 -07:00
Jigme Datse Yli-Rasku 7ac90e5d2a Fix problem with no arguments
This is currently getting called with no arguments, and requires (as
stands) 2.  I'd handled the lack of 1 argument previously, but as of
getting further along the second argument is missing.
2024-05-30 00:04:20 -07:00
Jigme Datse Yli-Rasku ed07bec6e5 `lmpt_port` corrected tio `lmtp_port`
This is such a bonkers error.  Would have actually just shown up if I
hadn't been in a try loop.
2024-05-29 23:57:57 -07:00
Jigme Datse Yli-Rasku 6e13955b08 Let's see if that will log it.
I'm not really sure.
2024-05-29 23:53:45 -07:00
Jigme Datse Yli-Rasku d077bbf8c8 Try `Exception` exceptioin.
And a traceback?
2024-05-29 23:48:26 -07:00
Jigme Datse Yli-Rasku d451cc0920 Catch Exception?
This should catch the exception...

And log based on that (it won't but maybe I can see better where my
error is).
2024-05-29 23:40:08 -07:00
Jigme Datse Yli-Rasku 66c37c2af6 Logging simplified
This isn't catching the exception, just logging before exiting.
2024-05-29 23:36:07 -07:00
Jigme Datse Yli-Rasku 7ec334a716 Logging error on lmtp not created.
This I hope logs when lmtp fails to be created.
2024-05-29 23:31:22 -07:00
Jigme Datse Yli-Rasku de3f954950 Parsing port number, and setting default if not set
This cleans a bit up, but not sure if this will get things working.
2024-05-29 23:03:16 -07:00
Jigme Datse Yli-Rasku b1ada80361 Logging port and host on same line
Previously it wasn't listing the port (it should be null).
2024-05-29 22:57:35 -07:00
Jigme Datse Yli-Rasku e0da11693a Clean up logging
This logs only what is needed for diagnostics.  Much was diagnosing the
logging.
2024-05-29 22:53:44 -07:00
Jigme Datse Yli-Rasku 0881c1ce27 Change date format, switch `$` to `%`
This was a typing mistake.
2024-05-29 22:49:41 -07:00
Jigme Datse Yli-Rasku 86b7b61fb1 Logging cleaned up
This sets the date format, and hase the log level, and log file as
variables.
2024-05-29 22:46:44 -07:00
Jigme Datse Yli-Rasku 3122d93bfc OK, remove more complex code...
This removes the more complex code (I hope not to need it).
2024-05-29 22:35:29 -07:00
Jigme Datse Yli-Rasku 0ae1a78050 Set all basic settings at the same time.
Let's see if this works.
2024-05-29 22:33:39 -07:00
Jigme Datse Yli-Rasku 98ba217d03 Let's get this working
Or let's see if we can...  This is a far more complex version with
conslole logging, and file logging.  But hopefully it gives us
formatting.
2024-05-29 22:23:51 -07:00
Jigme Datse Yli-Rasku 7baad18daf Trying formatting more...
I really want to get formatting to work.
2024-05-29 22:18:19 -07:00
Jigme Datse Yli-Rasku b6182b204a Reverting to previous formatting
This reverts (but with minor changes) to previous formatting.  Not sure
if it works.
2024-05-29 22:02:01 -07:00
Jigme Datse Yli-Rasku 6f611f22cc Change `Format` to `Formater`
The wrong form was used, this might sort it.
2024-05-29 21:53:12 -07:00
Jigme Datse Yli-Rasku 18e5e8778c Changing fomatting handling (hopefully)
This should change the format handling to hopefully give a better
format.
2024-05-29 21:50:56 -07:00
Jigme Datse Yli-Rasku f3a169208b Moving Logging and adding prints. 2024-05-29 21:44:19 -07:00
Jigme Datse Yli-Rasku f095619494 Added some logging, and some further documentation
Added logging to the code, and documenting what the code is doing, not
clear with the current code.
2024-05-29 21:37:40 -07:00
Jigme Datse Yli-Rasku c0683deebb First Test...
This is the first test to see if this is ending up getting at all close
to working.
2024-05-29 20:55:07 -07:00
Jigme Datse Yli-Rasku 0fa9e3ea24 Initial Working versions
This is the start after having setup the repository.
2024-05-29 20:46:44 -07:00