docker-postfix/integration-tests/ldap/tests/test.sh
pixil98 11cc00c942
Include ldap support in docker image (#205)
* include postfix-ldap in docker build

* Add integration tests (#3)

* Redo ldap test to use postmap instead of sending email

---------

Co-authored-by: Aaron Reisman <areisman@epic.com>
2024-08-26 18:10:32 +02:00

10 lines
170 B
Bash
Executable file

#!/bin/sh
set -e
set -x
if ! hash postmap; then
echo "postmap not found!" >2
exit 1
fi
postmap -q demo@example.org ldap:/etc/postfix/conf/restricted-senders.cf