###########################################################################
# $Id: postfix.conf,v 1.12 2007/03/27 01:16:54 mrc Exp $
###########################################################################

# You can put comments anywhere you want to.  They are effective for the
# rest of the line.

# this is in the format of <name> = <value>.  Whitespace at the beginning
# and end of the lines is removed.  Whitespace before and after the = sign
# is removed.  Everything is case *insensitive*.

# Yes = True  = On  = 1
# No  = False = Off = 0

Title = "Postfix"

# Which logfile group...
LogFile = maillog

# Specifies the global maximum detail level
#
#Detail = 10

# Only give lines pertaining to the postfix service...
#
# Note: both variables below must contain the same "postfix" RE.
# If you change postfix's syslog_name for any smtpd listener
# you will need to replace "postfix" below with an appropriate
# RE to capture the desired log entries.  For example:
#
#       *OnlyService = "postfix\d?/[-a-zA-Z\d]*"
#       $postfix_Syslog_Name = "postfix\d?"
#
# will capture postfix/smtpd, postfix2/virtual, ..., postfix9/cleanup
#
# Note: if you use parenthesis in your regular expression, be sure they
# are cloistering and not capturing: use (?:pattern) instead of (pattern).

*OnlyService = "postfix/[-a-zA-Z\d]*"
$postfix_Syslog_Name = "(?:postfix|postgrey)"
#
# Ignored postfix services
#
# Ignores postfix services postfix/SERVICE, where SERVICE is an RE
# pattern.  The example below will ignore log lines whose syslog
# name is "postfix/myservice".
#$postfix_Ignore_Service = "myservice"

# Specifies the maximum report width for Detail <= 10,
# or when postfix_Line_Style is not set to Truncate
#
$postfix_Max_Report_Width = 100

# Specifies how to handle line lengths greater than Max_Report_Width.
# Options are Truncate (default), Wrap, or Full.
# for Detail <= 10
#
$postfix_Line_Style = Truncate

# Set the variable below to the value set for "recipient_delimiter"
# in your postfix configuration, if you want your recipient email
# addresses split into their user + extension.
#
#$postfix_Recipient_Delimiter = "+"

# Width of IP addresses for columnar output.  Change to 40 for IPv6 addresses
#$postfix_ipaddr_width = 40
$postfix_ipaddr_width = 15

# Show delays percentiles report.  For command line, use --[no]delays,
# without an argument.
# 
$postfix_Show_Delays = Yes

# Show names of detail section variables/command line options in 
# detail report titles.  For command line, use --[no]sect_vars,
# without an argument.
# 
$postfix_Show_Sect_Vars = No

# Specifies the percentiles shown in the delivery delays report
# Valid values are from 0 to 100, inclusive.
$postfix_Delays_Percentiles = "0 25 50 75 90 95 98 100"

# Specifies the list of reject sections that will be output in
# reports (eg. 5xx permanent or 4xx temporary failures). 
# Each entry in the comma or whitespace separated list consists of 3
# characters, where the first is either 4 or 5, and second and third
# are a digit or a dot "." match-anything character.  Also allowed is
# the keyword "Warn" (which is used for postfix "warn_if_reject" rejects).
# In PCRE (perl regular expression) terms, any pattern that matches:
#
#    ^([45][0-9.][0-9.]|Warn)$
#
# is acceptable.
#
# Typical reject codes:
#
#   421 Service not available, closing transmission channel
#   450 Requested mail action not taken: mailbox unavailable
#   451 Requested action aborted: local error in processing
#   452 Requested action not taken: insufficient system storage
#
#   500 Syntax error, command unrecognized
#   501 Syntax error in parameters or arguments
#   502 Command not implemented
#   503 Bad sequence of commands
#   504 Command parameter not implemented
#   550 Requested action not taken: mailbox unavailable
#   551 User not local; please try <forward-path>
#   552 Requested mail action aborted: exceeded storage allocation
#   553 Requested action not taken: mailbox name not allowed
#   554 Transaction failed
#
# Specific codes take priority over wildcard patterns.  The default list
# is: "5.. 4.. Warn".
#
# See also the various Reject... level limiters below
#
$postfix_Reject_Reply_Patterns = "5.. 4.. Warn"

# Level Limiters
#
# The variables below control the maximum output level for a given
# category.  A level of 1 indicates only one level of detailed output in
# the Detailed report section.  The Summary section is only available
# at logwatch --Detail level >= 5.  Increasing the Detail level
# by one adds one level of additional detail in the Summary section.
#
# For example, Detail 5 would output one additional level of detail,
# Detail 6 two levels, etc. all the way up to 10.  Finally, Detail
# 11 yields uncropped lines of output.
#
# You can control the maximum number of level 1 lines by appending
# a period and a number. The value 2.10 would indicate 2 levels
# of detail, but only 10 level-1 lines.  For example, setting
# $postfix_Sent = 1.20 yields a top 20 list of Messages Sent.
#
# A more  useful form of limiting uses triplets in the form l:n:t.
# This  triplet specifies level l, top n, and minimum threshold t.
# Each of the values are integers, with l being the level  limiter
# as described above, n being a top n limiter for the level l, and
# t being the threshold limiter for level l.  When both  n  and  t
# are  specified, n has priority, allowing top n lists (regardless
# of threshold value).  If the value of l is omitted,  the  speci-
# fied  values for n and/or t are used for all levels available in
# the sub-section.  This permits a simple form of wildcarding (eg.
# place  minimum  threshold  limits on all levels).  However, spe-
# cific limiters always override  wildcard  limiters.   The  first
# form  of  level limiter may be included in levelspec to restrict
# output, regardless of how many triplets are present.

