feat: switch to smtp2go

This commit is contained in:
Moritz Böhme 2025-05-16 09:11:08 +02:00
parent fb5c340f5f
commit b714d906d8
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
2 changed files with 4 additions and 4 deletions

View file

@ -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";
''; '';

View file

@ -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";