[type/__dma] Add --defer, --full-bounce, and --null-client

This commit is contained in:
Dennis Camera 2020-06-01 17:23:31 +02:00
parent c8efbf4825
commit 4fdddfd738
3 changed files with 31 additions and 0 deletions

View file

@ -49,6 +49,26 @@ conf_should=$(
done <"${__object}/parameter/masquerade" done <"${__object}/parameter/masquerade"
fi fi
if test -f "${__object}/parameter/defer"
then
echo 'DEFER'
fi
if test -f "${__object}/parameter/full-bounce"
then
echo 'FULLBOUNCE'
fi
if test -f "${__object}/parameter/null-client"
then
test -s "${__object}/parameter/smart-host" || {
echo '--null-client requires a --smart-host to be defined' >&2
exit 1
}
echo 'NULLCLIENT'
fi
if test -s "${__object}/explorer/auth_conf" if test -s "${__object}/explorer/auth_conf"
then then
printf "AUTHPATH %s\n" "$(cat "${__object}/explorer/auth_conf")" printf "AUTHPATH %s\n" "$(cat "${__object}/explorer/auth_conf")"

View file

@ -26,6 +26,14 @@ smart-host
BOOLEAN PARAMETERS BOOLEAN PARAMETERS
------------------ ------------------
defer
If enabled, the mail queue has to be manually flushed with the `-q` option.
full-bounce
Enable if the bounce message should include the complete original message,
not just the headers.
null-client
Enable to bypass aliases and local delivery, and instead forward all mails
to the defined `--smart-host`.
send-test-email send-test-email
If present, after setup this type will send an email to root, to allow you If present, after setup this type will send an email to root, to allow you
to easily test your setup. to easily test your setup.

View file

@ -1 +1,4 @@
defer
full-bounce
null-client
send-test-email send-test-email