Mercurial > prosody-modules
diff mod_firewall/README.markdown @ 2111:4e434abaf8fc
mod_firewall: README: Improve chain documentation
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 11:51:05 +0000 |
parents | c26b28c65d47 |
children | ce3dd93f30d9 |
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: