mirror of
https://github.com/chillout2k/ExOTA-Milter.git
synced 2025-12-15 02:39:46 +00:00
17 lines
473 B
Markdown
17 lines
473 B
Markdown
# 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` |