[______TOC_______] [NEXT CHAPTER]

    		Filtering

    1.1	Filtering by fml
    1.2	customize
    1.3	examples fml cannot rejects

    2	examples
    2.2	reject Subject: with FREE, SEX, ADULT, XXX.
    2.3	reject Subject: with FREE, SEX, ADULT, XXX (case insensitive).
    2.4	reject if received: contains spam.co.jp
    2.5	reject if the mail body contains http-equiv=3DContent-Type
    2.6	reject if the domain of From: conflicts Message-ID:
    2.7	aggregate the previous 3 rules
    2.8	rule combined with sendmail PICKY_HELO_CHECK
    2.9	size limit for the mail header
    2.10	To: or Cc: should have $MAIL_LIST !
    2.11	hook without using EnvelopeFilter
    2.12	Duplicated Message-ID for mails from Notes
    2.13	Reject Mails From Specific Domains
    2.14	ISP enforce to append a signature to your mail

    3	Q & A
    3.1	fml mis-judge "one line body" mail ?

    4	Internals
    4.1	Filtering

    4.3	Reject if a field matches reject patterns

    5	ContentHandler
    5.1	Filtering Rule Examples
    5.2	description by the original author
    6.2	MH slocal Interface

    7	hacks
    7.1	Cut off except the first multipart block
    7.2	Against replied mails without In-Reply-To: nor References:
    Appendix A	filtering of Postfix
    Appendix A.1	body_checks directive
    Appendix A.2	header_checks directive
    Appendix A.3	Content Filter
    Appendix B.1	PerlMX

Filtering process consists of several positions. Firstly the user level filtering (=> 6.0) Secondary mail server rejects it in receiving mails (=> 4.1). 1.1 Filtering by fml

    	$USE_DISTRIBUTE_FILTER = 1;

       MENU -> SECURITY -> USE_DISTRIBUTE_FILTER -> ON

    1.2	customize

    	&DEFINE_FIELD_PAT_TO_REJECT('subject', 'FREE|SEX|ADULT|XXX');
    	&DEFINE_FIELD_PAT_TO_REJECT('subject', '/FREE|SEX|ADULT|XXX/');
    	&DEFINE_FIELD_PAT_TO_REJECT('from', 'ADULT');

    1.3	examples fml cannot rejects

    	the paragraph looks a command

    	the last paragraph looks a signature

    	some paragraph contains Japanese

    If the judgement of some paragraph is ambiguous, it may be mis-judged.

[______TOC_______] [NEXT CHAPTER]