On Wednesday, April 4 at 06:01 PM, quoth Erik A. Espinoza:
Sorry, that should have been dktest.
dktest is a binary that ships with libdomainkeys to test signed e-mail.
Hmmmm, so, could we replace qmail-dk with something like:
#!/bin/sh
tmp=/tmp/dk.$$
cat - > $tmp
if dktest < $tmp ; then
echo "DomainKey-Status: good"
else
echo "DomainKey-Status: bad"
fi
cat $tmp
rm $tmp
???
I discovered that the perl Mail::DKIM module comes with a perl script,
dkimsign.pl, that can be used in a similar manner to SIGN messages. It
doesn't look particularly flexible, but it may be enough to wrap
qmail-remote with some shell-script glue that calls this perl script.
~Kyle
--
Asking whether machines can think is like asking whether submarines
can swim.
-- Unknown
pgpvP4TfnTS7l.pgp
Description: PGP signature
|