Re: [Qmail-scanner-general] reformime malloc: Invalid or incomplete multibyte or wide character
AV/content filter for Qmail
Brought to you by:
jhaar
From: Oliver W. <ma...@ol...> - 2011-11-06 11:54:26
|
Hi Ruben the problem was with the locale settings - reformime does not support anything else than the "C" Locale. I unfortunately cant find the original help but check your qmail-scanner-queue.pl around line 83 if you have these settings my $orig_locale=$ENV{'LC_ALL'}; $ENV{'LC_ALL'}= $ENV{'LANG'} = $ENV{'LANGUAGE'} = 'C'; POSIX::setlocale(&POSIX::LC_ALL,'C'); Oliver On 03.11.2011 22:00, Rubén Cardenal wrote: > Hi Oliver, > > > > I've had this problem on quite a lot of servers in the last few weeks. You need to downgrade your reformime binary to, at least, version 2.4.3. There seems to be some kind of problems with certain kind of encodings in 2.5 series. Maybe it's just a LANG/locales issue, I don't know, and my tests in that direction have been unsuccessful. > > > > I just subscribed to this list to answer you and point a solution just in case anyone else falls into the same problem. All my servers are Debian. > > > > Regards, > > > > Ruben. > > > > --- Original message-- > > Hi Folks, > > after upgrading my servers I get a lot of these lines in my logs: > > d_m: output spotted from /usr/bin/reformime > -x/var/spool/qscan/tmp/xxxx/ (malloc: Invalid or incomplete multibyte or > wide character > > It seems to happen only one some documents and not all and I did not > manage to fiddle out the criteria when it happens... > > Any ideas? > > Oliver > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Qmail-scanner-general mailing list > Qma...@li... > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general -- Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721 |