From: Valentin Vidic Date: Thu, 16 Feb 2012 13:22:06 +0000 (+0100) Subject: Set envelope sender address. X-Git-Tag: debian/20120216~1 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=bacula-cn.git;a=commitdiff_plain;h=337aea840e13297627b6bf808c03f0afe432f4a5;hp=d671b65eaa51d62a3f623d522858e3ed9e4c31c2 Set envelope sender address. --- 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