summaryrefslogtreecommitdiff
path: root/web/lib/pkgreqfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-07-01 22:23:16 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-07-01 22:27:13 +0200
commit4186e42a399eb367d877c843d53bbc95d18e3229 (patch)
treed182074be302b97b808979c5ab90dd260ae8f7f3 /web/lib/pkgreqfuncs.inc.php
parent61939d1ed7542406c1d61d777600fa68f9352a3c (diff)
Remove Reply-To header from package request emails
These notification emails are sent to a public mailing list for discussion. Make sure that people can reply. Reported-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgreqfuncs.inc.php')
-rw-r--r--web/lib/pkgreqfuncs.inc.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/web/lib/pkgreqfuncs.inc.php b/web/lib/pkgreqfuncs.inc.php
index 26d543e..748b849 100644
--- a/web/lib/pkgreqfuncs.inc.php
+++ b/web/lib/pkgreqfuncs.inc.php
@@ -108,8 +108,7 @@ function pkgreq_file($ids, $type, $merge_into, $comments) {
$headers .= "Bcc: $bcc\r\n";
}
$thread_id = "<pkg-request-" . $request_id . "@aur.archlinux.org>";
- $headers .= "Reply-to: noreply@aur.archlinux.org\r\n" .
- "From: notify@aur.archlinux.org\r\n" .
+ $headers .= "From: notify@aur.archlinux.org\r\n" .
"In-Reply-To: $thread_id\r\n" .
"References: $thread_id\r\n" .
"X-Mailer: AUR";
@@ -179,8 +178,7 @@ function pkgreq_close($id, $accepted) {
$headers .= "Bcc: $bcc\r\n";
}
$thread_id = "<pkg-request-" . $id . "@aur.archlinux.org>";
- $headers .= "Reply-to: noreply@aur.archlinux.org\r\n" .
- "From: notify@aur.archlinux.org\r\n" .
+ $headers .= "From: notify@aur.archlinux.org\r\n" .
"In-Reply-To: $thread_id\r\n" .
"References: $thread_id\r\n" .
"X-Mailer: AUR";