summaryrefslogtreecommitdiffstats
path: root/roles/amavis
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-04 01:07:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:25 +0200
commitbb880fcc504dba39a7ba610ccb84187e863b1288 (patch)
treedd266d9423770d0daba849d0a31d31423da88a66 /roles/amavis
parent58e65628313da8990f1e5cb26bfe4e10e128034e (diff)
Tell vim the underlying filetype of templates for syntax highlighting.
Diffstat (limited to 'roles/amavis')
-rw-r--r--roles/amavis/templates/etc/amavis/conf.d/50-user.j23
1 files changed, 3 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 84814ca..f5a8c61 100644
--- a/roles/amavis/templates/etc/amavis/conf.d/50-user.j2
+++ b/roles/amavis/templates/etc/amavis/conf.d/50-user.j2
@@ -1,21 +1,23 @@
use strict;
+# {{ ansible_managed }}
+# Do NOT edit this file directly!
#
# Place your configuration directives here. They will override those in
# earlier files.
#
# See /usr/share/doc/amavisd-new/ for documentation and examples of
# the directives you can use in this file
#
# $max_servers: num of pre-forked children (2..30 is common). It *must*
# match the number set in /etc/postfix/master.cf "maxproc" column for
# the amavisfeed service.
$max_servers = 5;
$recipient_delimiter = '+';
$mydomain = 'fripost.org';
$X_HEADER_LINE = "Debian $myproduct_name at $mydomain";
undef $undecipherable_subject_tag;
@mynetworks_maps = ();
@@ -163,20 +165,21 @@ $policy_bank{'INCOMING'} = {
message_size_limit_maps => [],
# Per-recipient Bayes Database
sa_username_maps => [ new_RE ( [ qr'^(.+@.+)$'i => '$1' ] )
, 'amavis' # catch-all
],
# Never quarantine
# (Remember to disallow setting amavisSpamQuarantineCutoffLevel and
# amavisVirusQuarantine*To in the LDAP schema.)
quarantine_method_by_ccat => { CC_CATCHALL, undef },
admin_maps_by_ccat => { CC_CATCHALL, undef },
# Always deliver messages
final_destiny_by_ccat => { CC_CATCHALL, D_PASS },
lovers_maps_by_ccat => { CC_CATCHALL, 1 },
};
#------------ Do not modify anything below this line -------------
1; # ensure a defined return
+# vim: set filetype=perl :