[rt-users] Images in emails

2011-11-03 Thread Kevin Fox
Hello all,

I have finished setting up a new Ubuntu server running RT4.0.2, using
modperl2/apache2 .  The issue that I am having is that when users send an
email with text and images in it, the images are being stripped out and
shown as attachments in RT and the AdminCC/watcher emails.

Example

User sends:
Text1
image1
text2
image2

RT displays/Emails AdminsCC
Text1

text2

Attachments
image1/image2

I have set the templates content type to html, and set to prefer richtext.
Is there any way to make RT, and most importantly the emails that RT sends
to the AdminCC/watchers format the same way that the email comes in?

Thanks for any help!

Kev

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011

Re: [rt-users] Images in emails

2011-11-04 Thread Ruslan Zakirov
Hi,

No option out of the box and solving it wouldn't very simple.

On Thu, Nov 3, 2011 at 11:44 PM, Kevin Fox  wrote:
> Hello all,
>
> I have finished setting up a new Ubuntu server running RT4.0.2, using
> modperl2/apache2 .  The issue that I am having is that when users send an
> email with text and images in it, the images are being stripped out and
> shown as attachments in RT and the AdminCC/watcher emails.
>
> Example
>
> User sends:
> Text1
> image1
> text2
> image2
>
> RT displays/Emails AdminsCC
> Text1
>
> text2
>
> Attachments
> image1/image2
>
> I have set the templates content type to html, and set to prefer richtext.
> Is there any way to make RT, and most importantly the emails that RT sends
> to the AdminCC/watchers format the same way that the email comes in?
>
> Thanks for any help!
>
> Kev
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain — November 28 & 29, 2011
>



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28 & 29, 2011

Re: [rt-users] Images in emails

2011-11-04 Thread Kevin Fox
Ah, ok then.

Thanks for letting me know Ruslan.  I assume that is because the original
email is broken up into attachments and text, and the format of the
original email is not kept?

Thanks again,

Kev

On Fri, Nov 4, 2011 at 8:48 AM, Ruslan Zakirov wrote:

> Hi,
>
> No option out of the box and solving it wouldn't very simple.
>
> On Thu, Nov 3, 2011 at 11:44 PM, Kevin Fox  wrote:
> > Hello all,
> >
> > I have finished setting up a new Ubuntu server running RT4.0.2, using
> > modperl2/apache2 .  The issue that I am having is that when users send an
> > email with text and images in it, the images are being stripped out and
> > shown as attachments in RT and the AdminCC/watcher emails.
> >
> > Example
> >
> > User sends:
> > Text1
> > image1
> > text2
> > image2
> >
> > RT displays/Emails AdminsCC
> > Text1
> >
> > text2
> >
> > Attachments
> > image1/image2
> >
> > I have set the templates content type to html, and set to prefer
> richtext.
> > Is there any way to make RT, and most importantly the emails that RT
> sends
> > to the AdminCC/watchers format the same way that the email comes in?
> >
> > Thanks for any help!
> >
> > Kev
> >
> > 
> > RT Training Sessions (http://bestpractical.com/services/training.html)
> > *  Barcelona, Spain — November 28 & 29, 2011
> >
>
>
>
> --
> Best regards, Ruslan.
>

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011

Re: [rt-users] Images in emails

2011-11-04 Thread Ruslan Zakirov
On Fri, Nov 4, 2011 at 6:20 PM, Kevin Fox  wrote:
> Ah, ok then.
>
> Thanks for letting me know Ruslan.  I assume that is because the original
> email is broken up into attachments and text, and the format of the original
> email is not kept?

No, it's not broken up by RT, but by MUA that sends it. Each image is
an attachment. Email
is HTML where img tags have special URLs to point to attached images,
so receiving agent
can extract files for images from email's attachments.

Even when RT shows HTML it uses scrubber to get rid of dangerous
parts. IMG tags are also
skipped. Not skiping tags is easy part, but rewriting src attributes
to point to attached files is
a little bit harder. Images are processed with libraries that have
bugs that can be used to inject
executable code into images, so it's better to give people link "show
images in this email".

This is doable, but needs development time.


>
> Thanks again,
>
> Kev
>
> On Fri, Nov 4, 2011 at 8:48 AM, Ruslan Zakirov 
> wrote:
>>
>> Hi,
>>
>> No option out of the box and solving it wouldn't very simple.
>>
>> On Thu, Nov 3, 2011 at 11:44 PM, Kevin Fox  wrote:
>> > Hello all,
>> >
>> > I have finished setting up a new Ubuntu server running RT4.0.2, using
>> > modperl2/apache2 .  The issue that I am having is that when users send
>> > an
>> > email with text and images in it, the images are being stripped out and
>> > shown as attachments in RT and the AdminCC/watcher emails.
>> >
>> > Example
>> >
>> > User sends:
>> > Text1
>> > image1
>> > text2
>> > image2
>> >
>> > RT displays/Emails AdminsCC
>> > Text1
>> >
>> > text2
>> >
>> > Attachments
>> > image1/image2
>> >
>> > I have set the templates content type to html, and set to prefer
>> > richtext.
>> > Is there any way to make RT, and most importantly the emails that RT
>> > sends
>> > to the AdminCC/watchers format the same way that the email comes in?
>> >
>> > Thanks for any help!
>> >
>> > Kev
>> >
>> > 
>> > RT Training Sessions (http://bestpractical.com/services/training.html)
>> > *  Barcelona, Spain — November 28 & 29, 2011
>> >
>>
>>
>>
>> --
>> Best regards, Ruslan.
>
>



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28 & 29, 2011

Re: [rt-users] Images in emails

2011-11-15 Thread Christopher Lasater
Is there a simple way to filter out known images?  Everyone in my company has 
the same signature with 5 or 6 images in it.  It would be nice if I can tell RT 
to not attach images with those specific names.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain  November 28 & 29, 2011


Re: [rt-users] Images in emails

2011-11-15 Thread Kevin Falcone
On Tue, Nov 15, 2011 at 11:58:09AM -0500, Christopher Lasater wrote:
> Is there a simple way to filter out known images?  Everyone in my company has 
> the same signature with 5 or 6 images in it.  It would be nice if I can tell 
> RT to not attach images with those specific names.

You really want to put something before RT, like mimedefang or some
similar piece of software.


pgpItSfmo28JZ.pgp
Description: PGP signature

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011