4 |
- |
1 |
|
|
|
2 |
###########################################################################
|
|
|
3 |
# $Id: amavis.conf,v 1.10 2007/05/16 04:57:16 mrc Exp $
|
|
|
4 |
###########################################################################
|
|
|
5 |
|
|
|
6 |
# You can put comments anywhere you want to. They are effective for the
|
|
|
7 |
# rest of the line.
|
|
|
8 |
|
|
|
9 |
# this is in the format of <name> = <value>. Whitespace at the beginning
|
|
|
10 |
# and end of the lines is removed. Whitespace before and after the = sign
|
|
|
11 |
# is removed. Everything is case *insensitive*.
|
|
|
12 |
|
|
|
13 |
# Yes = True = On = 1
|
|
|
14 |
# No = False = Off = 0
|
|
|
15 |
|
|
|
16 |
Title = "Amavisd-new"
|
|
|
17 |
|
|
|
18 |
# Which logfile group...
|
|
|
19 |
LogFile = maillog
|
|
|
20 |
|
|
|
21 |
# Specifies the global maximum detail level
|
|
|
22 |
#
|
|
|
23 |
Detail = 10
|
|
|
24 |
|
|
|
25 |
# Only give lines pertaining to the amavis service...
|
|
|
26 |
#
|
|
|
27 |
# The variables OnlyService and amavis_Syslog_Name are regular
|
|
|
28 |
# expression patterns, and should both be set to match the
|
|
|
29 |
# amavis service name used in your syslog entries.
|
|
|
30 |
#*OnlyService = (usr/sbin/amavisd|dccproc)
|
|
|
31 |
*OnlyService = (amavis|dccproc)
|
|
|
32 |
*RemoveHeaders
|
|
|
33 |
|
|
|
34 |
# Set this to the service name used in amavis syslog entries
|
|
|
35 |
#
|
|
|
36 |
# Note: if you use parenthesis in your regular expression, be sure it
|
|
|
37 |
# is cloistering and not capturing: use (?:pattern) instead of (pattern).
|
|
|
38 |
# $amavis_Syslog_Name = "/usr/sbin/amavisd"
|
|
|
39 |
$amavis_Syslog_Name = "(?:amavis|dccproc)"
|
|
|
40 |
|
|
|
41 |
#
|
|
|
42 |
# Set the variable below to specify the maximum report width.
|
|
|
43 |
# for Detail <= 10
|
|
|
44 |
#
|
|
|
45 |
$amavis_Max_Report_Width = 100
|
|
|
46 |
|
|
|
47 |
# Specifies how to handle line lengths greater than Max_Report_Width.
|
|
|
48 |
# Options are Truncate (default), Wrap, or Full.
|
|
|
49 |
# for Detail <= 10
|
|
|
50 |
#
|
|
|
51 |
$amavis_Line_Style = Truncate
|
|
|
52 |
|
|
|
53 |
# Show names of detail section variables/command line options in
|
|
|
54 |
# detail report titles. For command line, use --[no]sect_vars,
|
|
|
55 |
# without an argument.
|
|
|
56 |
#
|
|
|
57 |
$amavis_Show_Sect_Vars = No
|
|
|
58 |
|
|
|
59 |
# In reports, for tallying purposes, use (and show) only the first
|
|
|
60 |
# recipient when a message contains multple recipients.
|
|
|
61 |
#
|
|
|
62 |
$amavis_Show_First_Recip_Only = No
|
|
|
63 |
|
|
|
64 |
# Include a by-contents category grouping in the summary report.
|
|
|
65 |
#
|
|
|
66 |
$amavis_Show_By_Ccat_Summary = Yes
|
|
|
67 |
|
|
|
68 |
# Amavis Timings Report
|
|
|
69 |
#
|
|
|
70 |
# Specifies the percentiles of collected data to show in the timing report.
|
|
|
71 |
# Valid values are from 0 to 100, inclusive.
|
|
|
72 |
#
|
|
|
73 |
$amavis_Timings_Percentiles = "0 5 25 50 75 95 100"
|
|
|
74 |
|
|
|
75 |
#
|
|
|
76 |
# Show top N percent of the amavis scan timings report
|
|
|
77 |
#
|
|
|
78 |
$amavis_Timings = 95
|
|
|
79 |
|
|
|
80 |
# Amavis SpamAssassin Timings Report
|
|
|
81 |
#
|
|
|
82 |
# Specifies the percentiles of collected data to show in the
|
|
|
83 |
# SpamAssassin timing report (requires amavis 2.6+, SA 3.3+).
|
|
|
84 |
# Valid values are from 0 to 100, inclusive.
|
|
|
85 |
#
|
|
|
86 |
$amavis_SA_Timings_Percentiles = "0 5 25 50 75 95 100"
|
|
|
87 |
|
|
|
88 |
#
|
|
|
89 |
# Show top N rows of the SpamAssassin timings report
|
|
|
90 |
# Requires: amavis 2.6+, SpamAssassin 3.3+
|
|
|
91 |
#
|
|
|
92 |
$amavis_SA_Timings = 100
|
|
|
93 |
|
|
|
94 |
# Spam Score Percentiles Report
|
|
|
95 |
#
|
|
|
96 |
# Specifies the percentiles shown in the spam scores frequency report.
|
|
|
97 |
# Valid values range from 0 to 100, inclusive. The keyword "default"
|
|
|
98 |
# can be used instead to reset the values to their built-in default.
|
|
|
99 |
#
|
|
|
100 |
$amavis_Score_Percentiles = "0 50 90 95 98 100"
|
|
|
101 |
|
|
|
102 |
# Spam Score Frequency Report
|
|
|
103 |
#
|
|
|
104 |
# Specifies the buckets shown in the spam scores frequency report.
|
|
|
105 |
# Valid values are real numbers. The keyword "default"
|
|
|
106 |
# can be used instead to reset the values to their built-in default.
|
|
|
107 |
#
|
|
|
108 |
$amavis_Score_Frequencies = "-10 -5 0 5 10 20 30"
|
|
|
109 |
|
|
|
110 |
# SpamAssassin Spam / Ham Rules Hit Report
|
|
|
111 |
#
|
|
|
112 |
# Specifies the number of top S spam and top H ham hits to show in the
|
|
|
113 |
# SpamAssassin Spam and Ham rules hit report. The value is a list
|
|
|
114 |
# separated by whitespace or a comma. The order is "spam,ham". The
|
|
|
115 |
# keyword "all" means unlimited limit, and 0 specifies none. For
|
|
|
116 |
# example, the value "all,10" would show all Spam rules hit, but only
|
|
|
117 |
# the top 10 ham rules, whereas "0,all" would prevent the Spam hit
|
|
|
118 |
# report, and show all the hit Ham rules.
|
|
|
119 |
#
|
|
|
120 |
$amavis_SARules = "20 20"
|
|
|
121 |
|
|
|
122 |
# Autolearn Report
|
|
|
123 |
#
|
|
|
124 |
# Shows the autolearn report when autolearn entries are present in
|
|
|
125 |
# amavis log entries. To make these available, the default
|
|
|
126 |
# $log_templ variable needs to be modified. This can be done by
|
|
|
127 |
# uncommenting two lines in the amavis program itself (where the
|
|
|
128 |
# default log templates reside), by correctly adding the $log_templ
|
|
|
129 |
# variable to the amavisd.conf file. See amavis' README.customize
|
|
|
130 |
# and the end of the amavisd program, searching for "autolearn".
|
|
|
131 |
$amavis_Show_Autolearn = Yes
|
|
|
132 |
|
|
|
133 |
# If available, show most recent amavis startup details
|
|
|
134 |
#
|
|
|
135 |
$amavis_Show_StartInfo = Yes
|
|
|
136 |
|
|
|
137 |
# Show the summary section. For command line, use --[no]summary,
|
|
|
138 |
# without an argument.
|
|
|
139 |
$amavis_Show_Summary = Yes
|
|
|
140 |
|
|
|
141 |
# Level Limiters
|
|
|
142 |
#
|
|
|
143 |
# The variables below control the maximum output level for a given
|
|
|
144 |
# category. A level of 1 indicates only one level of detailed output
|
|
|
145 |
# in the Detailed report section. The Summary section is only avail-
|
|
|
146 |
# able at logwatch --Detail level >= 5. Increasing the Detail level
|
|
|
147 |
# by one adds one level of additional detail in the Summary section.
|
|
|
148 |
#
|
|
|
149 |
# For example, Detail 5 would output one additional level of detail,
|
|
|
150 |
# Detail 6 two levels, etc. all the way up to 10. Finally, Detail
|
|
|
151 |
# 11 yields uncropped lines of output.
|
|
|
152 |
#
|
|
|
153 |
# You can control the maximum number of level 1 lines by appending
|
|
|
154 |
# a period and a number. The value 2.10 would indicate 2 levels
|
|
|
155 |
# of detail, but only 10 level 1 lines. For example, setting
|
|
|
156 |
# $amavis_SpamBlocked = 1.20 yields a top 20 list of blocked spam.
|
|
|
157 |
#
|
|
|
158 |
# A more useful form of limiting uses triplets in the form l:n:t.
|
|
|
159 |
# This triplet specifies level l, top n, and minimum threshold t.
|
|
|
160 |
# Each of the values are integers, with l being the level limiter
|
|
|
161 |
# as described above, n being a top n limiter for the level l, and
|
|
|
162 |
# t being the threshold limiter for level l. When both n and t
|
|
|
163 |
# are specified, n has priority, allowing top n lists (regardless
|
|
|
164 |
# of threshold value). If the value of l is omitted, the speci-
|
|
|
165 |
# fied values for n and/or t are used for all levels available in
|
|
|
166 |
# the sub-section. This permits a simple form of wildcarding (eg.
|
|
|
167 |
# place minimum threshold limits on all levels). However, spe-
|
|
|
168 |
# cific limiters always override wildcard limiters. The first
|
|
|
169 |
# form of level limiter may be included in levelspec to restrict
|
|
|
170 |
# output, regardless of how many triplets are present.
|
|
|
171 |
|
|
|
172 |
$amavis_CleanPassed = 0
|
|
|
173 |
$amavis_CleanBlocked = 10
|
|
|
174 |
$amavis_SpamPassed = 10
|
|
|
175 |
$amavis_SpamBlocked = 10
|
|
|
176 |
$amavis_SpammyPassed = 10
|
|
|
177 |
$amavis_SpammyBlocked = 10
|
|
|
178 |
$amavis_MalwarePassed = 10
|
|
|
179 |
$amavis_MalwareBlocked = 10
|
|
|
180 |
$amavis_BannedNamePassed = 10
|
|
|
181 |
$amavis_BannedNameBlocked = 10
|
|
|
182 |
$amavis_BadHeaderPassed = 10
|
|
|
183 |
$amavis_BadHeaderBlocked = 10
|
|
|
184 |
$amavis_MTABlocked = 10
|
|
|
185 |
$amavis_OversizedBlocked = 10
|
|
|
186 |
$amavis_OtherBlocked = 10
|
|
|
187 |
|
|
|
188 |
$amavis_AVConnectFailure = 10
|
|
|
189 |
$amavis_AVTimeout = 10
|
|
|
190 |
$amavis_ArchiveExtract = 10
|
|
|
191 |
$amavis_BadHeaderSupp = 10
|
|
|
192 |
$amavis_Bayes = 10
|
|
|
193 |
$amavis_Blacklisted = 10
|
|
|
194 |
$amavis_BounceKilled = 10
|
|
|
195 |
$amavis_BounceRescued = 10
|
|
|
196 |
$amavis_BounceUnverifiable = 10
|
|
|
197 |
$amavis_ContentType = 10
|
|
|
198 |
$amavis_DccError = 10
|
|
|
199 |
$amavis_DefangError = 10
|
|
|
200 |
$amavis_Defanged = 10
|
|
|
201 |
$amavis_DsnNotification = 10
|
|
|
202 |
$amavis_DsnSuppressed = 10
|
|
|
203 |
$amavis_ExtraModules = 10
|
|
|
204 |
$amavis_FakeSender = 10
|
|
|
205 |
$amavis_LocalDeliverySkipped = 10
|
|
|
206 |
$amavis_MalwareByScanner = 10
|
|
|
207 |
$amavis_MalwareToSpam = 10
|
|
|
208 |
$amavis_MimeError = 10
|
|
|
209 |
$amavis_p0f = 2
|
|
|
210 |
$amavis_Released = 10
|
|
|
211 |
$amavis_SADiags = 10
|
|
|
212 |
$amavis_SmtpResponse = 10
|
|
|
213 |
$amavis_TmpPreserved = 10
|
|
|
214 |
$amavis_VirusScanSkipped = 1
|
|
|
215 |
$amavis_Warning = 10
|
|
|
216 |
$amavis_WarningAddressModified = 2
|
|
|
217 |
$amavis_WarningNoQuarantineID = 1
|
|
|
218 |
$amavis_WarningSecurity = 10
|
|
|
219 |
$amavis_WarningSmtpShutdown = 10
|
|
|
220 |
$amavis_WarningSQL = 10
|
|
|
221 |
$amavis_Whitelisted = 10
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
# vi: shiftwidth=3 tabstop=3 et
|