#
# 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

