Foreign filename checking

Greg Pearson deejay.grp at gmail.com
Wed Oct 6 12:07:22 IST 2010


Hello all,

some of my users are used to send attachments with foreign filenames 
(Greek, Russian etc.). It seems that MailScanner cannot properly handle 
those filenames when they are converted to UTF8 by the mail client. So a 
filename with foreign characters would become something like:

"utf-8''%%CE%%95%%CF%%83%%CF%%89%%CF%%84%%CE%%B5%%CF%%81%%CE%%B9%%CE%%BA%%CF%%8C%%CF%%82%%20%%CE%%BA%%CE%%B1%%CE%%BD%%CE%%BF%%CE%%BD%%CE%%B9%%CF%%83%%CE%%BC%%CF%%8C%%CF%%82%%20lomi%%2001%%202008.doc"

And hence Mailscanner will complain that this filename is too long, 
which is of course not the case. It is mentioned in the Changelog that 
the latest version (4.81.4) has dealt with this:

"16 Improved handling of Unicode and foreign character sets used in 
attachment filenames."

But the problem remains.

I wouldn't want to disable the filename length rule completely, so I 
would appreciate some help on this.

Thanks



More information about the MailScanner mailing list