diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-06-10 20:08:42 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-06-10 20:08:42 +0300 |
commit | d726218270738805273deb00c919e6e819ca9798 (patch) | |
tree | 93f36148ca56140f9a904fe306f8c59f5145ab7f /roles/gitlab/templates/main.cf.j2 | |
download | wmf-gitlab-d726218270738805273deb00c919e6e819ca9798.tar.gz |
Initial commit
Diffstat (limited to 'roles/gitlab/templates/main.cf.j2')
-rw-r--r-- | roles/gitlab/templates/main.cf.j2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/gitlab/templates/main.cf.j2 b/roles/gitlab/templates/main.cf.j2 new file mode 100644 index 0000000..3fcc001 --- /dev/null +++ b/roles/gitlab/templates/main.cf.j2 @@ -0,0 +1,19 @@ +# Who are we? This varies depending on host. +myhostname = {{ mail_hostname }} +mydestination = {{ mail_hostname }}, localhost.localdomain, localhost + + +# Configure various things. These should be the same everywhere. +mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 +inet_interfaces = 127.0.0.1 +myorigin = /etc/mailname +alias_maps = hash:/etc/aliases +alias_database = hash:/etc/aliases + +smtp_tls_security_level = may +smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache +smtp_tls_loglevel = 1 + +smtpd_relay_restrictions = + permit_mynetworks + reject_unauth_destination |