Add missing documentation for option ignore_envfrom
This commit is contained in:
@@ -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**
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -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.",
|
||||||
|
|||||||
Reference in New Issue
Block a user