Commit f91d5a37 authored by Eric's avatar Eric

les utilisateurs souhaitent recevoir les mails même s'ils ont des entêtes foireux

parent 1ce44233
# This file was automatically installed on 2017-07-11T12:40:52.629245
use strict;
# General settings
#
$inet_socket_port = [9998, 10024, 10026];
$max_servers = 1;
# SQL configuration
#
@lookup_sql_dsn = ( [ 'DBI:Pg:database=amavis;host=127.0.0.1', 'amavis', 'cfvhnmzBfs5TIhH6' ]);
@storage_sql_dsn = @lookup_sql_dsn;
$sql_allow_8bit_address = 1;
# Quarantine methods
#
$virus_quarantine_method = 'sql:';
$spam_quarantine_method = 'sql:';
$banned_files_quarantine_method = 'sql:';
$bad_header_quarantine_method = 'sql:';
# Discard spam
# $final_spam_destiny = D_DISCARD;
# erics 20171009 -> on laisse passer le spam et le filtre sieve global pousse le spam dans le dossier spam de l'utilisateur
$final_spam_destiny = D_PASS;
# $final_banned_destiny = D_PASS;
$final_bad_header_destiny = D_PASS;
# Policy banks
#
$interface_policy{'9998'} = 'AM.PDP-INET';
$policy_bank{'AM.PDP-INET'} = {
protocol => 'AM.PDP',
inet_acl => [qw( 127.0.0.1 )],
};
# switch policy bank to 'ORIGINATING' for mail received on port 10026:
$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = { # mail originating from our users
originating => 1, # indicates client is ours, allows signing
# force MTA to convert mail to 7-bit before DKIM signing
# to avoid later conversions which could destroy signature:
smtpd_discard_ehlo_keywords => ['8BITMIME'],
};
1; # ensure a defined return;
...@@ -176,8 +176,8 @@ postscreen_bare_newline_enable = yes ...@@ -176,8 +176,8 @@ postscreen_bare_newline_enable = yes
postscreen_bare_newline_action = enforce postscreen_bare_newline_action = enforce
#soo2 on utilise mx-out-01 comme relayhost (permet de basculer sur mx-out-02 si le 01 est blacklisted) #soo2 on utilise mx-out-01 comme relayhost (permet de basculer sur mx-out-02 si le 01 est blacklisted)
relayhost = 192.168.24.10 relayhost = mx-out-01
#relayhost = 192.168.24.11 #relayhost = mx-out-02
#utiliser le fichier /etc/hosts en priorité #utiliser le fichier /etc/hosts en priorité
lmtp_host_lookup = native lmtp_host_lookup = native
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment