feat: switch to smtp2go
This commit is contained in:
parent
fb5c340f5f
commit
b714d906d8
2 changed files with 4 additions and 4 deletions
|
|
@ -10,6 +10,8 @@
|
||||||
];
|
];
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableSubmission = false;
|
||||||
|
enableSubmissionSsl = false;
|
||||||
fqdn = "mail.moritz.place";
|
fqdn = "mail.moritz.place";
|
||||||
domains = ["moritz.place"];
|
domains = ["moritz.place"];
|
||||||
|
|
||||||
|
|
@ -62,9 +64,7 @@
|
||||||
hostName = "webmail.moritz.place";
|
hostName = "webmail.moritz.place";
|
||||||
dicts = with pkgs.aspellDicts; [en de];
|
dicts = with pkgs.aspellDicts; [en de];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# starttls needed for authentication, so the fqdn required to match
|
$config['smtp_host'] = "tls://mail.smtp2go.com";
|
||||||
# the certificate
|
|
||||||
$config['smtp_host'] = "tls://${config.mailserver.fqdn}";
|
|
||||||
$config['smtp_user'] = "%u";
|
$config['smtp_user'] = "%u";
|
||||||
$config['smtp_pass'] = "%p";
|
$config['smtp_pass'] = "%p";
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ in {
|
||||||
# gpg.signByDefault = true;
|
# gpg.signByDefault = true;
|
||||||
# gpg.key = "0xE4F362A3F5C338A0";
|
# gpg.key = "0xE4F362A3F5C338A0";
|
||||||
imap.host = "mail.moritz.place";
|
imap.host = "mail.moritz.place";
|
||||||
smtp.host = "mail.moritz.place";
|
smtp.host = "mail.smtp2go.com";
|
||||||
realName = "Moritz Böhme";
|
realName = "Moritz Böhme";
|
||||||
mbsync.enable = true;
|
mbsync.enable = true;
|
||||||
mbsync.create = "both";
|
mbsync.create = "both";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue