#!/bin/bash

##########################################################################
# Copyright @2002, Roaring Penguin Software Inc.  All rights reserved.
#
# Project     : MIMEDefang
# Component   : redhat/mimedefang-sysconfig
# Author      : Michael McLagan <Michael.McLagan@linux.org>
# Creation    : 02-May-2002 14:17
# Description : This is the configuration file for the RedHat RPM
#               init script.  It lives in /etc/sysconfig as mimedefang
#
#               Documents all variables used by the init script and gives
#               recommended values.  For boolean variables, any value other
#               than 'yes' (all lower case) means NO.
#
# Current Revision:
#
# $Source: /home/cvs/MIMEDefang/redhat/mimedefang-sysconfig,v $
# $Revision: 1.16 $
# $Author: dfs $
# $Date: 2002/12/03 17:55:37 $
#
# Revision History:
#
# $Log: mimedefang-sysconfig,v $
# Revision 1.16  2002/12/03 17:55:37  dfs
# Minor tweaks.
#
# Revision 1.15  2002/09/18 15:47:49  dfs
# Updated init scripts for "-T" option.
#
# Revision 1.14  2002/08/26 03:20:10  dfs
# Set user to defang in RPM
#
# Revision 1.13  2002/06/13 14:58:28  dfs
# Updated changelog.
#
# Revision 1.12  2002/06/11 13:36:10  dfs
# Update scripts for recipient checks.
#
# Revision 1.11  2002/05/29 18:12:15  dfs
# Put pid files and sockets in /var/spool/MIMEDefang instead of /var/run
#
# Revision 1.10  2002/05/15 12:55:02  dfs
# Infrastructure for running multiplexor as non-root.
#
# Revision 1.9  2002/05/10 12:36:53  dfs
# Changed MX_SLAVE_RATE to MX_SLAVE_DELAY; added MX_MIN_SLAVE_DELAY.
#
# Revision 1.8  2002/05/08 16:55:17  dfs
# Updated redhat init scripts for subfilter.
#
# Revision 1.7  2002/05/06 18:36:08  dfs
# Added MX_SLAVE_RATE to init scripts.
#
# Revision 1.6  2002/05/06 14:04:04  dfs
# Cleanups.
#
# Revision 1.5  2002/05/03 14:24:24  dfs
# Merge packaging patches.
# Fixed typo.
# Made default value for -n 10.
#
##########################################################################

# The socket used by mimedefang to communicate with sendmail
# SOCKET=/var/spool/MIMEDefang/mimedefang.sock

# Maximum number of processes to run (mail received while this many
# processes are running is rejected with a temporary failure, so be
# wary of how many emails you receive at a time).  This applies only
# if you do NOT use the multiplexor
# MAXIMUM=10

# If you want the multiplexor, you need to uncomment this line
MULTIPLEXOR=yes

# If you want to log messages like "Filter time is 156ms" to syslog,
# uncomment the next line
# LOG_FILTER_TIME=yes

# Run the multiplexor and filters as this user, not root.  RECOMMENDED
MX_USER=defang

# If you want to keep spool directories around if the filter fails,
# set the next one to yes
# KEEP_FAILED_DIRECTORIES=no

# If "yes", turn on the multiplexor relay checking function
# MX_RELAY_CHECK=no

# If "yes", turn on the multiplexor sender checking function
# MX_SENDER_CHECK=no

# If "yes", turn on the multiplexor recipient checking function
# MX_RECIPIENT_CHECK=no

# The following apply only to the multiplexor and are used only when
# the MULTIPLEXOR variable is 'yes'

# Set to yes if you want the multiplexor to log events to syslog
MX_LOG=yes

# The multiplexor does not start all slaves at the same time.  Instead,
# it starts one slave every MX_SLAVE_DELAY seconds when the system is idle.
# (If the system is busy, the multiplexor starts slaves as incoming mail
# requires attention.)
# MX_SLAVE_DELAY=3

# The next setting is an absolute limit on slave activation.  The multiplexor
# will NEVER activate a slave within MX_MIN_SLAVE_DELAY seconds of another.
# The default of zero means that the multiplexor will activate slaves as
# quickly as necessary to keep up with incoming mail.
# MX_MIN_SLAVE_DELAY=0

# Set to yes if you want the multiplexor to log stats in /var/log/md-stats
# MX_STATS=no

# Set to yes if you want the stats file flushed after each entry
# MX_FLUSH_STATS=no

# Set to yes if you want the multiplexor to log stats to syslog
# MX_STATS_SYSLOG=no

# The socket used by the multiplexor
# MX_SOCKET=/var/spool/MIMEDefang/mimedefang-multiplexor.sock

# Maximum # of requests a process handles
# MX_REQUESTS=200

# Minimum number of processes to keep.  The default of 0 is probably
# too low; we suggest 2 instead.
MX_MINIMUM=2

# Maximum number of processes to run (mail received while this many
# processes are running is rejected with a temporary failure, so be
# wary of how many emails you receive at a time).  This applies only
# if you DO use the multiplexor.  The default value of 2 is probably
# too low; we suggest 10 instead
MX_MAXIMUM=10

# Limit slave processes' resident-set size to this many kilobytes.  Default
# is unlimited.
# MX_MAX_RSS=10000

# Limit total size of slave processes' memory space to this many kilobytes.
# Default is unlimited.
# MX_MAX_AS=30000

# Number of seconds a process should be idle before checking for
# minimum number and killed
# MX_IDLE=300

# Number of seconds a process is allowed to scan an email before it is
# considered dead.  The default is 30 seconds; we suggest 300.
MX_BUSY=300

# SUBFILTER specifies which filter rules file to use
# SUBFILTER=/etc/mail/mimedefang-filter

# I question why I'm including this as I see no real need for it
# but in the interests of a flexible implementation, here goes!
#
# DO NOT CHANGE THIS VARIABLE LIGHTLY!!
#
# The filtering program used by mimedefang or the multiplexor. This is
# *NOT* a replacement for /etc/mail/mimedefang-filter!!!  It replaces
# the entire mimedefang perl program, /usr/bin/mimedefang.pl and allows
# a unique filtering agent to be used.  Read mimedefang-protocol man
# page VERY carefully before you attempt to change this!
#
# FILTER=/usr/bin/mimedefang.pl

