[rt-users] Winmail.dat attachments
Reini Urban
rurban at inode.at
Thu Oct 24 07:22:35 EDT 2002
We are still using rt 1 (for performance reasons,
we have > 300000 tickets) with stripmime
and we strip winmail.dat and smime.p7s attachments from the body.
this is our regex to handle the attachments in the body:
lib/ui/web/support.pm:
print "<pre>";
$body = convert_html($body);
# fix spaces in stripmime urls
$body =~ s{\n(http://rt\.\S+/stripmime/[^ ]*) ([^ ]*)\n}
{\n$1%20$2\n}g;
# ignore smime.p7s and winmail.dat
$body =~ s{(http://rt\.\S+/stripmime/.*/winmail.dat)}
{<font color="grey">$1</font>}g;
$body =~ s{(http://rt\.\S+/stripmime/.*/smime.p7s)}
{<font color="grey">$1</font>}g;
$body =~ s{(http|https|ftp)(://\S+)}
{<a target="_new" href="$1$2">$1$2</a>}gs;
$body =~ s{(mailto:\S+)} {<a href="$1">$1</a>}gs;
print $body;
print "</pre>";
Paul Goracke schrieb:
> Andy Coates wrote:
>
>> Does anyone know why certain attachments (only seeing this from Outlook
>> users) show up as "winmail.dat" through RT?
>
>
> It's an Outlook attachment containing formatting info for the
> message--you can safely ignore it.
>
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q241538&
>
> pg
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
>
--
Reini Urban - Programmer - http://inode.at
More information about the rt-users
mailing list