man Mail::Audit::List () - Mail::Audit plugin for automatic list delivery
NAME
Mail::Audit::List - Mail::Audit plugin for automatic list delivery
SYNOPSIS
use Mail::Audit qw(List); my $mail = Mail::Audit->new; ... $mail->list_accept || $main->accept;
DESCRIPTION
This is a Mail::Audit plugin which provides a method for automatically delivering mailing lists to a suitable mainbox. It requires the CPAN CWMail::ListDetector module.
METHODS
Attempts to deliver the message as a mailing list. It will place each message in CW$deliver_dir/$list_name. The default value of CW$deliver_dir is CW$ENV{HOME} . "/mail". For instance, mail to CWperl5-porters@perl.org will end up by default in /home/you/mail/perl5-porters. Calls CWaccept and returns the filename delivered to if CWMail::ListDetector can identify this mail as coming from a mailing list, or 0 otherwise. The recipe given above should be able to replace a great number of special-casing recipes.
AUTHOR
Michael Stevens <michael@etla.org>
SEE ALSO
Mail::Audit