From f1e0df12ea8dce9a2bb9ff1f63a6700a11636e00 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 May 2017 14:05:21 -0400 Subject: [PATCH] troubleshooting --- redirect.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redirect.php b/redirect.php index b1f64a5..05c1084 100755 --- a/redirect.php +++ b/redirect.php @@ -1,7 +1,7 @@ #!/usr/bin/php 'create', 'allow-override' => 'tracker,priority,category,status,project,assigned_to,start_date,due_date,estimated_hours,done_ratio', 'project' => 'catch', - 'tracker' => 'support', + 'tracker' => 'general', ); @@ -34,7 +34,7 @@ while (!feof($fd)) { //if this line is the "delivered-to", extract the subaddress, if there is one. if(preg_match("/^delivered-to: (.*)/i", $line, $matches)) { $deliveredTo = $matches[1]; - if(preg_match("/support\+(\S*)@/i", $deliveredTo, $matches)) { + if(preg_match("/support_mt.*\+(\S*)@/i", $deliveredTo, $matches)) { $project = $matches[1]; } }