From 85c1376fd29096ff54b4a1646b6ffa826a47b2c9 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 19 Sep 2018 16:31:30 -0400 Subject: [PATCH] Add mailnag config --- .config/mailnag/mailnag.cfg | 68 +++++++++++++++++++ .../mailnag/plugins/systray_icon_plugin.py | 1 + .gitignore | 2 + 3 files changed, 71 insertions(+) create mode 100644 .config/mailnag/mailnag.cfg create mode 120000 .config/mailnag/plugins/systray_icon_plugin.py diff --git a/.config/mailnag/mailnag.cfg b/.config/mailnag/mailnag.cfg new file mode 100644 index 0000000..bd63f85 --- /dev/null +++ b/.config/mailnag/mailnag.cfg @@ -0,0 +1,68 @@ +[spamfilterplugin] +filter_text = newsletter, viagra + +[core] +imap_idle_timeout = 10 +enabled_plugins = dbusplugin, libnotifyplugin, systray_icon_plugin +poll_interval = 10 +credentialstore = auto +connectivity_test = auto +autostart = 1 + +[soundplugin] +soundfile = mailnag.ogg + +[libnotifyplugin] +notification_mode = 1 +max_visible_mails = 10 + +[systray_icon_plugin] +script_file = +click_command = emacsclient -ce "(nm)" +click_action = None + +[account3] +enabled = 1 +type = imap +name = adamgoldsmith1217@gmail.com (Gmail) +user = adamgoldsmith1217@gmail.com +password = +server = imap.gmail.com +port = 993 +ssl = 1 +imap = 1 +idle = 1 +folder = [] + +[account2] +enabled = 0 +type = imap +name = WPI +user = asgoldsmith@wpi.edu +password = +server = outlook.office365.com +port = +ssl = 1 +imap = 1 +idle = 1 +folder = ["INBOX"] + +[account1] +enabled = 1 +type = imap +name = adamgoldsmith.name +user = adam +password = +server = adamgoldsmith.name +port = +ssl = 1 +imap = 1 +idle = 0 +folder = ["wpi/Inbox", "INBOX"] + +[userscriptplugin] +script_file = + +[mailnag_applet] +script_file = + diff --git a/.config/mailnag/plugins/systray_icon_plugin.py b/.config/mailnag/plugins/systray_icon_plugin.py new file mode 120000 index 0000000..1247063 --- /dev/null +++ b/.config/mailnag/plugins/systray_icon_plugin.py @@ -0,0 +1 @@ +/home/adam/Programs/mystuff/mailnag-systray-icon/systray_icon_plugin.py \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1944fd6..b1a00fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.tmp +/.config/mailnag/mailnag.dat +/.config/mailnag/plugins/systray_icon_plugin.pyc