2012-09-24 15:19:13 +02:00
|
|
|
use strict;
|
|
|
|
|
|
|
|
#
|
|
|
|
## 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
|
|
|
|
##
|
|
|
|
|
|
|
|
## Liste des domaines considérés comme locaux
|
|
|
|
#@local_domains_acl = qw(.);
|
|
|
|
#@local_domains_acl = (".example.net","example.com");
|
|
|
|
|
|
|
|
# On customise la ligne ajoutée dans les entêtes
|
|
|
|
$X_HEADER_LINE = "by Amavis at $mydomain";
|
|
|
|
|
|
|
|
# Notifications de fichiers bannis / virus
|
|
|
|
$virus_admin = "postmaster\@$mydomain";
|
|
|
|
|
|
|
|
# Pour recevoir des bounces (mails originals) des fichiers bloqués / virus
|
|
|
|
#$banned_quarantine_to = "banned\@$mydomain";
|
|
|
|
#$virus_quarantine_to = "virus\@$mydomain";
|
|
|
|
|
|
|
|
# Note tueuse
|
|
|
|
$sa_tag2_level_deflt = 6.31;
|
|
|
|
# Pour un comportement "normal" de SA
|
|
|
|
$sa_tag_level_deflt = -1999;
|
|
|
|
$sa_kill_level_deflt = 1999;
|
|
|
|
$sa_dsn_cutoff_level = -99;
|
|
|
|
$sa_spam_subject_tag = '[SPAM]';
|
|
|
|
|
|
|
|
# log
|
|
|
|
$log_level = 2;
|
|
|
|
|
|
|
|
# En fonction besoin/ressources, on a juste le nbre de process
|
2014-08-08 19:44:50 +02:00
|
|
|
$max_servers = 2;
|
|
|
|
|
|
|
|
$enable_ldap = 1;
|
|
|
|
$default_ldap = {
|
|
|
|
hostname => '127.0.0.1', tls => 0,
|
|
|
|
base => 'dc=cpnt,dc=fr', scope => 'sub',
|
|
|
|
query_filter => '(&(mailacceptinggeneralid=%m)(isActive=TRUE))'
|
|
|
|
};
|
|
|
|
|
|
|
|
#@local_domains_acl = qw(.);
|
|
|
|
#@local_domains_acl = ( "example.com","example.net" );
|
2012-09-24 15:19:13 +02:00
|
|
|
|
|
|
|
#------------ Do not modify anything below this line -------------
|
|
|
|
#1; # ensure a defined return
|