App-Milter-Limit
view release on metacpan or search on metacpan
copy the configuration file conf/milter-limit.conf to
/etc/mail/milter-limit.conf and edit it to suit your needs.
The default configuration will use the SQLite plugin and stores statistics in
/var/db/milter-limit.
You also need to tell sendmail about the milter. Add something like the
following to your sendmail.mc and generate a new sendmail.cf:
INPUT_MAIL_FILTER(`milter-limit', `S=local:/var/run/milter-limit.sock')
Finally, you need to arrage for the milter to start at boot time. some init
scripts are available in the contrib directory.
COPYRIGHT AND LICENSE
Copyright (C) 2010 Michael Schout.
This program is free software; you can redistribute it and/or modify it
under the terms of either:
conf/milter-limit.conf view on Meta::CPAN
# milter-limit configuration file.
# This should be installed in /etc/mail/milter-limit.conf
# name of the milter. this needs to match the filter name that is configured
# in your sendmail.mc e.g.:
# INPUT_MAIL_FILTER(`milter-limit', `S=local:/var/run/milter-limit.sock')
name = milter-limit
# where state information is stored such as the PID file.
# state_dir = /var/run/milter-limit
# which driver backend to use. Current choices are SQLite, BerkeleyDB
driver = SQLite
# number of servers and requests per server
max_children = 5
( run in 0.386 second using v1.01-cache-2.11-cpan-64827b87656 )