summaryrefslogtreecommitdiffstats
path: root/roles/amavis/templates/etc
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-04-04 16:13:08 +0200
committerGuilhem Moulin <guilhem@fripost.org>2018-04-04 16:13:08 +0200
commitc8f9db094fed7a819da110361f57525898caeb20 (patch)
tree0b35a494ee9edf1121114daebef78ca86efe33d2 /roles/amavis/templates/etc
parentb5a0be7a37e1bbc1aef2a7d1844a1da4aec5634f (diff)
Amavis: bind server to INADDR_LOOPBACK
Diffstat (limited to 'roles/amavis/templates/etc')
-rw-r--r--roles/amavis/templates/etc/amavis/conf.d/50-user.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/amavis/templates/etc/amavis/conf.d/50-user.j2 b/roles/amavis/templates/etc/amavis/conf.d/50-user.j2
index 7d0302a..26bcdb9 100644
--- a/roles/amavis/templates/etc/amavis/conf.d/50-user.j2
+++ b/roles/amavis/templates/etc/amavis/conf.d/50-user.j2
@@ -93,6 +93,7 @@ $default_ldap = {
# http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex
$protocol = 'LMTP';
+$inet_socket_bind = ['127.0.0.1'];
$inet_socket_port = [];
{% if 'out' in group_names %}