From d79012152022fd4844704601610317d25c775115 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Wed, 16 Mar 2011 12:02:50 +1100 Subject: [PATCH] Changed testing flag on vault --- vendors/shells/vault.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/vendors/shells/vault.php b/vendors/shells/vault.php index b7311ca7..9fefb388 100755 --- a/vendors/shells/vault.php +++ b/vendors/shells/vault.php @@ -27,7 +27,7 @@ class VaultShell extends Shell { /****************************************************** * Config Variables * *****************************************************/ - $testing = 1; //Whether to actually move the emails. 1=test, 0=production + $testing = 0; //Whether to actually move the emails. 1=test, 0=production if($testing == 1) { @@ -97,9 +97,9 @@ class VaultShell extends Shell { } - if(file_exists($processed_dir."/".$email_filename)) { + /*if(file_exists($processed_dir."/".$email_filename)) { continue; - } + }*/ $content = file_get_contents($vault_dir."/".$email_filename); @@ -114,13 +114,8 @@ class VaultShell extends Shell { } -//Handle files coming from windows (\r\n vs \n): -// Thanks to Dan Hulme (dhulme@gmail.com) $content = str_replace("\r", "", $content); - // Keep a copy of the original file - //$raw=$content; - $headers = imap_rfc822_parse_headers($content);