Skip to content

additional postfix header_checks #999

@millerjason

Description

@millerjason

Context

docker-mailserver is presently using postfix's header_checks via the configuration file target/postfix/sender_header_filter.pcre. I would like to add support for extending this file to include additional user header check directives (such as regex rejects) in the user configuration directory.

Expected Behavior

This is working as expected, but see possible fix for improved functionality.

Actual Behavior

This is not user configurable.

Possible Fix

One potential solution would be to append the user's config/postfix-header_checks.cf file to follow the existing target/postfix/sender_header_filter.pcre. Or if postfix supports multiple checks, include both in the processing rules. I am open to how this could be solved and willing to submit a PR for it.

Steps to Reproduce

  1. Start docker-mailserver

Your Environment

  • Amount of RAM available: 16GB
  • Mailserver version used: docker-mailserver
  • Docker version used: 18.03.1-ce
  • Environment settings relevant to the config:
  • Any relevant stack traces ("Full trace" preferred):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions