Software /
code /
prosody-modules
Changeset
2111:4e434abaf8fc
mod_firewall: README: Improve chain documentation
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 11:51:05 +0000 |
parents | 2110:c26b28c65d47 |
children | 2112:0890c4860f14 2113:d75145297bf9 |
files | mod_firewall/README.markdown |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/README.markdown Thu Mar 17 11:39:43 2016 +0000 +++ b/mod_firewall/README.markdown Thu Mar 17 11:51:05 2016 +0000 @@ -372,9 +372,11 @@ deliver_remote Applies to stanzas delivered to remote recipients (just before they leave the local server) preroute Applies to incoming stanzas from local users, before any routing rules are applied -By default, if no chain is specified, rules are put into the 'deliver' chain. It is possible to create custom -chains (useful with the JUMP_CHAIN action described below). User-created chains must begin with "user/", e.g. -"user/spam_filtering". +A chain is begun by a line `::name` where 'name' is the name of the chain you want the following rules to be +inserted into. If no chain is specified, rules are put into the 'deliver' chain. + +It is possible to create custom chains (useful with the JUMP_CHAIN action described below). User-created +chains must begin with "user/", e.g. "user/spam_filtering". Example of chain use: