Commit:    fa34022553f2fdecb81990b56de0437ec5055254
Author:    Ferenc Kovacs <[email protected]>         Fri, 15 Feb 2013 13:34:24 
+0100
Parents:   dae74493c2f054372744b8a73b9124dc51e0467d
Branches:  master

Link:       
http://git.php.net/?p=web/master.git;a=commitdiff;h=fa34022553f2fdecb81990b56de0437ec5055254

Log:
add the bounce address, it seems the mails can't reach the list without that

Changed paths:
  M  scripts/mirror-test


Diff:
diff --git a/scripts/mirror-test b/scripts/mirror-test
index 8d7f492..58116c2 100755
--- a/scripts/mirror-test
+++ b/scripts/mirror-test
@@ -187,7 +187,8 @@ foreach ($hosts as $index => $host) {
                 "[email protected]",
                 "Round robin for {$host['hostname']} is deactivated",
                 $lb_problem,
-                "From: [email protected]"
+                "From: [email protected]",
+                "-f [email protected]"
             );
         }
     }
@@ -434,6 +435,8 @@ if ($mirrorsupdated < 70) {
     @mail(
         "[email protected]",
         "[CRITICAL] Mirror site updates failure",
-        "$mirrorsupdated mirror sites properly updated (out of " . 
count($hosts) . ")\n\nProblematic mirrors:\n\n" . $problems
+        "$mirrorsupdated mirror sites properly updated (out of " . 
count($hosts) . ")\n\nProblematic mirrors:\n\n" . $problems,
+        "From: [email protected]",
+        "-f [email protected]"
     );
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to