Ajout : dovecot-antispam + amavis + crm114.
[lhc/ateliers.git] / etc / amavis / 50-user
1 use strict;
2
3 ## GENERAL
4 @local_domains_acl =
5 ( ".heureux-cyclage.org"
6 , ".cyclocoop.org"
7 );
8 $max_servers = 2;
9
10 ## LOGGING AND DEBUGGING
11 $log_level = 1;
12 # $logfile = undef;
13 $do_syslog = 1;
14 $syslog_ident = 'amavis';
15 $syslog_facility = 'mail';
16 # $logline_maxlen = 980;
17
18 # $log_short_templ ... built-in default at the end of file amavisd
19 # $log_verbose_templ ... built-in default at the end of file amavisd
20 # $log_recip_templ = ... built-in default at the end of file amavisd
21 # $log_templ = $log_short_templ;
22
23 ## MTA INTERFACE - INPUT
24 $protocol = 'LMTP';
25 @inet_acl = qw( 127.0.0.1 );
26 $inet_socket_port = 10024;
27
28 ## MTA INTERFACE - OUTPUT
29 $notify_method = 'smtp:[127.0.0.1]:10025';
30 $forward_method = 'smtp:[127.0.0.1]:10025';
31
32 ## MODIFICATIONS TO PASSED MAIL
33 #$prefer_our_added_header_fields{lc('X-CRM114-CacheID')} = 0;
34 #$allowed_added_header_fields{lc('X-CRM114-CacheID')} = 1;
35
36 ## ANTI-Spam CONTROLS
37 $sa_mail_body_size_limit = 400*1024;
38 $sa_local_tests_only = 1;
39 # $sa_spawned = 0;
40 # $dspam = undef;
41 # $sa_timeout = 30;
42
43 $sa_tag_level_deflt = -999; # add spam info headers if at, or above that level
44 $sa_tag2_level_deflt = 6.2; # add 'spam detected' headers at that level
45 #$sa_tag3_level_deflt = undef;
46 $sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail)
47 $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
48 # $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off
49
50 #------------ Do not modify anything below this line -------------
51 1; # ensure a defined return