[Mimedefang] Balancing MD load (slightly OT)

wrolf.courtney at donovandata.com wrolf.courtney at donovandata.com
Tue Aug 26 11:43:01 EDT 2003




Sendmail is configured by default to cache connections.  In
/etc/mail/sendmail.cf, you probably have:

O ConnectionCacheSize=2
O ConnectionCacheTimeout=5m

You can disable connection caching by putting the following in
/etc/mail/sendmail.mc:

define(`confMCI_CACHE_SIZE`,0)

and then regenerating sendmail.cf:

m4 sendmail.mc > sendmail.cf
kill -HUP `head -1 /var/run/sendmail.pid`

See also the sendmail cf/README file.

Wrolf Courtney
Donovan Data Systems, Inc.
(212) 633-5470



                                                                                                                                                     
                      "F.M. Taylor"                                                                                                                  
                      <ftaylor1 at mymail.indstate.edu>         To:      mimedefang at lists.roaringpenguin.com                                            
                      Sent by:                               cc:                                                                                     
                      mimedefang-admin at lists.roaring         Subject: [Mimedefang] Balancing MD load (slightly OT)                                   
                      penguin.com                                                                                                                    
                                                                                                                                                     
                                                                                                                                                     
                      08/26/2003 10:51 AM                                                                                                            
                      Please respond to mimedefang                                                                                                   
                                                                                                                                                     
                                                                                                                                                     




Greetings,

I have a front end sendmail box called maildump, no filtering, it just
accepts mail.  This box is *supposed* to round robin to my 3 back-end
boxes with sendmail, MD, SA, and Virii scan.  However, it seems that
once maildump grabs ahold of one of the back end boxes it won't let go
or re-resolve for the next connections.

Could someone send me a clue as to what I need to change to make
sendmail operate as I desire.  I have set connection cache size to zero
and my nsswitch.conf (yep, solaris) to dns first then files.  BUt that
does not seem to be enough.  Do I need to "fork each job" or what??

TIA



_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang






More information about the MIMEDefang mailing list