ExOTA-Milter/tests/README.md
2020-11-29 02:56:51 +01:00

17 lines
473 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# prepare testing env
```
export LOG_LEVEL=debug
export MILTER_SOCKET=/tmp/exota-milter
export MILTER_POLICY_FILE=tests/policy.json
export MILTER_DKIM_ENABLED=yepp
export MILTER_DKIM_AUTHSERVID=my-auth-serv-id
```
# start milter
`python3 app/exota-milter.py`
# execute `miltertest`
First of all install the `miltertest` binary. Under debian based distros
it´s located in the `opendkim-tools` package.
`miltertest -v -D socket=/tmp/exota-milter -s tests/miltertest.lua`