postfix with gmail

This commit is contained in:
2025-10-19 14:33:36 -05:00
parent f463b76253
commit ae04500e63
3 changed files with 8 additions and 8 deletions

View File

@@ -60,9 +60,10 @@ in {
# enable the ${service} service
services.postfix = {
enable = true;
relayHost = "smtp.mail.me.com";
relayHost = "smtp.gmail.com";
relayPort = cfg.port;
config = {
#smtp_use_tls = "yes";
smtp_tls_security_level = "may";
smtp_sasl_auth_enable = "yes";
smtp_sasl_security_options = "";