- SEE ALSO
- COPYRIGHT AND LICENSE
App::Milter::Limit - Sendmail Milter that limits message rate by sender
my $config = App::Milter::Limit::Config->instance('/etc/mail/milter-limit.conf'); my $milter = App::Milter::Limit->instance('BerkeleyDB'); $milter->register; $milter->main
This is a milter framework that limits the number of messages sent by SMTP envelope sender within a specified time period. The number of messages and length of time in which the maximum number of messages can be sent is configurable in the configuration file. Once the limit is reached, messages will be rejected from that sender until the time period has elapsed.
This module provides the interface for the milter. A datastore plugin is also required to use this milter. Datastores are available in the App::Milter::Limit::Plugin namespace.
This gets the App::Milter::Limit object, constructing it if necessary.
$driver is the name of the driver that you wish to use (e.g.: SQLite, BerkeleyDB).
Registers the milter with sendmail and sets up the milter handlers. See Milter::PMilter::register().
Main milter loop.
get the App::Milter::Limit::Config instance
Please report any bugs or feature requests to firstname.lastname@example.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=App-Milter-Limit
Michael Schout <email@example.com>
This software is copyright (c) 2010 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.