[ start | index | login ]
start > knowledgebase > linux > mail > sendmail notes

sendmail notes

Created by kron. Last edited by kron, 2 years and 149 days ago. Viewed 1,765 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
Getting flooded by incoming spam? Try these settings:

Setting the maximum number of Sendmail processes

define(`confMAX_DAEMON_CHILDREN',7)

Limit connection time of incoming connections

define(`confTO_ICONNECT',`10s') 	
define(`confTO_DATABLOCK',`5m')

This will stop spam/misconfigured hosts for keeping connections open for a long time.

Add these to /etc/mail/sendmail.mc, and restart Sendmail: /etc/init.d/sendmail restart

Thanks to Don Wallace (a RimuHosting customer) for these handy tips.

请以发表评论身份登录
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.