From 687d97e111f1a7b45b5ebcfd9b83454b7d9e5281 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Thu, 18 Jan 2018 01:35:36 -0500 Subject: [PATCH] Remove Palante special cases --- redirect.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/redirect.php b/redirect.php index 0cd5667..f8722dd 100755 --- a/redirect.php +++ b/redirect.php @@ -72,27 +72,6 @@ if($from == 'Google Calendar ') { $params['unknown-user'] = 'accept'; $email = str_replace("Auto-Submitted: auto-generated\n", '', $email); } -//Linode alerts from ramen -if($from == 'Linode Alerts ') { - if(strpos($email, 'Subject: Linode Alert - disk io rate - ramen_ALP')) { - die; - } -} -//Linode alerts from gravy -if($from == 'Linode Alerts ') { - if(strpos($email, 'Subject: Linode Alert - disk io rate - gravy_HQ')) { - die; - } -} -//Any e-mails to tickets+fromwebsite@palantetech.com automatically get sent to tickets+prospecting, but no account is created -if(strpos($deliveredTo, 'tickets+fromwebsite') !== FALSE) { - $project = 'prospecting'; - $params['unknown-user'] = 'accept'; -} -//Any e-mails to tickets+hiring don't get an account created -if(strpos($from, 'tickets+hiring' !== FALSE)) { - $params['unknown-user'] = 'accept'; -} // If we don't know the project yet, attempt to determine it from the complete email address. if(!$project) {