aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-05-04 17:00:01 +0200
committerAdrian Kummerlaender2021-05-04 17:00:01 +0200
commitc2315780acbdec65ed922c3524b878eb1a2376dc (patch)
treebbac1e0bb0b07a82349c7b0b90ecd7d966298456
parent1dd12169d19664145d168a5c07a1ad2407134a37 (diff)
downloadnixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar.gz
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar.bz2
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar.lz
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar.xz
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.tar.zst
nixos_home-c2315780acbdec65ed922c3524b878eb1a2376dc.zip
Update mail config
-rw-r--r--gui/conf/email.el12
-rw-r--r--gui/email.nix10
2 files changed, 11 insertions, 11 deletions
diff --git a/gui/conf/email.el b/gui/conf/email.el
index b27c5ad..bcce8fe 100644
--- a/gui/conf/email.el
+++ b/gui/conf/email.el
@@ -47,13 +47,13 @@
:name "KIT"
:match-func (lambda (msg)
(when msg
- (string-match-p "^/kit" (mu4e-message-field msg :maildir))))
- :vars '((user-mail-address . "adrian.kummerlaender@student.kit.edu")
+ (string-match-p "^/KIT" (mu4e-message-field msg :maildir))))
+ :vars '((user-mail-address . "adrian.kummerlaender@kit.edu")
(user-full-name . "Adrian Kummerländer")
- (mu4e-sent-folder . "/kit/Sent")
- (mu4e-drafts-folder . "/kit/Drafts")
- (mu4e-trash-folder . "/kit/Trash")
- (message-sendmail-extra-arguments . ("--read-envelope-from" "--account=kit"))))))
+ (mu4e-sent-folder . "/KIT/Sent Items")
+ (mu4e-trash-folder . "/KIT/Deleted Items")
+ (mu4e-drafts-folder . "/KIT/Drafts")
+ (message-sendmail-extra-arguments . ("--read-envelope-from" "--account=KIT"))))))
(evil-leader/set-key "m" 'mu4e)
diff --git a/gui/email.nix b/gui/email.nix
index b8bc733..b1f3f0d 100644
--- a/gui/email.nix
+++ b/gui/email.nix
@@ -40,12 +40,12 @@
msmtp.enable = true;
};
- accounts.kit = {
+ accounts.KIT = {
realName = "Adrian Kummerländer";
- address = "adrian.kummerlaender@student.kit.edu";
+ address = "adrian.kummerlaender@kit.edu";
- userName = "urdzx@student.kit.edu";
- passwordCommand = "${pkgs.pass}/bin/pass kit";
+ userName = "sb2380@kit.edu";
+ passwordCommand = "${pkgs.pass}/bin/pass kit/sb2380";
imap = {
host = "imap.kit.edu";
@@ -54,7 +54,7 @@
mbsync = {
enable = true;
- create = "maildir";
+ create = "both";
expunge = "both";
extraConfig.account = {
AuthMechs = "PLAIN";