parsimony/e2e/postfix/entrypoint.sh
tgiachi 9992a50ab9 test(e2e): run the whole path through a real Postfix in Docker
- Add a Postfix test image: relay domain handed to parsimony over LMTP, members in maildirs, unknown users rejected with 5.1.1
- Check list headers, VERP return path and per-recipient unsubscribe links on real delivered mail
- Check a real 5.1.1 disabling a member after three hard bounces, and a real LMTP 550 for non-members
- Check join and leave by email, moderation, the public archive and one-click unsubscribe
- Add make e2e behind the e2e build tag
2026-11-09 16:46:55 +01:00

6 lines
174 B
Shell

#!/bin/sh
# rsyslog gives Postfix a /dev/log; its output is mirrored to the container log.
rsyslogd
touch /var/log/mail.log
tail -F /var/log/mail.log &
exec postfix start-fg