mtpolicyd 1.21 has been released

Version 1.21 has been released.

Get the sources from: https://mtpolicyd.org/download.html or from CPAN.

What has changed:

  • New feature vhost_by_policy_context
    New option vhost_by_policy_context will if activated tell mtpolicyd to select the VirtualHost based on the policy_context.For example in postfix main.cf use advanced syntax:

    In mtpolicyd.conf:

    The policy_context feature will be available in postfix 3.1 and later.
  • New plugin SMTPVerify
    The SMTPVerify plugin implements address verification at a remote SMTP server with MAIL FROM and RCPT TO commands. It support the following checks:

    • check if the remote SMTP server would accept mail for a address.
      Apply actions or scores if a permanent or temporary error is returnedIf the
    • remote server support the SIZE extension the SIZE will be passed to the remote SMTP server. This way it could be checked if the message exceeds the message size limit or the quota limit of the recipient.
    • Check if the remote SMTP server announces support for STARTTLS
    • Check if there is a TLSA record for the remote SMTP server
    • Check if there is OPENPGPKEY for the recipient

mtpolicyd 1.20 has been released

Version 1.20 has been released.

Get the sources from: https://mtpolicyd.org/download.html or from CPAN.

What has changed:

  • fix SQL connection handling after child fork
    Closing the connection after child fork did not cause a reconnect on all DBI versions. Instead do a reconnect by overwriting the previous connection.
  • improve request logging
    mtpolicyd now logs the plugin that caused the result.The new log format is:

mtpolicyd 1.16 has been released

Version 1.16 has been released.

Get the sources from: https://mtpolicyd.org/download.html or from CPAN.

New Features:

  • Improved SPF support
    The SPF plugins supports now checks on helo and uses postmaster@<heloname> as sender for null-sender mails as defined in RFC. (thx to Scott Kitterman for pointing this out)
  • Support for Spamassassins AWL reputation
    The SaAwlLookup and SaAwlAction plugins can be used to take actions based on the senders reputation stored in Spamassassins AWL database.

mtpolicyd version 1.15 released

Version 1.15 has been released.

Get the sources from: https://mtpolicyd.org/download.html or from CPAN.

New Features:

  • New Plugins: Accounting, Quota
    These plugins could be used to implement smtp level accounting and quotas. See Mail::MtPolicyd::Cookbook::HowtoAccountingQuota and the plugin reference for details.
  • SQL Infrastructure updates
    Plugins are now able to create their own tables automatically. Collected some shared SQL code into Plugin::Role::SqlUtils.
  • Support for scheduled tasks
    Plugins can execute scheduled tasks by implementing a cron() function.

mtpolicyd version 1.14 released

Version 1.14 of the mtpolicyd has been released.

New Features:

  • Stress Plugin. Trigger an action if postfix is under stress.
  • Added on_error option to plugins.
    If set to continue and the plugin dies mtpolicyd will continue with processing instead of returning an error:
  • Application level profiling has been added.
    A small profiler has been added to record request timings. Timings will be logged at log level 3. Plugins may add their own timings thru the following API: