caff: support using a SMTP-server to send out the mails instead
[pgp-tools.git] / gpg-mailkeys / gpg-mailkeys
index ef8683845ea2d732b36283e0e068607263dadcb8..ec45dfa317e337eac20bb23d2cb8c325ff5ef559 100755 (executable)
@@ -1,8 +1,12 @@
 #! /bin/sh
+#
+# gpg-mailkeys: mail out just signed keys to their owners
+#
+# $Id$
 
 set -e
 
-VERSION="0.4.0"
+VERSION='$Rev$'
 
 if [ -z "$*" ]; then
        echo "Send people their newly signed GPG key by mail."
@@ -86,7 +90,7 @@ Content-Disposition: attachment; filename="$1.sig"
 --$BOUNDARY--
 EOM
        echo -n " sending"
-       /usr/sbin/sendmail -t <$TEMPFILE
+       /usr/sbin/sendmail -ti <$TEMPFILE
        rm $TEMPFILE
        echo " done."
        shift 1