slow.conf #1

  • //
  • guest/
  • bryan_costales/
  • slow.conf
  • View
  • Commits
  • Open Download .zip Download (4 KB)
##########################################################
# The configuration file for the slowlists milter program
#
# $Id: slowlists.conf,v 1.2 2003/10/07 16:30:03 bcx Exp bcx $
#
# In this file you set the values to be used by the milter.
#
# Default values are listed in the file "slow.h"
#
# The location of this file is hardcoded as:
#	/etc/mail/milter/slow.conf
#
# You may override this default with the -C command-line switch
# for the slowmilter progam.
#

#####################################
# The milter listens on a TCP/IP socket for connections
# 	from sendmail programs. This is the port on which to listen.
# 	It must be in the form:
#		inet:port@host
# 	where "inet:" is literal. "port" is a port number on which to
# 	listen, and "host" is a host name or IP number for the interface
# 	upon which to listen. If the host is multi-hosted with two or
# 	more interfaces, make sure the host name is the same for all
# 	the interfaces upon which you wish to listen.
#
ListenPort = inet:9999@lady.bcx.com

#####################################
# The milter keeps its grace status in a Sleepycat Database.
# 	This defines the location of that database.
#
#PrimaryDatabaseLoc   = /etc/mail/milter/slow1.db
PrimaryDatabaseLoc   = ./testfiles/slow1.db

#SecondaryDatabaseLoc = /etc/mail/milter/slow2.db
SecondaryDatabaseLoc   = ./testfiles/slow2.db

#####################################
# How to handle our MX servers.
# 	In general they should be accessing this milter.
# 	If not, set this to true, so that the Received
# 	header inserted by your MX server can be looked
# 	at to find the IP number for recording.
#
LookBackOne		= true

#####################################
# Do we allow white listing if selected IP
# 	numbers? If so, they will have a data
# 	lookup return of 0 to indicate a whitelisted
# 	status.
#	[not sure how to add whitelist status to database]
#
AllowWhiteListIPs	= true

#####################################
# Some number of recipients are considered
# 	good. More are recorded as bad.
#
MaxHeaderRcpts	     	= 4
MaxRcptsPerEnvelope 	= 250

#####################################
# HoneyPot Recipients.
# Some addresses are honey pot traps. If a recipient
# 	matches one of these honey pot addresses we record
# 	that envent.
#
# HoneyPotFile		= /etc/mail/milter/honey.list

#####################################
# MESSAGE-ID HEADER
# The message-ID header can indicate a spam. Should we
# 	check it and report, or ignore it?
#
CheckMessageId		= true

#####################################
# SENDER CHECKS
# Some characteristics of the sender address can
# 	indicate a spam. Should we check and record them?
#
CheckFromHeader		= true

#####################################
# THE SENDING HOST
# The sending host must resolve and not be forged
# 	Should we check and record the sending host?
#
CheckSenderHost		= true

#####################################
# Look up the IP number at one or more RBL sites.
# If found, record as bad.
# [need to work this out, better done inside sendmail]
#
# LookupIPatRBL		= true;

#####################################
# MILTER BEHAVIOR
# A milter will abort if sendmail or an earlier milter reject, defers,
#	or discards the message. An abort indicates that sendmail or
# 	an earlier milter declared this message as bad, so we record
# 	this event.
#
MilterAbort		= true;

#####################################
# ADVANCE WRITES
# After the sending site sends the HELO/EHLO, it should wait for
#	acknowledgement before sending anything else. If it does not
#	wait, that indicates a splat attempt, so record.
#
AdvanceWrite		= true

#####################################
# HONEY POT ADDRESSES
# Only one address per line in this file of honeypot addresses.
# Each must have a corresponding /etc/mail/aliases file entry
# of the form:
#	user:	/dev/null
#
HoneyFile		= ./testfiles/honeyfile

#####################################
# THE LOCAL HOST OR DOMAIN NAME
# If this is defined, the mx records for it will be looked up
# to see 1) if the connection is from one of your mx servers,
# and 2) to find the host that sent it to your mx server.
# If you expect mail to user@domain, then place domain here,
# if you expect mail to user@host.domain, put host.domain here.
# If you are an MX server, leave this undefined.
#
LocalHostName		= bcx.com

#####################################
# TRACKIN HEADER TO ADD
# This is the header to add to the message to show that it
# has been already been screened by this milter.
# Omit the trailing colon from this definition.
# The default is: X-SlowMilter
#
XTrackHeader		= X-SlowMilter

# Change User Description Committed
#1 3838 bryan_costales This is pre-release 0.5 (rcs numbering) which includes:
    The milter source files and Makefile
    A regressive testing subdirectory with Makefile and /bin/sh scripts.
    A patches subdirectory with a patch file for V8.13 sendmail
All have been compiled and tested on a 64bit Sun Solaris 9 machine.