all repos — nixfiles @ ac5ce65e3a61232b3a4423529b3287356ab0fce1

System and user configuration, managed by nix and home-manager

mailer: use domain, not hostname in From

Alin
commit

ac5ce65e3a61232b3a4423529b3287356ab0fce1

parent

8a30347eb1f8b33cbc8f075894e7203c54ead651

1 file changed, 2 insertions(+), 1 deletion(-)

changed files
M system/roles/mailer.nix → system/roles/mailer.nix
@@ -13,6 +13,7 @@
services.postfix = { enable = true; enableSubmission = true; + domain = domain; submissionOptions = { smtpd_client_restrictions = "permit_inet_interfaces,reject"; smtpd_tls_security_level = "none";
@@ -24,7 +25,7 @@ alin ${email}
''; settings = { main = { - mydomain = domain; + myorigin = domain; mydestination = [ ]; inet_interfaces = "loopback-only"; smtp_bind_address = "0.0.0.0";