34 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Courier::Filter 0.16
FromSent OnAttachments
Julian MehnleJan 18, 2005 12:03 pm 
ScottJan 18, 2005 6:57 pm 
Frederik DannemareJan 18, 2005 7:54 pm 
Julian MehnleJan 19, 2005 4:00 am 
Alexander LazicJan 19, 2005 5:01 am 
Julian MehnleJan 19, 2005 7:50 am 
Alexander LazicJan 19, 2005 2:07 pm 
Jay LeeJan 19, 2005 2:23 pm 
Gordon MessmerJan 19, 2005 3:18 pm 
Sam VarshavchikJan 19, 2005 3:35 pm 
Julian MehnleJan 19, 2005 3:42 pm 
Gordon MessmerJan 19, 2005 3:56 pm 
Sam VarshavchikJan 19, 2005 4:07 pm 
Mitch (WebCob)Jan 19, 2005 4:42 pm 
Mitch (WebCob)Jan 19, 2005 4:46 pm 
Sam VarshavchikJan 19, 2005 5:13 pm 
Gordon MessmerJan 19, 2005 6:11 pm 
Sam VarshavchikJan 19, 2005 6:17 pm 
Gordon MessmerJan 19, 2005 10:38 pm 
Alexander LazicJan 20, 2005 2:29 am 
Alessandro VeselyJan 20, 2005 4:56 am 
Mark BucciarelliJan 21, 2005 1:02 pm 
Julian MehnleJan 21, 2005 3:03 pm 
Julian MehnleJan 24, 2005 8:15 am 
Gordon MessmerJan 26, 2005 10:51 am 
Gordon MessmerJan 26, 2005 12:53 pm.patch
Sam VarshavchikJan 26, 2005 4:22 pm 
Gordon MessmerJan 26, 2005 10:46 pm 
Alessandro VeselyJan 28, 2005 1:49 am 
Gordon MessmerJan 28, 2005 10:37 am 
Bill LongJan 29, 2005 3:42 pm 
Sam VarshavchikJan 29, 2005 4:51 pm 
Bill LongJan 29, 2005 5:29 pm 
Bill LongJan 30, 2005 1:23 pm 
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:RE: [courier-users] Courier::Filter 0.16Actions...
From:Julian Mehnle (bu@mehnle.net)
Date:Jan 24, 2005 8:15:42 am
List:net.sourceforge.lists.courier-users

Mark Bucciarelli wrote:

[taking off list, as I think I have borked my setup.]

No, unfortunately this is a general issue with IO::InnerFile. See below.

Julian Mehnle wrote:

Try 0.11 as soon as it appears on CPAN (which should be within the next few hours).

That got me futher, but I'm still having some trouble.

Jan 24 08:27:48 dev courierfilter: Starting pureperlfilter Jan 24 08:28:08 dev courieresmtpd: started,ip=[::ffff: ...] Jan 24 08:28:09 dev courierfilter: Courier::Filter::Module::ClamAVd:
MIME::Parser: can't seek: Bad file descriptor at /usr/local/share/perl/5.8.4/MIME/Parser.pm line 790, <GEN3> line 38. Jan 24 08:28:09 dev courierfilter: Rejected message sent from <mark@...> to
<mark@...> through::ffff: ... (host-...) Jan 24 08:28:09 dev courierfilter: Reason: Mail filters temporarily unavailable.

Running install Courier::Filter completes cleanly in CPAN.

The problem is that IO::InnerFile, which is used by MIME::Parser, does not return true on success. Old versions of MIME::Parser (up to 5.413) did not care about that.

( Detailed explanation:

The MIME-tools and IO-stringy packages were initially written and maintained by the same author who now has not been maintaining his CPAN packages for over three years. MIME-tools has since been taken over by a new maintainer, and starting with version 5.414, MIME::Parser checks the result of the seek() call and thus always fails when working with IO::InnerFile.

I filed a bug report on IO::InnerFile[1] a while ago, but nothing has happened so far. I am trying to resolve the issue with MIME-tools' new maintainer and IO-stringy's current maintainer. )

Now what all this essentially means is that either a version of MIME-tools/MIME::Parser <= 5.413 must be installed on the system, or the installed version of IO::InnerFile must be patched manually until a fixed version is officially available. You can get the patch here[2].

References: 1. http://rt.cpan.org/NoAuth/Bug.html?id=8605 2. http://files.mehnle.net/software/perl/io-innerfile-seek-return-value.diff