[exim] Load Reduction and Balancing

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: exim-users
Sujet: [exim] Load Reduction and Balancing
Trying out a new load balancing and reduction trick. The idea is for
those of you who have more than one server that's processing spam. Under
higher load levels the main server starts using DEFER on anything
suspicious. The secondary server processes everything. That way when the
load levels get high the main server will process mostly ham and the
backup servers mostly spam. Here's my ACL's.

Who likes this idea.

.ifdef LOWEST_MX

defer    log_message = DEFER - Host $sender_host_address - reverse 
lookup failed!
        !verify = reverse_host_lookup
    condition = ${if >{$load_average}{15000}{true}{false}}


defer    log_message = DEFER - Preferred TLD only under high load
        !hosts = *.com : *.net : *.org : *.edu : *.gov : *.mil : *.us : 
*.ca : *.au : *.nz : *.uk
    condition = ${if >{$load_average}{40000}{true}{false}}


.endif


--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com