[ingo] Trivial patch to allow spaces in folder names with procmail backend

Ronny Adsetts ronny.adsetts at amazinginternet.com
Sun Nov 9 05:55:06 PST 2003


Here we go:

Index: lib/Script/procmail.php
===================================================================
RCS file: /repository/ingo/lib/Script/procmail.php,v
retrieving revision 1.37
diff -u -r1.37 procmail.php
--- lib/Script/procmail.php     31 Oct 2003 22:08:44 -0000      1.37
+++ lib/Script/procmail.php     9 Nov 2003 13:44:13 -0000
@@ -547,7 +547,7 @@
              if (substr($folder, 0, 6) == 'INBOX.') {
                  $folder = substr($folder, 6);
              }
-            return '$DEFAULT/.' . $folder . '/';
+            return '"$DEFAULT/.' . $folder . '/"';
          } else {
              if (empty($folder) || ($folder == 'INBOX')) {
                  return '$DEFAULT';

-- 
Technical Director
Amazing Internet Ltd, London
t: +44 20 8607 9535
f: +44 20 8607 9536
w: www.amazinginternet.com





More information about the ingo mailing list