@local_domains_acl =
( ".heureux-cyclage.org"
, ".cyclocoop.org"
+ , ".wiklou.org"
);
$max_servers = 2;
## LOGGING AND DEBUGGING
-$log_level = 1;
+$log_level = 2;
# $logfile = undef;
$do_syslog = 1;
$syslog_ident = 'amavis';
# $log_recip_templ = ... built-in default at the end of file amavisd
# $log_templ = $log_short_templ;
-## MTA INTERFACE - INPUT
+## MTA INTERFACE
$protocol = 'LMTP';
@inet_acl = qw( 127.0.0.1 );
-$inet_socket_port = 10024;
+@mynetworks = qw(127.0.0.0/8 ::1/128);
+$inet_socket_port = [10024, 10026];
-## MTA INTERFACE - OUTPUT
-$notify_method = 'smtp:[127.0.0.1]:10025';
-$forward_method = 'smtp:[127.0.0.1]:10025';
+$interface_policy{'10024'} = 'Net2Loc';
+$policy_bank{'Net2Loc'} = {
+ forward_method => 'smtp:[127.0.0.1]:10025',
+ notify_method => 'smtp:[127.0.0.1]:10025',
+ };
+@dkim_signature_options_bysender_maps = (
+ { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } }
+ );
+
+dkim_key('wiklou.org', 'wiklou', '/var/lib/amavis/dkim/wiklou.org.pem');
+dkim_key('heureux-cyclage.org', 'heureux-cyclage', '/var/lib/amavis/dkim/heureux-cyclage.org.pem');
+
+$interface_policy{'10026'} = 'Loc2Net';
+$policy_bank{'Loc2Net'} = {
+ forward_method => 'smtp:[127.0.0.1]:10027',
+ notify_method => 'smtp:[127.0.0.1]:10027',
+ originating => 1,
+ enable_dkim_signing => 1,
+ smtpd_greeting_banner =>
+ '${helo-name} ${protocol} ${product} Loc2Net service ready',
+ archive_quarantine_to_maps => [],
+ banned_files_lovers_maps => [1],
+ bounce_killer_score => 0,
+ bypass_banned_checks_maps => [1],
+ bypass_decode_parts => 1,
+ bypass_header_checks_maps => [1],
+ bypass_spam_checks_maps => [1],
+ bypass_virus_checks_maps => [1],
+ mynetworks_maps => [],
+ os_fingerprint_method => undef,
+ penpals_bonus_score => undef,
+ remove_existing_spam_headers => undef,
+ remove_existing_x_scanned_headers => undef,
+ signed_header_fields => { 'Sender' => 1 },
+ spam_lovers_maps => [1],
+ };
## MODIFICATIONS TO PASSED MAIL
#$prefer_our_added_header_fields{lc('X-CRM114-CacheID')} = 0;
# $dspam = undef;
# $sa_timeout = 30;
-$sa_tag_level_deflt = -999; # add spam info headers if at, or above that level
-$sa_tag2_level_deflt = 6.2; # add 'spam detected' headers at that level
+$sa_tag_level_deflt = undef; # add spam info headers if at, or above that level
+$sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level
#$sa_tag3_level_deflt = undef;
-$sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail)
+$sa_kill_level_deflt = 9999; # triggers spam evasive actions (e.g. blocks mail)
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
# $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off
+$sa_spam_level_char = '*';
-#------------ Do not modify anything below this line -------------
-1; # ensure a defined return
+# NOTE: disable quarantine
+$banned_quarantine_to = undef;
+$bad_header_quarantine_method = undef;
+$bad_header_quarantine_to = undef;
+$spam_quarantine_method = undef;
+$spam_quarantine_to = undef;
+$sa_spam_subject_tag = undef;
+$virus_quarantine_method = undef;
+$virus_quarantine_to = undef;
+$final_banned_destiny = D_PASS; # (defaults to D_BOUNCE)
+$final_spam_destiny = D_PASS; # (defaults to D_BOUNCE)
+$final_bad_header_destiny = D_PASS; # (defaults to D_PASS)