Email message body is encode (+ADwAIQ-)

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

heutink
Posts: 11
Joined: Tue Feb 01, 2005 4:26 pm

Email message body is encode (+ADwAIQ-)

Postby heutink » Wed Mar 30, 2005 10:31 am

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 30, 2005 11:19 am

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 30, 2005 11:28 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests