Mail::Audit::List - Mail::Audit plugin for automatic list delivery
use Mail::Audit qw(List); my $mail = Mail::Audit->new; ... $mail->list_accept || $main->accept;
This is a Mail::Audit plugin which provides a method for automatically delivering mailing lists to a suitable mainbox. It requires the CPAN Mail::ListDetector module.
Mail::ListDetector
list_accept([$delivery_dir])
Attempts to deliver the message as a mailing list. It will place each message in $deliver_dir/$list_name. The default value of $deliver_dir is $ENV{HOME} . "/mail".
$deliver_dir/$list_name
$deliver_dir
$ENV{HOME} . "/mail"
For instance, mail to perl5-porters@perl.org will end up by default in /home/you/mail/perl5-porters.
perl5-porters@perl.org
Calls accept and returns the filename delivered to if Mail::ListDetector can identify this mail as coming from a mailing list, or 0 otherwise.
accept
The recipe given above should be able to replace a great number of special-casing recipes.
Michael Stevens <michael@etla.org>
Mail::Audit
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Mail::Audit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Audit
CPAN shell
perl -MCPAN -e shell install Mail::Audit
For more information on module installation, please visit the detailed CPAN module installation guide.