File: dkfilter.patch

package info (click to toggle)
dtc 0.35.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 18,824 kB
  • sloc: php: 50,739; sh: 8,596; makefile: 572; perl: 148; xml: 25
file content (19 lines) | stat: -rw-r--r-- 983 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- dkfilter.orig	2008-02-19 16:07:22.000000000 +0800
+++ dkfilter	2008-02-19 16:06:59.000000000 +0800
@@ -27,8 +27,14 @@
 DKFILTER_OUT_PRIVKEY="/var/lib/dkfilter/private.key"
 
 HOSTNAME=`hostname -f`
-DOMAIN=`hostname -d`
-DKFILTER_IN_ARGS="--hostname=$HOSTNAME 127.0.0.1:10026 127.0.0.1:10027"
+# Configured by DTC v0.26 : Please do not touch this line !
+DOMAIN=`cat /var/lib/dtc/etc/local_domains | tr \\\r\\\n ,,`
+# End of DTC configuration v0.26 : please do not touch this line !
+#DOMAIN=`hostname -d`
+# Configured by DTC v0.26 : Please do not touch this line !
+DKFILTER_IN_ARGS="--hostname=$HOSTNAME 127.0.0.1:10026 127.0.0.1:10024"
+# End of DTC configuration v0.26 : please do not touch this line !
+#DKFILTER_IN_ARGS="--hostname=$HOSTNAME 127.0.0.1:10026 127.0.0.1:10027"
 DKFILTER_OUT_ARGS="--keyfile=$DKFILTER_OUT_PRIVKEY --selector=postfix --domain=$DOMAIN --method=nofws --headers 127.0.0.1:10028 127.0.0.1:10029"
 
 DKFILTER_IN_BIN="$DKFILTERDIR/bin/dkfilter.in"