From 870125b28b0b728890c8da1db42d48b89ba60ce6 Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Sat, 29 Aug 2020 00:38:33 +0000 Subject: postfix: submission port (client certs required): opendkim integration. --- public/fs/etc/postfix/header_checks_submission-in.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 public/fs/etc/postfix/header_checks_submission-in.sh (limited to 'public/fs/etc/postfix/header_checks_submission-in.sh') diff --git a/public/fs/etc/postfix/header_checks_submission-in.sh b/public/fs/etc/postfix/header_checks_submission-in.sh new file mode 100755 index 0000000..1eb82bb --- /dev/null +++ b/public/fs/etc/postfix/header_checks_submission-in.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -eu + +sitezone="$1" + +cfg_script="$0" +cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P) + +source /root/config/private/config/hostinfo/${sitezone} + +sed -e 's/@mailhost@/'"${mailhost}"'/g' \ + "${cfg_srcdir}/header_checks_submission.in" -- cgit v1.2.3