Whamcloud - gitweb
Use sendmail and set the sender address to ensure that mail is not sent from a
authorbrian <brian>
Tue, 17 Jan 2006 22:09:41 +0000 (22:09 +0000)
committerbrian <brian>
Tue, 17 Jan 2006 22:09:41 +0000 (22:09 +0000)
domain name that is neither an A or MX record (and thusly gets refused by
mail servers).

build/lmake

index 3bc75a9..65cbaa0 100755 (executable)
@@ -390,6 +390,9 @@ depend_kernel()
     diff -I '^#.*' -u "$CONFIG_FILE" .config >$tmpfile
     if [ -s $tmpfile ]; then
         { cat <<EOF
     diff -I '^#.*' -u "$CONFIG_FILE" .config >$tmpfile
     if [ -s $tmpfile ]; then
         { cat <<EOF
+To: qa@lists.clusterfs.com
+Subject: kernel_config change 
+
 The result of a make oldconfig on file $CONFIG_FILE resulted in a
 difference when compared to .config in the following way:
 
 The result of a make oldconfig on file $CONFIG_FILE resulted in a
 difference when compared to .config in the following way:
 
@@ -399,7 +402,7 @@ EOF
        # not sure these are entirely useful.  the above and "patch" are good
        #echo -e "\nThe entire new .config file:\n"
         #cat .config
        # not sure these are entirely useful.  the above and "patch" are good
        #echo -e "\nThe entire new .config file:\n"
         #cat .config
-        } | mail -s "kernel_config change" qa@lists.clusterfs.com
+        } | sendmail -fqa@clusterfs.com -t
     fi
     rm -f $tmpfile
     case "$VERSION" in
     fi
     rm -f $tmpfile
     case "$VERSION" in