blob: ecb64fff28dd6a55507179052d8bf8acce6e49d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{ ... }:
{
mailserver = {
enable = true;
monitoring = {
enable = false;
alertAddress = "bsima@me.com";
};
fqdn = "simatime.com";
domains = [ "simatime.com" "bsima.me" ];
certificateScheme = 3; # let's encrypt
enableImap = true;
enablePop3 = true;
enableImapSsl = true;
enablePop3Ssl = true;
enableManageSieve = true;
virusScanning = false; # ur on ur own
localDnsResolver = true;
loginAccounts = {
"ben@simatime.com" = {
hashedPasswordFile = "/home/ben/hashed-mail-password";
aliases = [
# my default email
"ben@bsima.me"
# admin stuff
"postmaster@simatime.com"
"abuse@simatime.com"
];
catchAll = [ "simatime.com" "bsima.me" ];
quota = "10G";
};
"dev@simatime.com" = {
hashedPasswordFile = "/home/ben/hashed-mail-password";
aliases = [ "dev@bsima.me" ];
quota = "10G";
};
"nick@simatime.com" = {
hashedPassword = "$6$31P/Mg8k8Pezy1e$Fn1tDyssf.1EgxmLYFsQpSq6RP4wbEvP/UlBlXQhyKA9FnmFtJteXsbJM1naa8Kyylo8vZM9zmeoSthHS1slA1";
aliases = [
"nicolai@simatime.com"
];
quota = "1G";
};
};
};
}
|