From: Mark Wooding Date: Wed, 27 Apr 2011 09:38:10 +0000 (+0100) Subject: bin/sendmail-hack: Grim hack for Emacs to invoke sendmail. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/aaa2d94353f9bcb8a708730800ed875f71930d33 bin/sendmail-hack: Grim hack for Emacs to invoke sendmail. Emacs gets upset by the LD_PRELOAD warning, issued because sendmail (actually qmail-send in my case) is setuid. --- 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