
Basic libmilter on FreeBSD 6.4 should be compiled for ferformances...
Go to src/contrib/sendmail/libmilter
Edit your Makefile.m4
# diff -u Makefile.m4 Makefile.m4.ORG
--- Makefile.m4 2009-02-18 21:08:47.000000000 +0100
+++ Makefile.m4.ORG 2009-02-18 20:57:09.000000000 +0100
@@ -13,8 +13,6 @@
define(`bldINSTALLABLE', `true')
define(`LIBMILTER_EXTRAS', `errstring.c strl.c')
APPENDDEF(`confENVDEF', `-DNOT_SENDMAIL -Dsm_snprintf=snprintf')
-APPENDDEF(`confENVDEF',`-D_FFR_WORKERS_POOL')
-APPENDDEF(`confENVDEF',`-DSM_CONF_POLL')
define(`bldSOURCES', `main.c engine.c listener.c worker.c handler.c comm.c smfi
.c signal.c sm_gethost.c monitor.c LIBMILTER_EXTRAS ')
define(`confBEFORE', `LIBMILTER_EXTRAS')
bldPUSH_INSTALL_TARGET(`install-mfapi')
Then make it !!
You should see a huge performance coming...
Aucun commentaire:
Enregistrer un commentaire