Ethereal-users: [Ethereal-users] smtp and mime

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Paul Thompson" <paul.thompson@xxxxxxxxxxxxx>
Date: Tue, 02 Apr 2002 13:21:32 -0600

Can anyone recommend a way, perhaps with filters,  to obtain mime attachment
information from smtp packets?  I am particularly interested in getting the
filenames from the 'Content-Disposition: attachment; filename="tempfile.xls" '
section of a mime email.
 
Just getting all the the smtp.req packets with tethereal and parsing through them 
using an external script is difficult since due to the hard to predict line breaks.
 
Thanks for any suggestions
Paul
 


This message has been 'sanitized'. This means that potentially dangerous content has been rewritten or removed. The following log describes which actions were taken.


Sanitizer (start="1017775297"):
  Part (pos="1047"):
    SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
      Match (rule="2"):
        Enforced policy: accept

  Part (pos="1637"):
    SanitizeFile (filename="unnamed.html", mimetype="text/html"):
      Match (rule="default"):
        Enforced policy: accept

    Rewrote HTML tag: >>_META http-equiv=Content-Type content="text/html; charset=iso-8859-1"_<<
                  as: >>_MANGLED_ON_PURPOSE_META http-equiv=Content-Type content="text/html; charset=iso-8859-1"_<<
    Rewrote HTML tag: >>_META content="MSHTML 5.50.4912.300" name=GENERATOR_<<
                  as: >>_MANGLED_ON_PURPOSE_META content="MSHTML 5.50.4912.300" name=GENERATOR_<<
    Rewrote HTML tag: >>_BODY style="MARGIN-TOP: 2px; FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px"_<<
                  as: >>_BODY MANGLED_ON_PURPOSE_style="MARGIN-TOP: 2px; FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px"_<<
    Total modifications so far: 3


Anomy 0.0.0 : Sanitizer.pm $Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $