Author: noodles
Date: 2005/05/31 17:17:46
Support MIME content encoding for cleartext signed mails.
git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-12
# http://www.earth.li/projectpurple/progs/autodns.html
# Released under the GPL.
#
-# $Id: autodns.pl,v 1.12 2005/05/31 12:20:23 noodles Exp $
+# $Id: autodns.pl,v 1.13 2005/05/31 17:17:46 noodles Exp $
#
use strict;
my $pid = open3(\*GPGIN, \*GPGOUT, \*GPGERR, "gpg --batch");
# Feed it the mail.
- print GPGIN @MAIL;
+ print GPGIN $entity->bodyhandle->as_string;
close GPGIN;
# And grab what it has to say.