haraka-plugin-mail_from.is_resolvable

1.0.3 • Public • Published

CI Test Status Code Climate

haraka-plugin-mail_from.is_resolvable

This plugin checks that the domain used in MAIL FROM is resolvable to an MX record.

Configuration

This plugin uses the INI-style file format and accepts the following options:

  • timeout

    Default: 30

    Maximum limit in seconds for queries to complete. If the timeout is reached a TEMPFAIL is returned to the client.

  • allow_mx_ip=[0|1]

    Allow MX records that return IP addresses instead of hostnames. This is not allowed as per the RFC, but some MTAs allow it.

  • reject_no_mx=[0|1]

    Return DENY and reject the command if no MX record is found. Otherwise a DENYSOFT (TEMPFAIL) is returned and the client will retry later.

    DNS errors always return DENYSOFT, so this should be safe to enable.

Package Sidebar

Install

npm i haraka-plugin-mail_from.is_resolvable

Weekly Downloads

39

Version

1.0.3

License

MIT

Unpacked Size

7.42 kB

Total Files

6

Last publish

Collaborators

  • msimerson