Add config.sh and update README/INSTALL so we can configure the script for non-standard configuration directories

This commit is contained in:
Scott Kitterman 2018-07-29 14:57:27 -04:00
commit 5d8ffda27b
5 changed files with 489 additions and 4 deletions

7
config.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
set -e
CDIR=$(postconf -h config_directory)
echo "Config directory: ${CDIR}"
sed -e 's|@@CDIR@@|'"${CDIR}"'|g' postfix-policyd-spf-perl.in > postfix-policyd-spf-perl