Mercurial > prosody-modules
comparison 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 |
comparison
equal
deleted
inserted
replaced
2110:c26b28c65d47 | 2111:4e434abaf8fc |
---|---|
370 -------------- ------------------------------------------------------------------------------------------- | 370 -------------- ------------------------------------------------------------------------------------------- |
371 deliver Applies to stanzas delivered to local recipients (regardless of the stanza's origin) | 371 deliver Applies to stanzas delivered to local recipients (regardless of the stanza's origin) |
372 deliver_remote Applies to stanzas delivered to remote recipients (just before they leave the local server) | 372 deliver_remote Applies to stanzas delivered to remote recipients (just before they leave the local server) |
373 preroute Applies to incoming stanzas from local users, before any routing rules are applied | 373 preroute Applies to incoming stanzas from local users, before any routing rules are applied |
374 | 374 |
375 By default, if no chain is specified, rules are put into the 'deliver' chain. It is possible to create custom | 375 A chain is begun by a line `::name` where 'name' is the name of the chain you want the following rules to be |
376 chains (useful with the JUMP_CHAIN action described below). User-created chains must begin with "user/", e.g. | 376 inserted into. If no chain is specified, rules are put into the 'deliver' chain. |
377 "user/spam_filtering". | 377 |
378 It is possible to create custom chains (useful with the JUMP_CHAIN action described below). User-created | |
379 chains must begin with "user/", e.g. "user/spam_filtering". | |
378 | 380 |
379 Example of chain use: | 381 Example of chain use: |
380 | 382 |
381 # example.com's firewall script | 383 # example.com's firewall script |
382 | 384 |