The imapautofiler.app Module

imapautofiler.app.list_mailboxes(cfg, debug, conn)

Print a list of the mailboxes.

Parameters:
  • cfg (dict) – full configuration
  • debug (bool) – flag to control debug output
  • conn (imapautofiler.client.Client) – IMAP server onnection

Used by the --list-mailboxes switch.

imapautofiler.app.main(args=None)
imapautofiler.app.process_rules(cfg, debug, conn, dry_run=False)

Run the rules from the configuration file.

Parameters:
  • cfg (dict) – full configuration
  • debug (bool) – flag to control debug output
  • conn (imapautofiler.client.Client) – IMAP server onnection