[PREVIOUS CHAPTER] [______TOC_______]
Appendix A Filtering Function

Appendix A.1	FML Filtering


Fml has filtering mechanism based on mail header and body after fml
2.2 (2.2 officially but fml 2.1 current unofficially). You can
deny/reject mail with some patterns. If you can find
$USE_DISTRIBUTE_FILTER in fml source, the version has filtering
function.


In default fml filtering is off. Firstly you should turn on it. 
Consider elena ML hereafter as an example.


To enable filtering function, you can do one of the following methods
which are the same. Please use one you are familliar with.

Appendix A.2	use "makefml config"

   "makefml config elena" -> security -> USE_DISTRIBUTE_FILTER -> "y" (yes)

Appendix A.3	write cf 


Write

   USE_DISTRIBUTE_FILTER 1


and run to remake config.ph

	% make config.ph


Appendix A.4	write config.ph

   $USE_DISTRIBUTE_FILTER = 1;

Appendix A.5	make secure


To enable all typical security options, run

   % cd /var/spool/ml/elena
   % make secure