StripMIME question


#1

Hello

I have managed to get stripmime working but the link
that web interface of RT shows is not clickable…I
mean we need to manually copy and paste the URL on the
browser location bar to view the attachment.

Is this how it is…or am I missing something…

Thanks

Sumith

 >>> application/octet-stream component, message,

part 2:

http://192.168.1.66/stripmime/979124727-1866/return.gif

Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!


#2

Hello

I have managed to get stripmime working

I was hoping an answer would turn up to your original question: I
don’t know where to start with StripMIME.

Could you share the answer with me? Any tips would be
appreciated.

Frances


#3

Hello

I have managed to get stripmime working but the link
that web interface of RT shows is not clickable…I
mean we need to manually copy and paste the URL on the
browser location bar to view the attachment.

I was hoping an answer would turn up to your original question: I
don’t know where to start with StripMIME.

Any tips would be appreciated.

Frances


#4

I have managed to get stripmime working but the link
that web interface of RT shows is not clickable…I
mean we need to manually copy and paste the URL on the
browser location bar to view the attachment.

Is this how it is…or am I missing something…

I guess you didn’t read the message included with stripmime…

An excerpt:
"Jesse, any chance you can include this code in RT to include:

  • RT security for decoded & saved files
  • Actual clickable hyperlinks in the RT web interface

This code DOES NOT modify RT in any way – it just sits in front of it."


#5

I was hoping an answer would turn up to your original question: I
don’t know where to start with StripMIME.

When I set it up about six months ago, I just followed the instructions
included with stripmime… The “stripmime” file is just a text e-mail
message describing what the script does and how to use it, then it
presents the script at the end of the message. You need to save the
script portion to a file, configure the paths, set it as executable,
modify your alias entries to run stripmime instead of rt and rebuild your
aliases database.


#6

oh…how stupid of me…thanks bill

hey does the latest version of rt underdevelopment
now, handle MIME…StripMIME is cool but I am running
my rt on offline linux server…so anybody who wishes
to view the attachments has to be on the local
intranet.

Regards,
Sumith

bill@daze.net wrote:

I have managed to get stripmime working but the
link
that web interface of RT shows is not clickable…I
mean we need to manually copy and paste the URL on
the
browser location bar to view the attachment.

Is this how it is…or am I missing something…

I guess you didn’t read the message included with
stripmime…

An excerpt:
"Jesse, any chance you can include this code in RT
to include:

  • RT security for decoded & saved files
  • Actual clickable hyperlinks in the RT web
    interface

This code DOES NOT modify RT in any way – it just
sits in front of it."


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

Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!


#7

I was hoping an answer would turn up to your
original question: I
don’t know where to start with StripMIME.

Any tips would be appreciated.

Frances

I would be more than happy to share my experience and
would be obliged if Jesse would include this as a
README for STRIPMIME in contrib folder.

My turn to contribute something. Author:- Sumith Ail
sumithail4@yahoo.com

My Hardware:- Pentium II with 64MB RAM
My OS:- RH Linux 6.2

Copy the stripmime perl script in to rt bin
folder…i.e just the perl script you should remove
rest of the author messages , change the path settings

Mine is something like this…

$basepath = “http://192.168.1.67/stripmime/$now-$$”;
$basefilepath = “/home/httpd/html/stripmime/$now-$$”;
$outputprog = “/opt/rt/bin/rt-mailgate @ARGV”;

and give it execute permissions.

Install the additional perl modules required by
stripmime from www.perl.com in that order.

MIME-Base64-2.11.tar.gz
IO-stringy-1.216.tar.gz
MailTools-1.15.tar.gz
MIME-tools-5.410.tar.gz

make a folder for stripmime to save all the MIME
content which should be Apache Document Dir

mkdir /home/httpd/html/stripmime

Now change the permissions of this folder so that
sendmail has permissions to write into it.

chown mail /home/httpd/html/stripmime
chgrp mail /home/httpd/html/stripmime

modify rt aliases for sendmail…i.e remove rt-mailgate
and include the full path of stripmime

testsupport: |"/opt/rt/bin/stripmime
Support correspond"

Restart sendmail.

Thats about it. StripMIME will accept the incoming
messages…decode MIME content in it and handle the
message without MIME to rt-mailgate.

Please let me know if I’ve forgotten something in this
HOW TO or there are any problems during your stripmime
installation.

Enjoy!
Sumith Ail
sumithail4@yahoo.com

Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!


#8

Courier NewThank you very much for this mini-mini HOWTO.
StripMIME is now working perfectly - the
directions are very good.

Belated feedback on this - sorry.

Frances

I was hoping an answer would turn up to your

> original question: I

> don’t know where to start with StripMIME.

>

> Any tips would be appreciated.

>

> Frances

I would be more than happy to share my
experience and

would be obliged if Jesse would include this
as a

README for STRIPMIME in contrib folder.

My turn to contribute something. Author:-
Sumith Ail

{HYPERLINK "mailto:sumithail4@yahoo.com"}0000,0000,FF00sumithail4@yahoo.com

My Hardware:- Pentium II with 64MB RAM

My OS:- RH Linux 6.2

Copy the stripmime perl script in to rt bin

folder…i.e just the perl script you should
remove

rest of the author messages , change the path
settings

Mine is something like this…

$basepath =
"{HYPERLINK “http://192.168.1.67/stripmime/$now-$$”}0000,0000,FF00http://192.168.1.67/stripmime/$now-$$";

$basefilepath =
"/home/httpd/html/stripmime/$now-$$";

$outputprog = “/opt/rt/bin/rt-mailgate @ARGV”;

and give it execute permissions.

Install the additional perl modules required by

stripmime from www.perl.com in that order.

MIME-Base64-2.11.tar.gz

IO-stringy-1.216.tar.gz

MailTools-1.15.tar.gz

MIME-tools-5.410.tar.gz

make a folder for stripmime to save all the
MIME

content which should be Apache Document Dir

mkdir /home/httpd/html/stripmime

Now change the permissions of this folder so
that

sendmail has permissions to write into it.

chown mail /home/httpd/html/stripmime

chgrp mail /home/httpd/html/stripmime

modify rt aliases for sendmail…i.e remove rt-
mailgate

and include the full path of stripmime

testsupport: |"/opt/rt/bin/stripmime

Support correspond"

Restart sendmail.

Thats about it. StripMIME will accept the
incoming

messages…decode MIME content in it and
handle the

message without MIME to rt-mailgate.

Please let me know if I’ve forgotten something
in this

HOW TO or there are any problems during your
stripmime

installation.

Enjoy!

Times New RomanSumith Ail0100,0100,0100


#9

Thank you very much for this mini-mini HOWTO.
StripMIME is now working perfectly - the
directions are very good.

I’ll throw in my thanks as well, but I will point out one sticky wicket:
If you’re running qmail, you need to change the ownership of the
/blahblah/html/stripmime directory to the ‘alias’ user. Now all I need
is a tip for how to get stripmime to fix the subdirectories it creates
so that the ‘nobody’ user can deliver up the decoded files. I get “you
don’t have permission” in my browser when I copy/paste the link. Looking
in /home/httpd/html/stripmime I see:

#ls -la
drwx------ 2 alias nofiles 4096 Feb 13 12:44
982097049-32437/

In other words… the ‘mkdir “$basefilepath”,0755’ bit isn’t setting
0755 permissions…

Karel P Kerezman - IS Admin, Entercom Portland LLC - http://zero.kgon.com
One grape short of a bunch.
From the Canonical Fulldeckisms List: http://www.herbison.com/canon