Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

postfix configuration with sendmailtunnel almost finished

  • Loading branch information...
commit 91dceee9fc5c7c91108d67459d5ea470710a840a 1 parent 937242b
@jcdubacq authored
View
10 enforce_config
@@ -1,7 +1,10 @@
#!/bin/sh
set -e
cd /etc
-DEBUG=echo
+if [ "$1" = "--debug" ]; then
+ shift
+ DEBUG=echo
+fi
# settings
@@ -146,11 +149,14 @@ execPackage() {
$DEBUG mkdir -p "$FILEDIR"
$DEBUG cp -- "$FILE" "$TARGET"
fi
+ if [ "${FILE%.crypt}" != "${FILE}" ]; then
+ $DEBUG /usr/bin/decryptfile "$TARGET"
+ fi
;;
esac
done
$DEBUG etckeeper commit "$COMMENT"||true
- checkPackage "$PKG" "$REVERT" "$PKGDIR" stamp
+ $DEBUG checkPackage "$PKG" "$REVERT" "$PKGDIR" stamp
return 0
}
View
0  lib/postfix/_postfix.debconf → lib/postfix/DEBCONF
File renamed without changes
View
1  lib/postfix/DEPS
@@ -0,0 +1 @@
+cryptstore
View
0  lib/postfix/~postfix.revert → lib/postfix/POSTREV
File renamed without changes
View
0  lib/postfix/~postfix.run → lib/postfix/POSTRUN
File renamed without changes
View
0  lib/postfix/postfix%_generic → lib/postfix/etc/postfix/generic
File renamed without changes
View
0  lib/postfix/postfix%_main.cf → lib/postfix/etc/postfix/main.cf
File renamed without changes
View
BIN  lib/postfix/sendmailtunnel/id_rsa.crypt → lib/postfix/etc/sendmailtunnel/id_rsa.crypt
Binary file not shown
View
0  lib/postfix/sendmailtunnel/id_rsa.pub → lib/postfix/etc/sendmailtunnel/id_rsa.pub
File renamed without changes
View
1  order.revert
@@ -1,6 +1,7 @@
fix-groups
network-manager
repository-sidexp
+cryptstore
repository-dubacq
superusers
record-manual
View
1  order.run
@@ -1,5 +1,6 @@
record-manual
repository-dubacq
+cryptstore
repository-sidexp
network-manager
superusers
Please sign in to comment.
Something went wrong with that request. Please try again.