1 message in net.sourceforge.lists.courier-users[courier-users] Courier::Filter - new...
FromSent OnAttachments
Vincent SchonauNov 25, 2006 1:56 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier::Filter - new encoding crash?Actions...
From:Vincent Schonau (vin@xs4all.nl)
Date:Nov 25, 2006 1:56:21 am
List:net.sourceforge.lists.courier-users

Courier::Filter 0.17 fixes some bugs with badly encoded characters causing it to crash. However, there's still one left.

Starting a few days ago, Courier::Filter on my system is crashing, with the following sequence of events:

Nov 25 00:37:46 werkt courieresmtpd: MAIL FROM: <cust@security.53.com> Nov 25 00:37:46 werkt courierfilter: Wide character in subroutine entry at /usr/share/courier-filter-perl/perl5/Courier/Message.pm line 625. Nov 25 00:37:46 werkt submit: No such file or directory Nov 25 00:37:46 werkt submit: Connection reset by peer Nov 25 00:37:46 werkt last message repeated 2 times Nov 25 00:37:46 werkt courieresmtpd: error,relay=::ffff:217.167.242.138,from=<>: 432 Mail filters temporarily unavailable. Nov 25 00:37:46 werkt submit: Connection reset by peer Nov 25 00:37:46 werkt last message repeated 2 times

The mailserver this runs on is busy enough that it's impossible to tell which of these messages are from the same session, but I think the important ones are

Nov 25 00:37:46 werkt courierfilter: Wide character in subroutine entry at /usr/share/courier-filter-perl/perl5/Courier/Message.pm line 625. Nov 25 00:37:46 werkt submit: No such file or directory

and the subsequent

Nov 25 00:37:46 werkt courieresmtpd: error,relay=::ffff:217.167.242.138,from=<>: 432 Mail filters temporarily unavailable.

... because when this happens the running pureperlfilter process goes dead.

The offending line 625 in Courier::Message seems to be enclosed in a try/except block that it seems to me should catch this problem, but I'm not familiar enough with Perl or character-encodings to determine if it is. I'm also curious if (or why) I'm the only user of Courier::Filter seeing this. Perhaps it's a problem with my installation/perl version?

I'm using

courier-0.53.3-1.3 perl-5.8.5-24.FC3 Courier::Filter 0.17

(on Fedora Core 3).

Thanks!