File: sma.conf

package info (click to toggle)
sma 1.4-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 596 kB
  • sloc: ansic: 6,291; sh: 163; perl: 148; makefile: 63
file content (207 lines) | stat: -rw-r--r-- 4,614 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#
# sma.conf -- configuration file for SMA
#
# All configuration options are key-value pairs separated with one
# or more space characters:
#
# "Key"     [spaces] 	"Value"
#
# Quotation marks are optional - they are needed only if the value contains
# space characters (space or tab). Quotation marks inside the value string
# must be escaped using a backslash:
#
# "Key"     [spaces] 	"Value \"containing quotation marks\""
#
# Comment lines (lines starting with '#') and empty lines are discarded.
#


# This always is printed at the top of the report.

Comment		"Sendmail Log Analysis Report"


# You need this if SMA cannot find your hostname from the log files 
# (Sendmail for NT) or if you want to override it.

#HostName		myhost.com


# Print output as file (same as command line option -o)
# If not given, write to stdout

#OutFile		/home/jt/report.html


#
# Filtering
#
# Simple substring filters for envelopes and relays. All filters are ANDed.
# If compiled with USE_REGEXP, full suite of extended regexp may be used.
# If you set "ShowUsers" as "no", be sure that your filters are applied 
# against only the domain portion of addresses.
#
EnvelopeSenderFilter		*
EnvelopeRecipientFilter		*
RelaySenderFilter		*
RelayRecipientFilter		*

# If compiled with USE_REGEXP, set case sensitivity
CaseSensitive			no

# Start and end times - process log entry only if the time is between
# these two. Format: YYYY/MM/DD-HH:MM:SS (example: 2002/06/30-16:25:00
# means Jun 30 16:25:00 2002)

#StartTime			YYYY/MM/DD-HH:MM:SS
#EndTime			YYYY/MM/DD-HH:MM:SS


#
# Output format (html/ascii/clog)
#
# html - HTML report
# ascii - ASCII report
# clog - Custom Log format

Format			html


#
# HTML Formatting 
#
# Include ASCII report as HTML comment?
# Great for easy reading of html docs or mailing the report off to admin.
IncludeAscii		no

# Background colors for HTML
BgColor			E9E5DF
TbColor			CCCCCC	

# Picture for HTML appears in the upper left corner
# If you include this, make sure that your web browser finds it!!
#PictureURL		"logo.jpg"
#PictureALT		"Logo"

# Normal HTML parameters for Picture IMG Tag (for scaling etc..)
#PictureParameters	"BORDER=0"

# Set this if you want your picture to point somewhere
#PictureLink		"http://www.company.com"

# Header -and footer texts 
# These are those funky "Generated by..." and "Copyright..." notices.
#HeaderText		"This is header"
#FooterText		"This is footer"


#
# Flags for Custom Log (clog) Formatting
# Available formatting flags are:
#
# %U time in UNIX time format
# %D time in form "Wed Jun 30 21:49:08 1993"
# %y year, four digits
# %m month, in digits
# %M month, three letter English
# %n minute
# %s second
# %d day
# %h hour
# %H hostname
# %z size in bytes
# %f envelope sender
# %t envelope recipient
# %F relay sender
# %T relay recipient
# %S status (1 = sent, 0 = error)
# %i message id
# %% %-character
# \n newline
# \t tab stop
# \\ single backslash
#
ClogFormat	"%D: %i from=%f, to=%t, size=%z"

# Print only sent messages (status = 1) (yes/no)
ClogSentOnly	yes


# Syslog Tag, typically sendmail
# If set, process only lines with a specified tag.

#SyslogTag	sendmail


# Bounce address, typically MAILER-DAEMON
# This is used when DSN messages are checked against filters

BounceAddress	MAILER-DAEMON


#
# The number of envelope addresses and relays
# Individual sections can be disabled by defining "0" as the value.
# It might be a good idea to disable all the sections you don't 
# need, it improves the performance notably.
#
EnvelopePairs		10
EnvelopeSenders		10
EnvelopeRecipients	10
RelayPairs		5
RelaySenders		5
RelayRecipients		5


# The number of top status messages and ruleset rejections
# If set as "0", do not print the section.
# Note that Status messages are affected by filters!

PrintStatus		10
PrintRuleset		10
RulesetRelays		10


# Print time distribution (yes/no)?

PrintTime		yes


# Print general information (yes/no)?

PrintGeneralInfo	yes


# Show full addresses (yes/no)?
# If "no", only the domain portion of addresses are printed (i.e. the
# right side of the '@'). If you are filtering, be careful.

ShowUsers		no


# Sort order (number/transfer)

Sorting			number


# Normal log files contain a lot of useless information. With this switch, 
# you can keep SMA quiet

Silent			yes


# Print debug information (yes/no)?

Debug			no


# Internal hash table size - possible values are: 
# "normal", "big", "huge" or custom, comma separated values

HashTables		normal
#HashTables		big
#HashTables		huge

# Custom values: address and relay hash table sizes, separated with comma ','
#HashTables		1699,101