1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/tests/compose/core/03_alias_test.sh
2023-02-15 10:00:03 +01:00

13 lines
408 B
Bash
Executable File

cat << EOF | docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu config-update -v 1
aliases:
- localpart: alltheusers
domain: mailu.io
destination: "admin@mailu.io,user@mailu.io,user/with/slash@mailu.io"
EOF
python3 tests/alias_test.py
cat << EOF | docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu config-update -v 1
aliases: []
EOF