########################################################## # The configuration file for the slowlists milter program # # $Id: slow.conf,v 0.1 2003/11/05 14:23:25 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:8765@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 SecondaryDatabaseLoc = /etc/mail/milter/slow2.db ##################################### # 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 ##################################### # 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. # For example: # a # helen # # Each must have a corresponding /etc/mail/aliases file entry # of the form: # user: /dev/null # For example: # a: /dev/hull # helen: /dev/hull # HoneyFile = /etc/mail/milter/slow.honey ##################################### # 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. # Also see LocalHostName below. # LookBackOne = true ##################################### # 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