diff --git a/ec2.yml b/ec2.yml index d9cfef0..521f5eb 100644 --- a/ec2.yml +++ b/ec2.yml @@ -23,6 +23,10 @@ - role: backups vars: backups_outdir: "/cold/backups" + - role: postfix-null + vars: + postfix_hostname: "9iron.club" + postfix_domain: "9iron.club" - role: grafana vars: grafana_mysql_password: !vault | diff --git a/roles/postfix-null/templates/main.cf b/roles/postfix-null/templates/main.cf index c32ed78..ce771be 100644 --- a/roles/postfix-null/templates/main.cf +++ b/roles/postfix-null/templates/main.cf @@ -1,4 +1,5 @@ myhostname = {{ postfix_hostname }} +mydomain = {{ postfix_domain }} myorigin = $mydomain #relayhost = $mydomain inet_interfaces = loopback-only