Page 1 of 1

Email message body is encode (+ADwAIQ-)

Posted: Wed Mar 30, 2005 10:31 am
by heutink
Lately we've been getting emails with a bunch of encoded text. These emails are from different unrelated clients and it seems that sometimes the messages they sent are fine.

This is an example of the body of one of the messages:

Code: Select all

+ADwAIQ-DOCTYPE HTML PUBLIC +ACI--//W3C//DTD HTML 4.0 Transitional//EN+ACIAPg- +ADw-HTML+AD4APA-HEAD+AD4- +ADw-META HTTP-EQUIV+AD0AIg-Content-Type+ACI- CONTENT+AD0AIg-text/html+ADs- charset+AD0-utf-7+ACIAPg- +ADw-TITLE+AD4-Project Adjustments+ADw-/TITLE+AD4- +ADw-META content+AD0AIg-MSHTML 6.00.2800.1479+ACI- name+AD0-GENERATOR+AD4APA-/HEAD+AD4- +ADw-BODY+AD4-
<snip>

Code: Select all

+ADw-/P+AD4APA-/BODY+AD4APA-/HTML+AD4-


Has anyone else seen this problem? If so how did you solve this problem?

I suspect the sender's mailserver is sending a malformed message.

Thanks,
Peter Heutink

Posted: Wed Mar 30, 2005 11:19 am
by ScalixSupport
The data is being sent as UTF7.

I need to run some tests but /var/opt/scalix/sys/mimein.str contains the following lines:

Code: Select all

# Convert UTF7 to UTF8 on input
1167.UTF7   1736.UTF8   R
2133.UTF7   2133.UTF8   R


which should handle this without a problem.

Cheers

Dave

Posted: Wed Mar 30, 2005 11:28 am
by ScalixSupport
There seems to be a problem in our character set recognition which means that we are not recognising UTF7 automatically.

You need to add the following to /var/opt/scalix/sys/mime.cs:

Code: Select all

UTF7 utf-7


and restart the unix gateway

Code: Select all

omoff -d 0 unix
omon unix


Cheers

Dave