I recently upgraded some modules on my personal machine. At the conclusion of this session, I found I have broken my use of Mail::Audit::ListDetector. Specifically, any mail filter script calling list_accept() dies with:
Don't know how to handle Mail::Audit::MailInternet at /usr/local/share
+/perl/5.8.4/Mail/ListDetector/Detector/Mailman.pm line 16
However all involved modules that I can find are considered "up to date" by CPAN. (perl 5.8.4, debian system, with some files dating back to perl 5.6.1. Perl modules installed from CPAN rather than .deb)
I've tracked that message down to Email::Abstract. My best guess at this point is that Mail::ListDetector was updated to use Email::Abstract, which isn't passing anything back that Mail::Audit::List can handle. I think. And I'm at a loss as how to correct this. Google doesn't reveal anything useful for that message. I've tried to contact the module authors, but I haven't gotten a response. It's been a week now, and the number of unfiltered messages pouring in is a vast pain. Anyone who can guide me here would earn vast gratitude.
While my actual filters are more involved, here's a simple case that triggers my error:
#!/usr/bin/perl -w
use strict;
use Mail::Audit qw(List);
my $mail = Mail::Audit->new();
$mail->list_accept();
$mail->accept();
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|