com web/master: add the bounce address, it seems the mails can't reach the list without that: scripts/mirror-test
| From: | Ferenc Kovacs | Date: | Fri, 15 Feb 2013 12:34:24 +0000 |
| Subject: | com web/master: add the bounce address, it seems the mails can't reach the list without that: scripts/mirror-test | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15482@lists.php.net to get a copy of this message | ||
Commit: fa34022553f2fdecb81990b56de0437ec5055254
Author: Ferenc Kovacs <tyra3l@gmail.com> 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) {
"php-mirrors@lists.php.net",
"Round robin for {$host['hostname']} is deactivated",
$lb_problem,
- "From: php-mirrors@lists.php.net"
+ "From: php-mirrors@lists.php.net",
+ "-f noreply@php.net"
);
}
}
@@ -434,6 +435,8 @@ if ($mirrorsupdated < 70) {
@mail(
"php-webmaster@lists.php.net",
"[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: php-mirrors@lists.php.net",
+ "-f noreply@php.net"
);
}