How to optimize Sendmail for sending speed…

While we certainly prefer Qmail over Sendmail (for a variety of reasons) here is some information to help you optimize and work with Sendmail on your server.

There is a main configuartion file when dealing with sendmail.  This can be found at:

  • /etc/sendmail.cf

This is the file that you will likely want to edit to make your optimizations.

There are numerous custom changes and modifications you could make to Sendmail.  Here are a couple we would suggest looking into:

  • Change the Timeout.ident setting to be “Timeout.ident=0s”
  • Configure Sendmail’s command-line submission tool to background itself after getting the email  instead of trying to deliver it to the main sendmail daemon (http://bit.ly/SaBuu)
  • Setup your own DNS server.  Then configure sendmail to use your new DNS server to resolve MX and A records.
  • Tune Sendmail (http://www.sendmail.org/~ca/email/doc8.12/TUNING)
  • Try switching to Qmail or Postfix and you will likely see improved speed even with the default configurations of both Qmail and Postfix.

Using Qmail instead of Sendmail? View our other article on how to optimize Qmail

A trial is worth a thousand words.
Get started today, no credit card required.

 
 
  • Thanks for sharing this. A post of Exim optimizing would also be welcome :)