[aur-dev] [PATCH 1/2] Remove Reply-To header from package request emails

Lukas Fleischer archlinux at cryptocrack.de
Tue Jul 1 16:33:28 EDT 2014


These notification emails are sent to a public mailing list for
discussion. Make sure that people can reply.

Reported-by: Florian Pritz <bluewind at xinu.at>
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/lib/pkgreqfuncs.inc.php | 6 ++----
 1 file 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 at aur.archlinux.org\r\n" .
-		    "From: notify at aur.archlinux.org\r\n" .
+	$headers .= "From: notify at 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 at aur.archlinux.org\r\n" .
-		    "From: notify at aur.archlinux.org\r\n" .
+	$headers .= "From: notify at aur.archlinux.org\r\n" .
 		    "In-Reply-To: $thread_id\r\n" .
 		    "References: $thread_id\r\n" .
 		    "X-Mailer: AUR";
-- 
2.0.1



More information about the aur-dev mailing list