From aaa2d94353f9bcb8a708730800ed875f71930d33 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Wed, 27 Apr 2011 10:38:10 +0100 Subject: [PATCH] bin/sendmail-hack: Grim hack for Emacs to invoke sendmail. Organization: Straylight/Edgeware From: Mark Wooding Emacs gets upset by the LD_PRELOAD warning, issued because sendmail (actually qmail-send in my case) is setuid. --- bin/sendmail-hack | 5 +++++ setup | 1 + 2 files changed, 6 insertions(+) create mode 100755 bin/sendmail-hack diff --git a/bin/sendmail-hack b/bin/sendmail-hack new file mode 100755 index 0000000..0ce0ea3 --- /dev/null +++ b/bin/sendmail-hack @@ -0,0 +1,5 @@ +#! /bin/sh + +set -e +unset LD_PRELOAD +exec ${REAL_SENDMAIL-/usr/sbin/sendmail} "$@" diff --git a/setup b/setup index 5081807..97be971 100755 --- a/setup +++ b/setup @@ -229,6 +229,7 @@ scripts=" mdw-build emacsclient-hack movemail-hack + sendmail-hack aspell-hack emerge-hack lesspipe.sh -- [mdw]