Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2008-05-28 20:52:53
Size: 3405
Editor: jarich
Comment: fixed hrs
Revision 4 as of 2008-08-08 14:08:28
Size: 3769
Editor: msapiro
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5865490 #pragma page-filename DOC/versions/4030635
Line 3: Line 3:
If you are interested in this topic, beg, borrow, or steal a copy of Nick Christensen's book "Sendmail Performance Tuning" (see http://www.jetcafe.org/~npc/book/sendmail/). This is the definitive work.
Line 5: Line 4:
If you are looking for online resources with regards to this subject, see Nick's slides for his talk entitled "Performance Tuning Sendmail Systems" (see http://www.jetcafe.org/~npc/doc/performance_tuning.pdf). Then there are the slides for the talk by Brad Knowles entitled "Sendmail Performance Tuning for Large Systems" (see http://www.shub-internet.org/brad/papers/sendmail-tuning/). You may also be interested in Brad's paper "MTA Performance Comparison: sendmail, postfix, & exim on *BSD" (see http://www.shub-internet.org/brad/papers/mtacomparison/). If you are interested in this topic, beg, borrow, or steal a copy of Nick Christensen's book "Sendmail Performance Tuning" (see
[[http://www.jetcafe.org/~npc/book/sendmail/|http://www.jetcafe.org/~npc/book/sendmail/]]). This is the definitive work.
Line 7: Line 7:
For papers that are specific to the issue of tuning sendmail for use with mailing lists, read Rob Kolstad's paper "Tuning Sendmail for Large Mailing Lists" (see http://www.usenix.org/publications/library/proceedings/lisa97/21.kolstad.html), and Strata Chalup's paper "Drinking from the Fire(walls) Hose: Another Approach to Very Large Mailing Lists" (see http://www.usenix.org/publications/library/proceedings/lisa98/chalup.html). If you are looking for online resources with regards to this subject, see Nick's slides for his talk entitled "Performance Tuning Sendmail Systems" (see [[http://www.jetcafe.org/~npc/doc/performance_tuning.pdf|http://www.jetcafe.org/~npc/doc/performance_tuning.pdf]]). Then there are the slides for the talk by Brad Knowles entitled "Sendmail Performance Tuning for Large Systems" (see [[http://www.shub-internet.org/brad/papers/sendmail-tuning/|http://www.shub-internet.org/brad/papers/sendmail-tuning/]]). You may also be interested in Brad's paper "MTA Performance Comparison: sendmail, postfix, & exim on *BSD" (see [[http://www.shub-internet.org/brad/papers/mtacomparison/|http://www.shub-internet.org/brad/papers/mtacomparison/]]).
Line 9: Line 9:
    * Other comments (taken from the mailing lists): For papers that are specific to the issue of tuning sendmail for use with mailing lists, read Rob Kolstad's paper "Tuning Sendmail for Large Mailing Lists" (see [[http://www.usenix.org/publications/library/proceedings/lisa97/21.kolstad.html|http://www.usenix.org/publications/library/proceedings/lisa97/21.kolstad.html]]), and Strata Chalup's paper "Drinking from the Fire(walls) Hose: Another Approach to Very Large Mailing Lists" (see [[http://www.usenix.org/publications/library/proceedings/lisa98/chalup.html|http://www.usenix.org/publications/library/proceedings/lisa98/chalup.html]]).


Other comments (taken from the mailing lists):
Line 16: Line 19:
If you're running anything less than sendmail 8.11 -- upgrade, and spend some time configuring subdirectories to reduce I/O load and contention in the directory structures (QueueDirectory=/var/spool/mqueue/q* where * = at least 5 directories, with appropriate df/qf/xf subdirs). If you're running anything less than sendmail 8.11 upgrade, and spend some time configuring subdirectories to reduce I/O load and contention in the directory structures (QueueDirectory=/var/spool/mqueue/q* where * = at least 5 directories, with appropriate df/qf/xf subdirs).
Line 20: Line 23:
    * I know that tweaking sendmail.cf files gives many people hives, and so people aren't likely to do it. It's also unneccesary.
I know that tweaking sendmail.cf files gives many people hives, and so people aren't likely to do it. It's also unneccesary.
Line 28: Line 33:
Where NNNN is some port number not otherwise used (you can test if something's in use by doing "telnet localhost NNNN" -- if it's refused, there's no daemon listening) Where NNNN is some port number not otherwise used (you can test if something's in use by doing "telnet localhost NNNN" if it's refused, there's no daemon listening)
Line 36: Line 41:
 SMTPPORT = 1313  SMTPPORT = NNNN
Line 41: Line 46:
    * Both of these answers culled from messages by Chuq Von Rospach chuqui@plaidworks.com
''Last changed on Tue Sep 5 22:58:45 2006 by'' Brad Knowles
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

Both of these answers culled from messages by Chuq Von Rospach chuqui@plaidworks.com

''Last changed on Tue Sep 5 22:58:45 2006 by'' Brad Knowles<<BR>> Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

6.3. MTA Performance Tuning Tips for Sendmail

If you are interested in this topic, beg, borrow, or steal a copy of Nick Christensen's book "Sendmail Performance Tuning" (see http://www.jetcafe.org/~npc/book/sendmail/). This is the definitive work.

If you are looking for online resources with regards to this subject, see Nick's slides for his talk entitled "Performance Tuning Sendmail Systems" (see http://www.jetcafe.org/~npc/doc/performance_tuning.pdf). Then there are the slides for the talk by Brad Knowles entitled "Sendmail Performance Tuning for Large Systems" (see http://www.shub-internet.org/brad/papers/sendmail-tuning/). You may also be interested in Brad's paper "MTA Performance Comparison: sendmail, postfix, & exim on *BSD" (see http://www.shub-internet.org/brad/papers/mtacomparison/).

For papers that are specific to the issue of tuning sendmail for use with mailing lists, read Rob Kolstad's paper "Tuning Sendmail for Large Mailing Lists" (see http://www.usenix.org/publications/library/proceedings/lisa97/21.kolstad.html), and Strata Chalup's paper "Drinking from the Fire(walls) Hose: Another Approach to Very Large Mailing Lists" (see http://www.usenix.org/publications/library/proceedings/lisa98/chalup.html).

Other comments (taken from the mailing lists):

  http://mail.python.org/pipermail/mailman-users/2001-May/011257.html
  http://mail.python.org/pipermail/mailman-developers/2001-August/009329.html

If you're running anything less than sendmail 8.11 – upgrade, and spend some time configuring subdirectories to reduce I/O load and contention in the directory structures (QueueDirectory=/var/spool/mqueue/q* where * = at least 5 directories, with appropriate df/qf/xf subdirs).

If you aren't running DNS on that local machine, set up a caching-only name server. You'll see a significant increase in your performance by removing the network interactions, even if you're dealing with a DNS server on your local LAN.

I know that tweaking sendmail.cf files gives many people hives, and so people aren't likely to do it. It's also unneccesary.

You can do this without modifying your sendmail files at all. Instead, in your startup script, add:

        /usr/sbin/sendmail -bd -ODeliveryMode=defer \
                -ODaemonPortOptions=Name=MSA,Port=NNNN,M=E,Addr=127.0.0.1

Where NNNN is some port number not otherwise used (you can test if something's in use by doing "telnet localhost NNNN" – if it's refused, there's no daemon listening)

This sets up a sendmail process listening to the alternate port, in DEFER mode, but set to talk only to the localhost interface, so it's not accessible by anyoneother than your local machine: no open relay problems.

To make mailman access that port, add this to your mm_cfg.py:

 # define alternate SMTP port
 SMTPPORT = NNNN

I've been running this fine for about a week, and I'm quite comfortable with it. It works with sendmail 8.10 and later and doesn't require a sendmail god to implement.

Both of these answers culled from messages by Chuq Von Rospach chuqui@plaidworks.com

Last changed on Tue Sep 5 22:58:45 2006 by Brad Knowles
Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/MTA Performance Tuning Tips for Sendmail (last edited 2015-03-04 05:50:44 by msapiro)