Compare commits
2 Commits
1f84cf19c7
...
85255adb2c
| Author | SHA1 | Date | |
|---|---|---|---|
| 85255adb2c | |||
| f251a6f5c7 |
@@ -61,11 +61,10 @@ in {
|
|||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.main = {
|
settings.main = {
|
||||||
relayHost = ["smtp.gmail.com:${toString cfg.port}"];
|
relayhost = ["smtp.gmail.com:${toString cfg.port}"];
|
||||||
smtp_use_tls = "yes";
|
|
||||||
smtp_tls_security_level = "may";
|
smtp_tls_security_level = "may";
|
||||||
smtp_sasl_auth_enable = "yes";
|
smtp_sasl_auth_enable = "yes";
|
||||||
smtp_sasl_security_options = "";
|
smtp_sasl_security_options = "noanonymous";
|
||||||
smtp_sasl_password_maps = "texthash:${config.sops.secrets."postfix_passwd".path}";
|
smtp_sasl_password_maps = "texthash:${config.sops.secrets."postfix_passwd".path}";
|
||||||
# optional: Forward mails to root (e.g. from cron jobs, smartd)
|
# optional: Forward mails to root (e.g. from cron jobs, smartd)
|
||||||
# to me privately and to my work email:
|
# to me privately and to my work email:
|
||||||
|
|||||||
Reference in New Issue
Block a user