Tuning for high performance servers

FreeBSD libpthread versus libthr

libmap.conf

# more /etc/libmap.conf 
     [/local/usr/sbin/]  
     libpthread.so.2         libthr.so.2
     libpthread.so           libthr.so

Avoid greylist well behaved sites

It can be usefull to look at the greylisting database and possibly improve our ze-policy.txt file:

# ze-printstats -q -l 1d -m rg -n 20
Loading ze-filter configuration
Loading default values
Reading configuration file : /etc/ze-filter/ze-filter.cf
Reloading configuration tables...
Version                        : Joe's ze-filter v1.12.0-080224

*** Greylisted

. IP ADDRESS           : CONNECT ...MSGS  R-MSGS R-RCPTS : HOSTNAME
. 4.79.230.174         :     273       0      15      15 : 174.230.79.4.ejpress.com
. 12.20.55.99          :       2       0       1       2 : unknown
. 12.32.177.50         :       5       1       3       3 : smtp.promega.com
. 12.46.90.101         :       1       0       1       1 : unknown
. 12.46.238.92         :       8       2       6       6 : mail4.fishersci.com
. 12.48.196.228        :      10       0       7      12 : unknown
. 193.251.214.118      :       2       1       1       1 : out1.laposte.net
. 193.251.214.119      :      15      14       1       1 : out2.laposte.net
. 193.251.214.121      :      12       9       2       2 : out4.laposte.net
. 193.251.214.122      :       2       1       1       1 : out5.laposte.net
. 193.251.214.123      :      16      15       1       1 : out6.laposte.net
Oups, we are greylisting laposte.net which is a well behaved site. So, we can add it to the policy file: vi /var/jchmail/cdb/ze-policy.txt
GreyCheckConnect:laposte.net            NO-QUICK
or
GreyCheckConnect:193.251.214            NO-QUICK
NO-QUICK means that we don't bother about From or To address. Just the client IP stops greylisting.

make

bypass checks

doc/tuning/start.txt · Last modified: 2018/02/09 17:02 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0