mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-28 02:06:14 +00:00
* make it possible to configure grapi through its cfg * add test for config setting in grapi * add volume for persistent data * chown and add tests for dir
13 lines
404 B
YAML
Executable File
13 lines
404 B
YAML
Executable File
tests:
|
|
test sending mail:
|
|
command: apt update && apt install -y swaks netbase && dockerize -wait tcp://"$KCCONF_SPOOLER_SMTP_SERVER":25 -timeout 1080s && swaks --to user1@kopano.demo --server $KCCONF_SPOOLER_SMTP_SERVER
|
|
exit-code: 0
|
|
stdout:
|
|
contains:
|
|
- "250 2.0.0 Ok: queued as"
|
|
|
|
config:
|
|
env:
|
|
PATH: ${PATH}
|
|
KCCONF_SPOOLER_SMTP_SERVER: ${KCCONF_SPOOLER_SMTP_SERVER}
|