Baruch, I just recompiled bogofilter with your patches and found that closelog() has no arguments on my linux system (Mandrake 9.0). What are you running? David