anomy-list

why does Anomy remove the body of a plain text message ?

From: mark david mcCreary (40324@xyz.molar.is)
Date: Wed 17 Apr 2002 - 00:11:44 UTC

  • Next message: mark david mcCreary: "Simplify indents things 3 spaces"

    I'm interested in using Anomy to clean up any problems it finds
    (defang active HTML, rewrite long MIME headers, etc), and remove and
    save any attachments (into the quaranine directory) in incoming email.

    Instead it removes the body of the message, as it seems to think the
    body of the message is an attached file ?

    Using Anomy 1.49. My configuration file is

       feat_boundaries = 0
       feat_files = 1
       feat_fixmime = 1
       feat_force_name = 0
       feat_forwards = 1
       feat_html = 1
       feat_lengths = 1
       feat_log_after = 0
       feat_log_inline = 0
       feat_log_stderr = 1
       feat_log_trace = 1
       feat_log_xml = 0
       feat_paranoid = 1
       feat_scripts = 1
       feat_testing = 0
       feat_trust_pgp = 0
       feat_uuencoded = 1
       feat_verbose = 1
       feat_webbugs = 1

       header_url = 0
       header_rev = 0

       msg_file_drop =
       msg_file_save =

       file_list_rules = 1
       file_list_1 = ^[^\.]+$
       file_default_policy = save

       file_name_tpl = quarantine/att-$F-$T.$$

    When I send a plain text message without any attachments, this is what
    the sanitizer logs says

    Sanitizer (start="1019000683"):
       ParseHeader ():
         Using testmod <40366@xyz.molar.is> as reply-to address.
         Using testmod <40366@xyz.molar.is> as errors address.
         Got MIME info: boundary="", charset="us-ascii",
    disposition="inline", encoding="8bit", type="text/plain"

       Finished parsing message header.
       Parsing body as text/*
       CleanText
       SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
         Rule 1: unnamed.txt =~ ^[^\.]+$
         Match (rule="default"):
           Saved attachment as quarantine/att-unnamed.txt-3cbcb76b.BW (294
    bytes, digest
    bd1083e34aeb80858038138a7be4fe6ceae28882b95ed479198a98ae27047f05).
           Enforced policy: save

         Replaced file name with: DEFANGED-1.txt

       Writer (pos="1060"):
         Set MIME info to: boundary="", charset="iso-8859-1",
    disposition="inline", encoding="8bit", type="text/plain"

    Total modifications so far: 1

    The body of the plain text message is removed.

    Can anybody tell me what I am doing wrong ?

    Thanks

    mark



    hosted by molar.is