[type/__dma] Add --defer, --full-bounce, and --null-client
This commit is contained in:
parent
c8efbf4825
commit
4fdddfd738
3 changed files with 31 additions and 0 deletions
|
@ -49,6 +49,26 @@ conf_should=$(
|
|||
done <"${__object}/parameter/masquerade"
|
||||
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"
|
||||
then
|
||||
printf "AUTHPATH %s\n" "$(cat "${__object}/explorer/auth_conf")"
|
||||
|
|
|
@ -26,6 +26,14 @@ smart-host
|
|||
|
||||
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
|
||||
If present, after setup this type will send an email to root, to allow you
|
||||
to easily test your setup.
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
defer
|
||||
full-bounce
|
||||
null-client
|
||||
send-test-email
|
||||
|
|
Loading…
Reference in a new issue