Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

I broke my Mail::Audit::ListDetector with Email::Abstract

by swiftone (Curate)
on Aug 25, 2004 at 14:36 UTC ( [id://385689]=perlquestion: print w/replies, xml ) Need Help??

swiftone has asked for the wisdom of the Perl Monks concerning the following question:

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();

Replies are listed 'Best First'.
Re: I broke my Mail::Audit::ListDetector with Email::Abstract
by xorl (Deacon) on Aug 25, 2004 at 20:22 UTC
    I'm not sure what the problem is. The FAQ for Mail::Audit suggests trying to get procmail to work first. If that works try a "very simple" script. If that works, what happens if you run it under "perl -c"? Turn on logging - is the Mail::Audit script even being called? Is the mail bouncing? Does the bounce tell you anything useful? The author wants to know that stuff before you contact him and it would probably help us here to figure out what is going on with it.
      If I remove the call to list_accept() the script runs fine, so everything is running and being called. The bounce contains only the same error message I reported above. (The croak from Email::Abstract).
Re: I broke my Mail::Audit::ListDetector with Email::Abstract
by davorg (Chancellor) on Aug 26, 2004 at 14:38 UTC

    I'd suggest emailing the authors of the various modules involved.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://385689]
Approved by VSarkiss
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found