Try the attached patch.
--- dkim-filter/dkim-genkey.sh:1.4 Wed Mar 12 06:53:07 2008
+++ dkim-filter/dkim-genkey.sh Thu Mar 27 14:14:12 2008
@@ -42,6 +42,7 @@
hashalgs=""
keygran="*"
note=""
+flags=""
selector="default"
restrict=0
testmode=0
@@ -172,7 +173,6 @@
pubkey=`echo $keydata | sed 's/ //g'`
## output the record
-flags=""
if [ $testmode -eq 1 ]
then
flags=" t=y"
@@ -187,6 +187,12 @@
fi
fi
+flagsout=""
+if [ "$flags" != "" ]
+then
+ flagsout="$flags;"
+fi
+
hashout=""
if [ "$hashalgs" != "" ]
then
@@ -206,7 +212,7 @@
comment=""
fi
-echo ${selector}._domainkey IN TXT '"'v=DKIM1\;$noteout$hashout
g=$keygran\; k=rsa\;$flags p=$pubkey'"' $comment > ${selector}.txt
+echo ${selector}._domainkey IN TXT '"'v=DKIM1\;$noteout$hashout
g=$keygran\; k=rsa\;$flagsout p=$pubkey'"' $comment > ${selector}.txt
if [ $verbose -eq 1 ]
then
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss