mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
docs: Add details about the hook variables
This patch adds some wording to explain each of the hook variables.
This commit is contained in:
@@ -36,17 +36,18 @@ privileges.
|
|||||||
|
|
||||||
The environment will contain the following variables:
|
The environment will contain the following variables:
|
||||||
|
|
||||||
- USER
|
- `$USER`: The server's `$USER` env variable.
|
||||||
- SHELL
|
- `$SHELL`: The server's `$SHELL` env variable.
|
||||||
- PATH
|
- `$PATH`: The server's `$PATH` env variable.
|
||||||
- PWD
|
- `$PWD`: The working directory, which will be the config directory.
|
||||||
- REMOTE_ADDR
|
- `$REMOTE_ADDR`: IP address of the remote side of the connection.
|
||||||
- MAIL_FROM
|
- `$MAIL_FROM`: MAIL FROM address.
|
||||||
- RCPT_TO (space separated)
|
- `$RCPT_TO`: RCPT TO addresses, space separated.
|
||||||
- AUTH_AS (empty if not completed AUTH)
|
- `$AUTH_AS`: Authenticated user; empty if the connection has not
|
||||||
- ON_TLS (0 if not, 1 if yes)
|
authenticated successfully.
|
||||||
- FROM_LOCAL_DOMAIN (0 if not, 1 if yes)
|
- `$ON_TLS`: 1 if using TLS, 0 if not.
|
||||||
- SPF_PASS (0 if not, 1 if yes)
|
- `$FROM_LOCAL_DOMAIN`: 1 if the mail comes from a local domain, 0 if not.
|
||||||
|
- `$SPF_PASS`: 1 if it passed SPF, 0 if not.
|
||||||
|
|
||||||
There is a 1 minute timeout for hook execution.
|
There is a 1 minute timeout for hook execution.
|
||||||
It will be run at the config directory.
|
It will be run at the config directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user