From 9f948f44cdc55b9cac093eb14b0e453901953075 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 4 Oct 2019 16:36:27 +0200 Subject: avoid bouncing replies to system users --- it.class | 1 + 1 file changed, 1 insertion(+) diff --git a/it.class b/it.class index 097dcd9..96ec965 100644 --- a/it.class +++ b/it.class @@ -295,6 +295,7 @@ static function error($p = array()) it::mail([ 'From' => "\"$user@" . gethostname() . "\" <$user>", 'To' => $p['to'], + 'Reply-To' => $p['to'], 'Cc' => $GLOBALS['it_defaultconfig']['error_cc'], 'Subject' => $type . substr($p['title'], 0, 160), 'Body' => $body, -- cgit v1.2.3