[Mimedefang] Slave 0 stderr: ignoring text in character set WINDOWS-1255
Yizhar Hurwitz
yizhar at mail.com
Fri Dec 8 08:18:51 EST 2006
HI.
I see many of the following errors in /var/log/maillog, on several
different MD machines:
Dec 7 19:53:11 mail mimedefang-multiplexor[1917]: Slave 0 stderr:
ignoring text in character set `WINDOWS-1255' at
/usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser/Filer.pm line 660
Dec 7 19:53:11 mail mimedefang-multiplexor[1917]: Slave 0 stderr:
ignoring text in character set `WINDOWS-1255' at
/usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser/Filer.pm line 534
All of the machines are in Israel, so WINDOWS-1255 (Hebrew) is expected
for regular messages,
and also for file names attached to them.
As far as I assume/guess/investigated/understand, it is related to
filenames in Hebrew, because I found the following:
/usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser/Filer.pm line 534:
my $recommended = unmime $head->recommended_filename;
/usr/lib/perl5/vendor_perl/5.8.8/MIME/Parser/Filer.pm line 660:
my $fname = unmime $head->recommended_filename;
I then looked at the file which implements the "unmime" function
/usr/lib/perl5/vendor_perl/5.8.8/MIME/WordDecoder.pm
and found this at line #100:
### Standard handlers.
my %Handler =
(
KEEP => sub {$_[0]},
IGNORE => sub {''},
WARN => sub { carp "ignoring text in character set `$_[1]'\n" },
DIE => sub { croak "can't handle text in character set `$_[1]'\n" },
);
Now, I understand that this is just an annoying message, but I would
like to avoid it,
to make my life easier when I "grep" the log for more important errors.
Or maybe it is important?
I also found this in Google:
http://lists.roaringpenguin.com/pipermail/mimedefang/2003-March/013629.html
On all machines that I see this message I have recent (probably latest)
versions of MD and MIME::Tools.
I did try to reproduce the error by sending an attachment with Hebrew
name using Thunderbird+MS Outlook Express,
but I didn't see the error.
I didn't try to reproduce with MS Outlook yet.
Can you help me troubleshoot that error?
Thanks
Yizhar Hurwitz
More information about the MIMEDefang
mailing list