From 298fdb1a759c938ad2b10a36311e476d4a08f9d4 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sat, 6 Oct 2007 20:16:00 +0000 Subject: - Allow to define a MUA different from the one found at configure time in .quiltrc (by setting QUILT_SENDMAIL). --- quilt.changes | 6 ++++++ quilt/mail.in | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/quilt.changes b/quilt.changes index d36e577..16a877e 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 6 22:15:19 CEST 2007 - agruen@suse.de + +- Allow to define a MUA different from the one found at configure + time in .quiltrc (by setting QUILT_SENDMAIL). + ------------------------------------------------------------------- Sat Sep 8 20:13:34 CEST 2007 - agruen@suse.de diff --git a/quilt/mail.in b/quilt/mail.in index 24bbe48..8d20a27 100644 --- a/quilt/mail.in +++ b/quilt/mail.in @@ -124,10 +124,12 @@ process_mail() --extract-recipients Bcc \ < $tmpfile) if [ -n "$opt_send" ]; then - echo sendmail ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" + echo ${QUILT_SENDMAIL:-sendmail} \ + ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" $QUILT_DIR/scripts/edmail --charset $opt_charset \ --remove-header Bcc "$@" < $tmpfile \ - | sendmail ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" + | ${QUILT_SENDMAIL:-sendmail} \ + ${QUILT_SENDMAIL_ARGS--f "$opt_sender"} "$@" else local from_date=$(date "+%a %b %e %H:%M:%S %Y") echo "From $opt_sender_address $from_date" -- cgit