From 337aea840e13297627b6bf808c03f0afe432f4a5 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Thu, 16 Feb 2012 14:22:06 +0100 Subject: [PATCH] Set envelope sender address. --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 630dce4..97d8ac5 100644 --- a/debian/postinst +++ b/debian/postinst @@ -294,7 +294,7 @@ EOF # Try to send it if [ -x "`which sendmail 2>/dev/null`" ]; then echo Mailing request from $REQUEST_FILE - if sendmail -t -oi < $REQUEST_FILE; then + if sendmail -t -oi -f "$EMAIL" < $REQUEST_FILE; then requestsent=1 fi fi -- 1.7.10.4