aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/lumail/lumail.lua10
-rw-r--r--config/offlineimap/config23
2 files changed, 32 insertions, 1 deletions
diff --git a/config/lumail/lumail.lua b/config/lumail/lumail.lua
index 678f805..7add262 100644
--- a/config/lumail/lumail.lua
+++ b/config/lumail/lumail.lua
@@ -60,16 +60,24 @@ function on_folder_changed(folder)
local path = folder:path()
if path:find("FAU") then
account = "fau"
+ Config:set("global.name", "Florian Fischer")
Config:set("global.address", "florian.fl.fischer@fau.de")
Config:set("global.sent-mail", MAILPREFIX .. "/FAU/Sent")
Config:set("global.trash-mail", MAILPREFIX.."/FAU/Trash")
Config:set("gpg.mode", "auto")
elseif path:find("MUHQ") then
account = "muhq"
+ Config:set("global.name", "Florian Fischer")
Config:set("global.address", "florian.fischer@muhq.space")
Config:set("global.sent-mail", MAILPREFIX .. "/MUHQ/Sent")
Config:set("global.trash-mail", MAILPREFIX.."/MUHQ/Trash")
Config:set("gpg.mode", "")
+ elseif path:find("SNFMT") then
+ account = "snfmt"
+ Config:set("global.name", "The Supernova")
+ Config:set("global.address", "snfmt@supernovafickmichtot.de")
+ Config:set("global.sent-mail", MAILPREFIX .. "/SNFMT/Sent")
+ Config:set("global.trash-mail", MAILPREFIX.."/SNFMT/Trash")
end
-- update sender
Config:set("global.sender", Config:get("global.name").." <"..Config:get("global.address")..">")
@@ -185,3 +193,5 @@ colour_table['message'] = {
-- Specify address book command.
--
Config:set("complete.addressbookcmd", "khard email --parsable")
+
+_G["message_replace"] = nil
diff --git a/config/offlineimap/config b/config/offlineimap/config
index efe780b..0edd597 100644
--- a/config/offlineimap/config
+++ b/config/offlineimap/config
@@ -1,7 +1,7 @@
# offlineimap config file
[general]
-accounts = FAUMail,MUHQ
+accounts = FAUMail,MUHQ,SNFMT
maxsyncaccounts = 2
pythonfile = ~/.config/offlineimap/offlineimap.py
@@ -47,3 +47,24 @@ newmail_hook = lambda: __import__("os").system("notify-send \"new mail in MUHQ\"
[Repository LocalMUHQ]
type = Maildir
localfolders = ~/.local/share/maildir/MUHQ/
+
+[Account SNFMT]
+localrepository=LocalSNFMT
+remoterepository=SNFMT
+
+autorefresh=1
+quick=10
+
+[Repository SNFMT]
+type = IMAP
+remotehost = alnilam.uberspace.de
+remoteport = 993
+remoteuser = snfmt
+remotepasseval = get_passwd("SNFMT")
+ssl=yes
+cert_fingerprint = ED32CD6A6126478D47EFDB2B2E79EC1F3A6BD39A
+newmail_hook = lambda: __import__("os").system("notify-send \"new mail in SNFMT\"")
+
+[Repository LocalSNFMT]
+type = Maildir
+localfolders = ~/.local/share/maildir/SNFMT/