Sendmail set up instructions for Ptsfilter
You must use Sendmail 8.14.0 or higher for Ptsfilter to work
You need to have Sendmail compiled with Milter Support.

For demonstration purposes we will assume you have the source code to sendmail downloaded and untar'ed in /tmp/

When setting milter in the Sendmail source code there are a couple of files that need to be changed.

In the following file: - /tmp/sendmailxx.xx/devtools/Site/site.config.m4
(Remember, we are assuming you have these files in your tmp directory. You may actually place them elsewhere.)

Make the following changes:
APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-DSM_CONF_POLL')
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')

In the following file: - /tmp/sendmailxx.xx/Makefile
You need to add libmilter to the list of sub-directories so that it appears as follows.


SUBDIRS= libmilter libsm libsmutil libsmdb sendmail editmap mail.local \
         mailstats makemap praliases rmail smrsh vacation

You will need pthreads in order to compile and link.  On FreeBSD,
OpenBSD, Linux, and Solaris they are part of the OS.
./Build -c

Before proceeding you must stop Sendmail. Send the appropriate command (based upon your editor) until you get "No matching processes found".

make install

When you make the sendmail.cf file you need to include the following
line into the sendmail.mc file before you run the M4 command on it.

PLEASE NOTE: The F=T portion of the following lines tells Sendmail it
must send ALL pieces of mail through the Ptsfilter.  This means
that if the incoming rate of mail is too rapid for Ptsfilter to keep up
with, messages will be held until they can pass through the Ptsfilter
filter.
INPUT_MAIL_FILTER(`ptsfilter',
`S=local:/usr/local/etc/ptsfilter/ptsfilter.sock,F=T')


TIME OUT FEATURES AND INFORMATION
C: is the connection time between Sendmail and the milter.
S: is the time for sending data from Sendmail to milter.
R: is the recieving time between Sendmail and the milter.
E: is the end of message time between Sendmail and milter.
Look at the following lines now that we have added the time out scripts:***Please Note***
These time out values are only examples and should not be taken as the settings for your system.
(`ptsfilter',`S=local:/usr/local/etc/ptsfilter/ptsfilter.sock,F=T', T=C:5m;S:10m;R:10m;E:5m) (`ptsfilter',`S=inet:[email protected],F=T',T=C:5m;S:10m;R:10m;E:5m)

If the scripts are not set, the default values are:
T=C:5m;S:10s;R:10s;E:5m

Remote installation or upgrades of ScanMail Utiltiies and Sendmail support are available upon request. For users with a 30 day license there is support to configure the milter functions in Sendmail. For users with a full license there is Sendmail support available on all issues for 90 days (not limited to milter support). Support can be reached through email at [email protected] or by phone .

For more information about our software please contact us:
[email protected] .

Copyright © 2013 ScanMail. All rights reserved.
last modified on: 11/25/08 04:47:29 PM
ScanMail    
Search    

Features    
Customer Feedback    
Free Installation    
Real time stats     
Test ScanMail Utilities    
Requirements    

Free 15 Day Demo    
Ordering    
Upgrade Your License    
Downloads    
ScanMail Firewall Server    

Support    
FAQ