perlquestion
swiftone
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:
<code>
Don't know how to handle Mail::Audit::MailInternet at /usr/local/share/perl/5.8.4/Mail/ListDetector/Detector/Mailman.pm line 16
</code>
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)
<readmore>
I've tracked that message down to [cpan://Email::Abstract]. My best guess at this point is that [cpan://Mail::ListDetector] was updated to use Email::Abstract, which isn't passing anything back that [cpan://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.
<p>
While my actual filters are more involved, here's a simple case that triggers my error:
<code>#!/usr/bin/perl -w
use strict;
use Mail::Audit qw(List);
my $mail = Mail::Audit->new();
$mail->list_accept();
$mail->accept();
</code>