1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-07 17:47:14 +00:00

smtpsrv: Always pass the environment variables to the hook

This patch makes the hooks always have a complete set of environment
varuables, set to 0/1 or whatever is appropriate, to make it easier to
write the checks for them.
This commit is contained in:
Alberto Bertogli
2016-10-22 10:12:04 +01:00
parent 14c48153aa
commit 6640c09b9e
2 changed files with 18 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ check "ON_TLS=1"
check "AUTH_AS=user@testserver"
check "PATH="
check "REMOTE_ADDR="
check "SPF_PASS=0"
# Check that a failure in the script results in failing delivery.