anomy-list

Advosys TNEF script

From: Scott Renda (83924@xyz.molar.is)
Date: Fri 13 Jun 2003 - 20:52:18 GMT

  • Next message: Derrick Webber: "(no subject)"

    Using the script for the winmail.dat files; except I don't think it working.
    When a using receives a mail from Outlook sent with a RTF format and an
    additional document, say a word doc, the result will be one winmail.dat
    containing the RTF info AND the word attachment. I thought the Advosys
    script extracted the valid attachment if it existed, then stripped the
    winmail.dat file or whatever your anomy.conf says to do with it. I don't
    ever get the valid attachment. When I try to run the tnef script manually,
    I get a compilation error. Was wondering if it shouldn't work manually, or
    if I have made a mistake somewhere.

    Error below:

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++
    # /usr/local/anomy/tnef2multipart.pl
    /var/spool/filter/att-winmail.dat-3ed7fb78.AB
    Can't locate Anomy/Sanitizer.pm in @INC (@INC contains:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /bin) at
    /usr/local/anomy/bin/sanitizer.pl line 45.
    BEGIN failed--compilation aborted at /usr/local/anomy/bin/sanitizer.pl line
    45.
    Anomy-FileScan-Description: Converted to MIME from the original TNEF file
    Anomy-FileScan-NewName: mime-7809
    Anomy-FileScan-NewFile: /var/spool/filter/mime-7809
    Anomy-FileScan-NewType: multipart/mixed
    Anomy-FileScan-NewEnc: binary
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++++++++++++++++++++++++++++++++++++++++++++

    Looks like a problem with the include statement, but I don't see why.

    Also, can someone shed some light on the script:

    file_list_2_policy = accept:drop:drop:drop
    file_list_2_scanner = 0:::/usr/local/bin/tnef2multipart.pl %FILENAME

    Why use : instead of say 4, as referenced in the anomy readme? Are the exit
    codes anomy returns dependent on attachment type or are they universal? I
    am just confused about using colons there, shouldn't there be other exit
    codes??

    TIA

    ************************************
    Scott Renda
    High Technology Solutions, Inc.
    Phone: 858-495-0508
    Fax: 858-571-5423
    83924@xyz.molar.is



    hosted by molar.is