haraka-plugin-pg-limit

0.1.0 • Public • Published

haraka-plugin-pg-limit

pg-limit plugin enhancement. Add ability to store rate_rcpt_sender limits in a per-user postgresql database.

You can specify many comma separated limits. For example,

1/5s,1000/1d

will allow only 1 mail per 5s, and only 1000 mails per day

This plugin is meant to be used with haraka-plugin-pg-profile. It will use pg-profile configuration and database.

All other limits respect haraka-plugin-limit specs.

/haraka-plugin-pg-limit/

    Package Sidebar

    Install

    npm i haraka-plugin-pg-limit

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    9.21 kB

    Total Files

    15

    Last publish

    Collaborators

    • a4i