mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
added fsr mail
This commit is contained in:
parent
088f08e5c7
commit
7e4cb1f4ca
3 changed files with 66 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
|||
sops.secrets."email/tu-dresden".owner = "rouven";
|
||||
sops.secrets."email/rfive".owner = "rouven";
|
||||
sops.secrets."email/google".owner = "rouven";
|
||||
sops.secrets."email/ifsr".owner = "rouven";
|
||||
|
||||
# generate system completions
|
||||
programs.zsh.enable = true;
|
||||
|
|
|
@ -106,7 +106,6 @@ in
|
|||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
thunderbird.enable = true;
|
||||
mbsync = {
|
||||
enable = true;
|
||||
create = "maildir";
|
||||
|
@ -156,6 +155,67 @@ in
|
|||
extraMailboxes = [ "Opal" "Sent" "Trash" "Junk" "Drafts" ];
|
||||
};
|
||||
};
|
||||
"iFSR" = {
|
||||
address = "rouven.seifert@ifsr.de";
|
||||
gpg.key = gpg-default-key;
|
||||
realName = "Rouven Seifert";
|
||||
userName = "rouven.seifert";
|
||||
passwordCommand = "${pkgs.coreutils}/bin/cat /run/secrets/email/ifsr";
|
||||
imap = {
|
||||
host = "mail.ifsr.de";
|
||||
port = 143;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
smtp = {
|
||||
host = "mail.ifsr.de";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
mbsync = {
|
||||
enable = true;
|
||||
create = "maildir";
|
||||
expunge = "both";
|
||||
groups.ifsr = {
|
||||
channels.inbox = {
|
||||
nearPattern = "INBOX";
|
||||
farPattern = "INBOX";
|
||||
extraConfig.Create = "near";
|
||||
};
|
||||
channels.trash = {
|
||||
nearPattern = "Trash";
|
||||
farPattern = "Trash";
|
||||
extraConfig.Create = "near";
|
||||
};
|
||||
channels.sent = {
|
||||
nearPattern = "Sent";
|
||||
farPattern = "Sent";
|
||||
extraConfig.Create = "near";
|
||||
};
|
||||
# There is a lot of spam around, maybe we should not include that folder
|
||||
#channels.junk = {
|
||||
#nearPattern = "Junk";
|
||||
#farPattern = "Public/Spam";
|
||||
#extraConfig.Create = "near";
|
||||
#};
|
||||
channels.drafts = {
|
||||
nearPattern = "Drafts";
|
||||
farPattern = "Drafts";
|
||||
extraConfig.Create = "near";
|
||||
};
|
||||
};
|
||||
extraConfig = {
|
||||
account = {
|
||||
AuthMechs = "Login";
|
||||
};
|
||||
};
|
||||
};
|
||||
msmtp.enable = true;
|
||||
neomutt = {
|
||||
enable = true;
|
||||
mailboxName = "--iFSR-------------";
|
||||
extraMailboxes = [ "Sent" "Trash" "Drafts" ];
|
||||
};
|
||||
};
|
||||
"gmail" = rec {
|
||||
address = "seifertrouven@gmail.com";
|
||||
realName = "Rouven Seifert";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue