For more help with Sendmail including installation, setup, troubleshooting and more contact us by email or phone: [email protected] or (410) 838 5100. We offer support on a per incident basis as well long term commitments. Call us, we are the experts.

Sendmail Performance Tuning for Ptsfilter

There are several configuration options you may want to change or add to your sendmail.cf file in order to gain optimum performance from sendmail. Try to make these changes in your sendmail.mc file and not directly into your sendmail.cf file. This options will greatly improve the performance of ptsfilter especially on larger mail servers

define(`confDF_BUFFER_SIZE',`4000')
This tells sendmail to hold any df file for a message in memory not write it
to disk until it exceeds 4000 bytes.  

define(`confXF_BUFFER_SIZE',`2000')
This tells sendmail to hold any xf file for a message in memory not write it
to disk until it exceeds 2000 bytes.  
By using the above defines you can eliminate the creation and deletion of two
of the three files that are used for each message created.  This will save
on disk I/O and save on queue space.

define(`confPRIVACY_FLAGS', `goaway,noreceipts')
The goway option tells the sending site follow standard SMTP conventions.
The noreceipts option tells sendmail no to send a return reciept.  On a
heavily loaded systems this option can make a huge difference.

define(`confMAX_MESSAGE_SIZE', `3000000')
This option limits total message size to 3 meg.  For heavily loaded systems
this option has a tremendous performance impact.  The default is unlimited.

define(`confCONNECTION_RATE_WINDOW_SIZE',`time')dnl
where time is an integer that specifies the number of seconds you want
in the window. To specify minutes a an m example: 1m

FEATURE(`conncontrol', `nodelay', `terminate')
controls how many simultaneous connections per given ip address

WARNINIG:  This may cause performance issues on busy mail servers.

FEATURE(`ratecontrol', `nodelay', `terminate')
Controls how many connections per minute for each unique ip address.

WARNINIG:  This may cause performance issues on busy mail servers.

FEATURE(`greet_pause', `3000')dnl
The server delays the initial response x milliseconds. 
This feature helps prevent "slamming".  Slamming is sending the EHLO/HELO 
command without waiting for your server's greeting.
It is a common attack
to send the EHLO/HELO command without waiting for your server's greeting. 
Any server that starts sending traffic before this response receieves an 
error message. The second option is in milliseconds.

WARNINIG:  This may cause performance issues on busy mail servers.

Preventing savemail panics in Sendmail
A savemail panic occurs when a bounced message can not be delivered to the
postmaster alias.  Make sure your alias file includes the following:
MAILER-DAEMON:    postmaster
postmaster:       root

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


Copyright © 2013 ScanMail. All rights reserved.
last modified on: 11/25/08 04:49:49 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