Personal tools

Bugzilla:Speed Up Sendmail

From MozillaWiki

Jump to: navigation, search

On, we recently got a HUGE performance boost on making bug changes by configuring Sendmail's command-line submission tool to background itself after getting the email from Bugzilla instead of trying to deliver it to the main sendmail daemon while Bugzilla waits for it. We thought we had it hacked this way already, but it turned out it didn't work, because FEATURE('msp') overrides the delivery mode, so you have to override it back after the FEATURE('msp') line. Here's what our file for sendmail looks like:

VERSIONID(`linux setup for Red Hat Linux')dnl
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confPID_FILE', `/var/run/')dnl
define(`confTO_IDENT', `0s')dnl
dnl If you use IPv6 only, change [] to [IPv6:::1]
FEATURE(`msp', `[]')dnl
define(`confDELIVERY_MODE',`b')dnl This has to be *after* FEATURE('msp') or it won't work