An rt-mailgate(1) streamer


#1

Has anyone looked into an rt-mailgate(1) streamer that strips off much
of
the header section of the email.

I am thinking about writing a front-end to rt-mailgate(1) that just
strips off
the MIME stuff and streamlines the Header to From, Date, Subject, as I
don’t care how many hops the email took to get to RT and all other
header stuff.

I also looked at stripmime(1) contrib but again I don’t care to save the

MIME to an HTML file, if one is stripping the MIME, just strip it an
feed
it to rt-mailgate(1).

Medi Montaseri, medi@prepass.com, 408-450-7114
Prepass Inc, IT/Operations, Software Eng.


#2

iActually, a combination of techniques will probably do what you want.
stripmime will handle stripping out mimeparts.

editing the webrt display regexps (there are pointers in the archives somewhere)
will make the headers you don’t want to see disappear while preserving
them on disk in case anyone actually needs them later.

    -jOn Wed, Mar 07, 2001 at 07:17:37AM -0800, Medi Montaseri wrote:

Has anyone looked into an rt-mailgate(1) streamer that strips off much
of
the header section of the email.

I am thinking about writing a front-end to rt-mailgate(1) that just
strips off
the MIME stuff and streamlines the Header to From, Date, Subject, as I
don’t care how many hops the email took to get to RT and all other
header stuff.

I also looked at stripmime(1) contrib but again I don’t care to save the

MIME to an HTML file, if one is stripping the MIME, just strip it an
feed
it to rt-mailgate(1).

Medi Montaseri, medi@prepass.com, 408-450-7114
Prepass Inc, IT/Operations, Software Eng.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

A REAL sysadmin challenge is “resurrect five dead mailserver while so ripped
to the gills on mdma that you can’t focus on any given line of text for more
than 10 seconds continuously.”
-Nathan Mehl


#3

You could just filter it through procmail first.
Someone has already written filters to strip off all mime parts of a
message and give you nice clean text out the other end.
Check out this page for more info on all of the mime modules this guy has
written http://www.procmail.org/jari/

I use some of the filters to remove the ms-mail and outlook express junk
but you could just as easily remove all the mime content and then send it
to RT. This way you don’t have to write anything and its portable for
anyone that can use procmail…On Wed, 7 Mar 2001, Medi Montaseri wrote:

Has anyone looked into an rt-mailgate(1) streamer that strips off much
of
the header section of the email.

I am thinking about writing a front-end to rt-mailgate(1) that just
strips off
the MIME stuff and streamlines the Header to From, Date, Subject, as I
don’t care how many hops the email took to get to RT and all other
header stuff.

I also looked at stripmime(1) contrib but again I don’t care to save the

MIME to an HTML file, if one is stripping the MIME, just strip it an
feed
it to rt-mailgate(1).

Medi Montaseri, medi@prepass.com, 408-450-7114
Prepass Inc, IT/Operations, Software Eng.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


#4

You could just filter it through procmail first.
Someone has already written filters to strip off all mime parts of a
message and give you nice clean text out the other end.
Check out this page for more info on all of the mime modules this guy has
written http://www.procmail.org/jari/

I use some of the filters to remove the ms-mail and outlook express junk
but you could just as easily remove all the mime content and then send it
to RT. This way you don’t have to write anything and its portable for
anyone that can use procmail…

I'd very strongly suggest archiving the original message first,
in case you need to track down an abusive user or something.

J.D. Falk "The Internet isn’t just a publishing medium or a
Product Manager medium for commerce, it’s a social medium."
Mail Abuse Prevention System LLC – Howard Rheingold