Skip to content

Version 0.11

Choose a tag to compare

@draga79 draga79 released this 23 Oct 10:35
· 28 commits to main since this release

Version 0.11

New Features:

  • Command-Line Flexibility: Now you can customize your config file path using -c or --config flags. The default remains 'config.ini'.
  • Man Page: Introduced a man page for NotiMail, making it easier for users to understand usage and options.
  • Dynamic Database Location: Configure your database path in the settings, allowing for more flexible deployments.

Changes:

  • Codebase:
    • Introduced argparse to enable command-line arguments. You can now specify the path to a configuration file using the -c or --config option.
    • Moved the configuration reading to the top of the script to make it globally accessible.
    • Updated the logging setup to use the log file location from the config file (LogFileLocation). If not set, it defaults to notimail.log.
    • Modified the DatabaseHandler class to use the database location from the config file (DataBaseLocation). If not set, it defaults to processed_emails.db.
    • Improved Logging: Logs now include thread names, providing clearer insights into operations.
    • Stability Upgrades: Enhanced handling of 'BYE' responses from servers. Plus, in case of connection loss, the tool will now auto-retry to maintain smooth operations.
    • Socket Timeout: Adjusted the default socket timeout setting to further optimize responsiveness.
  • Configuration (config.ini):
    • Introduced a new [GENERAL] section. You can specify LogFileLocation and DataBaseLocation within this section to set the desired paths for the log file and database, respectively.