diff --git a/docker-compose/mail-relay/docker-compose.yml.j2 b/docker-compose/mail-relay/docker-compose.yml.j2 index 92175fe3..7e3c3535 100644 --- a/docker-compose/mail-relay/docker-compose.yml.j2 +++ b/docker-compose/mail-relay/docker-compose.yml.j2 @@ -17,6 +17,7 @@ services: INET_PROTOCOL: ipv4 SMTP_GENERIC_MAP: | /nobody@lldap/ lldap@mgrote.net + # rewrite FROM "nobody@lldap" to "lldap@mgrote.net" networks: - mail-relay healthcheck: diff --git a/group_vars/ldap.yml b/group_vars/ldap.yml index 2c5818e5..eb8db91b 100644 --- a/group_vars/ldap.yml +++ b/group_vars/ldap.yml @@ -43,7 +43,7 @@ lldap_admin_password: "{{ lookup('keepass', 'lldap_ldap_user_pass', 'password') lldap_admin_mailaddress: lldap-admin@mgrote.net # only used on setup lldap_database_url: "postgres://{{ lldap_db_user }}:{{ lldap_db_pass }}@{{ lldap_db_host }}/{{ lldap_db_name }}" lldap_key_seed: "{{ lookup('keepass', 'lldap_key_seed', 'password') }}" -lldap_smtp_from: "lldap@mgrote.net" +#lldap_smtp_from: "lldap@mgrote.net" # unused in role lldap_smtp_reply_to: "Do not reply " lldap_smtp_server: "docker10.mgrote.net" lldap_smtp_port: "1025"