- mutt -s "$prefix libguestfs $version FAILED $1" "$mailto" -a ../build.log <<EOF
-Autobuild failed. See the attached log file.
+ tail -100 ../build.log > ../build.log.tail
+ mutt -s "$prefix libguestfs $version FAILED $1" "$mailto" -a ../build.log.tail <<EOF
+Autobuild failed. The last 100 lines of the build log are
+attached.
+
+For the full log see the build machine, in
+$tmpdir/build.log