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();
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.