Add missing documentation for option ignore_envfrom

This commit is contained in:
2020-04-20 10:33:49 +02:00
parent 0856c39442
commit c6e1408732
3 changed files with 9 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ The following configuration options are mandatory for a mod-rule:
New value of the header. New value of the header.
The following configuration options are optional for each rule: The following configuration options are optional for each rule:
* **ignore_envfrom**
Regular expression to match envelop-from addresses. The rule will be skipped if the expression matches.
* **ignore_hosts** * **ignore_hosts**
Comma-separated list of host and network addresses. The rule will be skipped if the sending host is included here. Comma-separated list of host and network addresses. The rule will be skipped if the sending host is included here.
* **only_hosts** * **only_hosts**

View File

@@ -19,6 +19,12 @@
# #
rules = add_header,del_header,mod_header rules = add_header,del_header,mod_header
# Option: ignore_envfrom
# Notes: Set a regular expression to match envelope-from addresses to be ignored.
# Value: [ REGEX ]
#
ignore_envfrom = ^.*@localhost$
# Option: ignore_hosts # Option: ignore_hosts
# Notes: Set a list of host and network addresses to be ignored. # Notes: Set a list of host and network addresses to be ignored.
# All the common host/network notations are supported, including IPv6. # All the common host/network notations are supported, including IPv6.

View File

@@ -5,7 +5,7 @@ def read_file(fname):
return f.read() return f.read()
setup(name = "pyheadermilter", setup(name = "pyheadermilter",
version = "0.0.7", version = "0.0.8",
author = "Thomas Oettli", author = "Thomas Oettli",
author_email = "spacefreak@noop.ch", author_email = "spacefreak@noop.ch",
description = "A pymilter based sendmail/postfix pre-queue filter.", description = "A pymilter based sendmail/postfix pre-queue filter.",