Lines 1-8
Link Here
|
1 |
use strict; |
1 |
use strict; |
2 |
|
2 |
|
3 |
# Sample configuration file for amavisd-new (traditional style, chatty, |
|
|
4 |
# you may prefer to start with the more concise supplied amavisd.conf) |
5 |
# |
6 |
# This software is licensed under the GNU General Public License (GPL). |
3 |
# This software is licensed under the GNU General Public License (GPL). |
7 |
# See comments at the start of amavisd-new for the whole license text. |
4 |
# See comments at the start of amavisd-new for the whole license text. |
8 |
|
5 |
|
Lines 69-76
Link Here
|
69 |
|
66 |
|
70 |
# Set the user and group to which the daemon will change if started as root |
67 |
# Set the user and group to which the daemon will change if started as root |
71 |
# (otherwise just keeps the UID unchanged, and these settings have no effect): |
68 |
# (otherwise just keeps the UID unchanged, and these settings have no effect): |
72 |
$daemon_user = 'vscan'; # (no default; customary: vscan or amavis) |
69 |
$daemon_user = 'amavis'; # (no default; customary: vscan or amavis) |
73 |
$daemon_group = 'vscan'; # (no default; customary: vscan or amavis or sweep) |
70 |
$daemon_group = 'amavis'; # (no default; customary: vscan or amavis or sweep) |
74 |
|
71 |
|
75 |
# Runtime working directory (cwd), and a place where |
72 |
# Runtime working directory (cwd), and a place where |
76 |
# temporary directories for unpacking mail are created. |
73 |
# temporary directories for unpacking mail are created. |
Lines 567-573
Link Here
|
567 |
# or a directory (no trailing slash) |
564 |
# or a directory (no trailing slash) |
568 |
# (the default value is undef, meaning no quarantine) |
565 |
# (the default value is undef, meaning no quarantine) |
569 |
# |
566 |
# |
570 |
$QUARANTINEDIR = '/var/virusmails'; |
567 |
$QUARANTINEDIR = "$MYHOME/quarantine"; |
571 |
|
568 |
|
572 |
#$virus_quarantine_method = 'local:virus-%i-%n'; # default |
569 |
#$virus_quarantine_method = 'local:virus-%i-%n'; # default |
573 |
#$spam_quarantine_method = 'local:spam-%b-%i-%n'; # default |
570 |
#$spam_quarantine_method = 'local:spam-%b-%i-%n'; # default |
Lines 697-703
Link Here
|
697 |
$defang_virus = 1; # default is false: don't modify mail body |
694 |
$defang_virus = 1; # default is false: don't modify mail body |
698 |
$defang_banned = 1; # default is false: don't modify mail body |
695 |
$defang_banned = 1; # default is false: don't modify mail body |
699 |
# $defang_bad_header = 1; # default is false: don't modify mail body |
696 |
# $defang_bad_header = 1; # default is false: don't modify mail body |
700 |
# $defang_undecipherable = 1; # default is false: don't modify mail body |
697 |
$defang_undecipherable = 1; # default is false: don't modify mail body |
701 |
# $defang_spam = 1; # default is false: don't modify mail body |
698 |
# $defang_spam = 1; # default is false: don't modify mail body |
702 |
|
699 |
|
703 |
$remove_existing_x_scanned_headers = 0; # leave existing X-Virus-Scanned alone |
700 |
$remove_existing_x_scanned_headers = 0; # leave existing X-Virus-Scanned alone |
Lines 1384-1390
Link Here
|
1384 |
# NOTE: if $daemon_chroot_dir is nonempty, the directories will be |
1381 |
# NOTE: if $daemon_chroot_dir is nonempty, the directories will be |
1385 |
# relative to the chroot directory specified; |
1382 |
# relative to the chroot directory specified; |
1386 |
|
1383 |
|
1387 |
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin'; |
1384 |
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/opt/bin'; |
1388 |
|
1385 |
|
1389 |
# Specify one string or a search list of strings (first match wins). |
1386 |
# Specify one string or a search list of strings (first match wins). |
1390 |
# The string (or: each string in a list) may be an absolute path, |
1387 |
# The string (or: each string in a list) may be an absolute path, |