🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chico.ect.help
Article #31

Re: mail server?

#31
From: Tyler Yip - UnixWeenie(tm)
Date: Fri, 20 Nov 1998 00:00
59 lines
2984 bytes
In article <732441$sf2$1@hubble.csuchico.edu>,
Pythagoras Watson <py@ecst.csuchico.edu> wrote:
>According to Tyler Yip - UnixWeenie(tm) <davros@ecst.csuchico.edu>:
>:Anyway we could find out how much mail is backlogged on gangrene?
>
>
>As always, suggestions are welcome.
>

Dump qmail.

Get sendmail 8.9.1 or whatever is current and configure it for cached
connections to spam for delivery,

in your .mc file, add:
define(`confCON_EXPENSIVE', `true')
define(`SMTP_MAILER_FLAGS', `emDFMUX')
define(`confSAFE_QUEUE')
define(`confMCI_CACHE_SIZE', 1)
define(`confMCI_CACHE_TIMEOUT', 30s)
define(`confSINGLE_THREAD_DELIVERY', `true')
define(`confHOST_STATUS_DIRECTORY', `/etc/mail/hoststatus')

build your .cf file, create the /etc/mail/hoststatus directory, and
start sendmail.  This will get sendmail to cache up to 8 connections and keep
them open for 30 seconds, thus reducing connection cost overhead between
gangrene and spam.

CON_EXPENSIVE says that all mail for expensive mailers is queued rather
than handled immediately.

the SMTP_MAILER_FLAGS tags adds the expensive flag to SMTP mailer.

SAFE_QUEUE causes all mail to be committed to disk before further processing
(this keeps messages from being lost in the event of a crash)

MCI_CACHE_SIZE and MCI_CACHE_TIMEOUT set the number of connections and idle
timeout for each of the connections on over-the-network mailers.

SINGLE_THREAD_DELIVERY causes sendmail to limit itself to only one connection
to any single remote host.

HOST_STATUS_DIRECTORY is a directory tree that stores the status of cached
connections.

The results of this is that it allows the maximal throughput between two
MTA's where the receiving MTA may not be able to handle as much I/O as the
sending MTA can send.  This reduces the system impact on the receiving MTA
caused by the sending MTA initiating a new connection for every message that
arrives.  Instead, gangrene would immediately queue all inbound mail, and then
line them all up in single line heading for only one door to spam.  Every
message runs through the door to spam as fast as they can single file.
Be sure to set the queue time in the command line invokation of sendmail
to something short so as to provide reasonably prompt processing of the
queued mail.
-- 
Tyler Yip            : @Home Network        : http://www.home.net
System Administrator : 425 Broadway         :
tyler@corp.home.net  : Redwood City, Calif. : @Home - Unreasonably Fast
Technical Details
Message-ID: <732dlb$srt$1@hubble.csuchico.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <730m6r$qr6$1@hubble.csuchico.edu> <732441$sf2$1@hubble.csuchico.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10fe8a,8dc795067532635c
X-Google-Attributes: gid10fe8a,public
From: davros@ecst.csuchico.edu (Tyler Yip - UnixWeenie(tm))
Subject: Re: mail server?
Date: 1998/11/20
Message-ID: <732dlb$srt$1@hubble.csuchico.edu>
X-Deja-AN: 413694025
Distribution: ecst
References: <730m6r$qr6$1@hubble.csuchico.edu> <732441$sf2$1@hubble.csuchico.edu>
Organization: California State University, Chico
Newsgroups: chico.ect.help