Attachment name corrupted
Posted: Wed Oct 03, 2007 5:18 pm
I have a similar problem to this post, but I don't think it's the same issue since in my case the encoding isn't being changed...
http://www.scalix.com/forums/viewtopic.php?t=5910&highlight=utf8
Emails coming from a specific vendor have the attachment name corrupted. The name will look something like this
I am able to reproduce the problem by creating a file 'emailtest' with the below code and running this command 'sendmail -bs< emailtest'
If I send the above to our Scalix server, the attachment name is corrupted. If it is sent to any other server (hotmail, gmail, aol, etc.) the attachment name is fine.
Since I am archiving I looked at the message after it went through the Scalix server and it looks like this:
I noticed quotes are added to the filename, as well as an equals sign omitted...
Can anyone else reproduce this problem / offer suggestions?
I am using 11.1
Thanks.
http://www.scalix.com/forums/viewtopic.php?t=5910&highlight=utf8
Emails coming from a specific vendor have the attachment name corrupted. The name will look something like this
Code: Select all
_UTF-8_B_MTAwMDAwMDE5MC5jc3Y=_=I am able to reproduce the problem by creating a file 'emailtest' with the below code and running this command 'sendmail -bs< emailtest'
Code: Select all
EHLO localhost
MAIL FROM: <xx@yyy.zzz>
RCPT TO: <xx@yyy.zzz>
DATA
From: xx@yyy.zzz
To: <xx@yyy.zzz>
Subject: test1
Mime-Version: 1.0
Content-type: multipart/mixed;
boundary="ps-boundary-1"
--ps-boundary-1
Content-type: text/plain;
charset="US-ASCII"
Content-Disposition: inline
--ps-boundary-1
Content-type: application/octet-stream;
name==?UTF-8?B?MTAwMDAwMDE5MC5jc3Y=?=
Content-Transfer-Encoding: base64
Content-Disposition: inline
MSwyLDMsNA0KNSw2LDcsOA0K
--ps-boundary-1--
.
QUIT
If I send the above to our Scalix server, the attachment name is corrupted. If it is sent to any other server (hotmail, gmail, aol, etc.) the attachment name is fine.
Since I am archiving I looked at the message after it went through the Scalix server and it looks like this:
Code: Select all
EHLO xx.yyy.zzz
MAIL FROM: <xx@yyy.zzz>
RCPT TO: <xx@yyy.zzz>
DATA
Return-Path: <xx@yyy.zzz>
Received: from yyy.zzz (localhost.localdomain [127.0.0.1])
by yyy.zzzz (8.13.8/8.13.8) with ESMTP id l93IqFZn017096
for <xx@yyy.zzz>; Wed, 3 Oct 2007 11:52:16 -0700
Received: from yyy.zzz (root@localhost)
by yyy.zzz (8.13.8/8.13.8/Submit) with ESMTP id l93IqFVN017095
for <xx@yyy.zzz>; Wed, 3 Oct 2007 11:52:15 -0700
Date: Wed, 3 Oct 2007 10:26:12 -0700
From: xx@yyy.zzz
To: xx@yyy.zzz
Message-ID: <200710031852.l93IqFVN017095@yyy.zzz>
Subject: test1
Mime-Version: 1.0
Content-type: multipart/mixed;
boundary="ps-boundary-1"
--ps-boundary-1
Content-type: text/plain;
charset="US-ASCII"
Content-Disposition: inline
--ps-boundary-1
Content-type: application/octet-stream;
name="?UTF-8?B?MTAwMDAwMDE5MC5jc3Y=?="
Content-Transfer-Encoding: base64
Content-Disposition: inline
MSwyLDMsNA0KNSw2LDcsOA0K
--ps-boundary-1--
.
QUIT
I noticed quotes are added to the filename, as well as an equals sign omitted...
Code: Select all
original:
name==?UTF-8?B?MTAwMDAwMDE5MC5jc3Y=?=
after passing through Scalix:
name="?UTF-8?B?MTAwMDAwMDE5MC5jc3Y=?="
Can anyone else reproduce this problem / offer suggestions?
I am using 11.1
Thanks.