mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-03 21:14:26 +08:00
* 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>
10 lines
170 B
Bash
Executable file
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
|