X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=bacula-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=97d8ac55c859af1ec2e00ad3d31cd20823efd96c;hp=630dce4735447f0221dd7ea2dfd840042a263425;hb=337aea840e13297627b6bf808c03f0afe432f4a5;hpb=d671b65eaa51d62a3f623d522858e3ed9e4c31c2 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