Attachments with long Cyrillic/Russian names get name broken
mailscanner.info at sm.msk.ru
Mon Apr 13 17:59:23 IST 2009
Got a problem.
We are using Mailscanner as a filter of incoming mail.
Part of that mail is in Russian and what is worse, it happens
to have attachments named in Russian as well.
When passing the Mailscanner such names get re-encoded to sometimes
like that (`quoted-printable form'?) :
Итак, она звалась Татьяной. Ни красотой сестр =?koi8-r?B?2SDT18/Fyiwg7skg09fFLnJhcg==
(Yes, first is a KOI-8 and the second CP1251 encoding)
Any name gets broken that way if it is longer than 63 characters
This seems to be an effect of Mailscanner, as both MS Exchange/Outlook
and Sendmail were tested separately and both pass such attachments transparently.
The problem is, an end-user receives an attachment without extension and has no
clue how to open it.
On the other hand, it is common enough to name files by long names among the
I have not found anything addressing that effect in the archives (Are we first
Russian-speaking people who use Mailscanner?)
Could please anybody tell where to dig?
The packages used are:
Perl is v5.8.8 built for x86_64-linux-thread-multi
OS: openSUSE 10.2 (X86-64)
Thank you in advance,
Sergey mailto:mailscanner.info at sm.msk.ru
More information about the MailScanner