anomy-bugs

Filename matches to wrong filename

From: Patrick J. Walsh (29412@xyz.molar.is)
Date: Sun 01 Feb 2004 - 03:50:28 GMT

  • Next message: Patrick J. Walsh: "Anomy Mailtools"

        Sorry about the poor subject. Not sure how to summarize this. I
    installed anomy tonight and was testing using Pine. Every attachment I sent
    was being caught by rule 1. Here's the deal. The raw mail file mime looks
    like this:

    Content-Type: application/octet-stream; name="netbiff-0.9.16.tar.gz"
    Content-Transfer-Encoding: base64
    Content-ID: <29499@xyz.molar.is>
    Content-Description:
    Content-Disposition: attachment; filename="netbiff-0.9.16.tar.gz"

        As you can see, I attached a .tar.gz file for testing. An automatic
    content id was generated. Now, group 1 looks for files that end in, among
    other things, ".com". This mime part is being matched for that. Anomy
    output:

       SanitizeFile
    (filename="29499@xyz.molar.is,
    netbiff-0.9.16.tar.gz", mimetype="application/octet-stream"):
          Match (names="29499@xyz.molar.is",
    rule="1"):
            Enforced policy: save

        This can't be desired behavior. I can't find any options that would
    allow me to change the behavior, so I assume it's a bug. Please let me know
    if it's otherwise.

    ..Patrick



    hosted by molar.is