mail-server: disabled it for now, because it was not properly working
This commit is contained in:
parent
531652c1d3
commit
fb834ea41a
4 changed files with 72 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
./nginx.nix
|
||||
./tinc.nix
|
||||
|
||||
./mail-server.nix
|
||||
# ./mail-server.nix
|
||||
|
||||
];
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
enablePop3Ssl = true;
|
||||
|
||||
# Enable the ManageSieve protocol
|
||||
#enableManageSieve = true;
|
||||
enableManageSieve = true;
|
||||
|
||||
# whether to scan inbound emails for viruses (note that this requires at least
|
||||
# 1 Gb RAM for the server. Without virus scanning 256 MB RAM should be plenty)
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
source = toString <secrets/mail/siteground/contact>;
|
||||
requiredBy = ["fetchmail.service"];
|
||||
};
|
||||
"gaykraft.root" = {
|
||||
user = config.users.users.mailUser.name;
|
||||
source = toString <secrets/mail/gaykraft/root>;
|
||||
requiredBy = ["fetchmail.service"];
|
||||
};
|
||||
"c-base.palo" = {
|
||||
user = config.users.users.mailUser.name;
|
||||
source = toString <secrets/mail/c-base/palo>;
|
||||
|
@ -84,6 +89,47 @@
|
|||
};
|
||||
notmuch.enable = true;
|
||||
};
|
||||
#gaykraft = {
|
||||
# primary = false;
|
||||
# address = "root@gaykraft.com";
|
||||
# aliases = [ ];
|
||||
# realName = "Ingolf Wagner";
|
||||
# userName = "root@gaykraft.com";
|
||||
# passwordCommand = "cat ${toString config.krops.userKeys."gaykraft.root".target}";
|
||||
# imap = {
|
||||
# host = "mail.gaykraft.com";
|
||||
# port = 993;
|
||||
# tls.certificatesFile =
|
||||
# pkgs.writeText "gaykraft.pem" ''
|
||||
# -----BEGIN CERTIFICATE-----
|
||||
# MIIDfzCCAmcCFBMAAMjIQnhYR9w+KIlfG8zLhM06MA0GCSqGSIb3DQEBCwUAMH8x
|
||||
# CzAJBgNVBAYTAlVLMRUwEwYDVQQIDAxXYXJ3aWNrc2hpcmUxEzARBgNVBA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8U
|
||||
# L6/ijQaZ0q+lO/IXUFYODLkRcFAitg3fp/rj6D0lRMGlZKdMgI1OT6ziZm/Y074I
|
||||
# yRo1wgUnGy6BOCZeHnZ9xa/q6huv9QZZGt6VtQFgnKpNNOY=
|
||||
# -----END CERTIFICATE-----
|
||||
# '';
|
||||
# };
|
||||
# mbsync = {
|
||||
# enable = true;
|
||||
# create = "both";
|
||||
# };
|
||||
# notmuch.enable = true;
|
||||
#};
|
||||
pali_palo = {
|
||||
primary = false;
|
||||
address = "pali_palo@web.de";
|
||||
|
|
|
@ -105,12 +105,12 @@ in
|
|||
realName = "Ingolf Wagner";
|
||||
userName = "contact@ingolf-wagner.de";
|
||||
passwordCommand = passcmd "mail/siteground/contact@ingolf-wagner.de";
|
||||
notmuch.enable = true;
|
||||
smtp = {
|
||||
host = "securees5.sgcpanel.com";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
notmuch.enable = true;
|
||||
msmtp = {
|
||||
enable = true;
|
||||
# msmtp --serverinfo --tls --tls-certcheck=off -a ingolf-wagner
|
||||
|
@ -122,6 +122,29 @@ in
|
|||
key = "42AC51C9482D0834CF488AF1389EC2D64AC71EAC";
|
||||
};
|
||||
};
|
||||
gaykraft = {
|
||||
primary = false;
|
||||
address = "root@gaykraft.com";
|
||||
aliases = [ ];
|
||||
realName = "Ingolf Wagner";
|
||||
userName = "root@gaykraft.com";
|
||||
passwordCommand = "mail/gaykraft.com/root@gaykraft.com";
|
||||
mbsync = {
|
||||
enable = true;
|
||||
create = "both";
|
||||
};
|
||||
smtp = {
|
||||
host = "mail.gaykraft.com";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
msmtp = {
|
||||
enable = true;
|
||||
# msmtp --serverinfo --tls --tls-certcheck=off -a gaykraft
|
||||
tls.fingerprint = "08:42:73:72:3E:68:7D:55:89:7A:30:02:4B:CD:30:35:F1:6D:3E:7A:DD:A8:B6:84:67:25:37:F0:4F:7F:86:FE";
|
||||
};
|
||||
notmuch.enable = true;
|
||||
};
|
||||
c-base = {
|
||||
primary = false;
|
||||
address = "palo@c-base.org";
|
||||
|
|
Loading…
Reference in a new issue