NONE TITLE 7.html
Keywords: NONE TITLE,fml, flexible mailing list manager, not listserv style but fmlserv emulates listserv or majordomo style

[PREVIOUS CHAPTER] [NEXT CHAPTER]

7 hacks

    7.1	Cut off except the first multipart block

    	$HTML_MAIL_DEFAULT_HANDLER = 'strip'; (default "")

    Cut off except the first multipart block if
    1.	Content-Type: mime/multipart

    	$HTML_MAIL_DEFAULT_HANDLER = 'strip'; (default strip)

    where the value is 'strip' or 'reject'. If "strip", fml cuts off the
    second and after multipart blocks and distributes the mail to ML. If
    "reject", fml does not distribute it but tells "denies your html mail"
    to the sender.

    7.2	Against replied mails without In-Reply-To: nor References:

    	$AGAINST_MAIL_WITHOUT_REFERENCE = 1; (default 0)

    0. you require to set up 'fml puts the subject tag'.
    1. add ML specific Message-ID:
    2. analyze the subject tag e.g. Subject: Re: [elena 00100]
    In this mode, fml emulates Message-ID: always based on rule 2.
    Hence fml can ensure the consistency of ML threads against
    some MUA's e.g. Eudora...

    Appendix A	filtering of Postfix

    Appendix A.1	body_checks directive

    XXX: This feature is also available in Postfix snapshot 20000528.

    Appendix A.2	header_checks directive

    [/etc/postfix/main.cf]
    header_checks = regexp:/etc/postfix/header_checks

    [/etc/postfix/header_checks]
    /^Subject.*ILOVEYOU/  REJECT

    Appendix A.3	Content Filter

    Subject: Postfix Full Content Filtering Support
    To: postfix-users@postfix.org (Postfix users)
    Message-Id: <20000530222608.0EEB345659@spike.porcupine.org>
    Date: Tue, 30 May 2000 18:26:08 -0400 (EDT)
    From: wietse@porcupine.org (Wietse Venema)

          ..................................
          .            Postfix             .
       ------smtpd \                /local-----
          .         -cleanup->queue-       .
       -----pickup /    ^       |   \smtp------
          .             |       v          .
          .           smtpd    smtp        .
          .           10026     |          .
          ......................|...........
                        ^       |
                        |       v
                    ....|............
                    .   |     10025 .
                    .   inspector   .
                    .               .
                    .................

[PREVIOUS CHAPTER] [NEXT CHAPTER]