$postfix_Sent                       = 1
$postfix_SentLmtp                   = 1
$postfix_Delivered                  = 1
$postfix_Forwarded                  = 1
$postfix_ConnectionLostInbound      = 1
$postfix_ConnectToFailure           = 2

# Disabled by default to reduce noise - enable at will
$postfix_EnvelopeSenders            = 0
$postfix_EnvelopeSenderDomains      = 0

$postfix_PanicError                 = 10
$postfix_FatalError                 = 10
$postfix_ProcessLimit               = 10
$postfix_QueueWriteError            = 10
$postfix_MessageWriteError          = 10
$postfix_DatabaseGeneration         = 10
$postfix_MailerLoop                 = 10
$postfix_StartupError               = 10
$postfix_MapProblem                 = 10
$postfix_AttrError                  = 10
$postfix_ProcessExit                = 10
$postfix_ConcurrencyLimit           = 10
$postfix_RateLimit                  = 10
$postfix_CommunicationError         = 10
$postfix_SaslAuthFail               = 10
$postfix_LdapError                  = 10
$postfix_WarningsOther              = 10

# Common access control actions
$postfix_Discarded                  = 10
$postfix_Filtered                   = 10
$postfix_Hold                       = 10
$postfix_Prepended                  = 10
$postfix_Redirected                 = 10
$postfix_Replaced                   = 10
$postfix_Warned                     = 10
# DUNNO  action not logged
# IGNORE action not logged
# REJECT actions are below

# Rejects
# The following are generic reject types, which are automatically
# expanded into each reject variant, based on the reply patterns
# listed in Reject_Reply_Patterns.  By default, each item in the
# list below becomes 4xxReject..., 5xxReject..., and WarnReject...
$postfix_RejectBody                 = 10
$postfix_RejectClient               = 10
$postfix_RejectConfigError          = 10
$postfix_RejectData                 = 10
$postfix_RejectEtrn                 = 10
$postfix_RejectHeader               = 10
$postfix_RejectHelo                 = 10
$postfix_RejectInsufficientSpace    = 10
$postfix_RejectMilter               = 10
$postfix_RejectRBL                  = 10
$postfix_RejectRecip                = 10
$postfix_RejectRelay                = 10
$postfix_RejectSender               = 10
$postfix_RejectSize                 = 10
$postfix_RejectUnknownClient        = 10
$postfix_RejectUnknownReverseClient = 10
$postfix_RejectUnknownUser          = 10
$postfix_RejectUnverifiedClient     = 10
$postfix_RejectVerify               = 10

# For more precise control, you can comment out any of the reject
# types above and specify each variant manually, but the list must
# be consistent with the values specified in Reject_Reply_Patterns.
#
# For example, you could comment out $postfix_RejectHelo above, and
# instead uncomment the three RejectHelo variants, allowing you to
# specify different level limiters to each variant:
#
# Permanent 5xx variant
#    $postfix_5xxRejectHelo  = 1
# Temporary 4xx variant
#    $postfix_4xxRejectHelo  = 2
# Warn_if_reject variant
#    $postfix_WarnRejectHelo = 2
#

$postfix_Deferred                   = 10
$postfix_Deferrals                  = 10
$postfix_BounceLocal                = 10
$postfix_BounceRemote               = 10

$postfix_Discarded                  = 10
$postfix_ReturnedToSender           = 10
$postfix_NotificationSent           = 10
$postfix_ConnectionLostOutbound     = 10
$postfix_TimeoutInbound             = 10
$postfix_HeloError                  = 10
$postfix_IllegalAddrSyntax          = 10
$postfix_RBLError                   = 10
$postfix_MxError                    = 10
$postfix_NumericHostname            = 10
$postfix_SmtpConversationError      = 10
$postfix_TooManyErrors              = 10
$postfix_HostnameVerification       = 10
$postfix_HostnameValidationError    = 10
$postfix_Deliverable                = 10
$postfix_Undeliverable              = 10
$postfix_PixWorkaround              = 10
$postfix_SaslAuth                   = 10
$postfix_TlsServerConnect           = 10
$postfix_TlsClientConnect           = 10
$postfix_TlsUnverified              = 10
$postfix_TlsOffered                 = 10

$postfix_PolicySPF                  = 10
$postfix_PolicydWeight              = 10
$postfix_Postgrey                   = 10

# vi: shiftwidth=3 tabstop=3 et
