wilde: server/php-kolab/Kolab_Filter/Filter Incoming.php,1.9,1.10

cvs at kolab.org cvs at kolab.org
Mon Aug 4 18:37:14 CEST 2008


Author: wilde

Update of /kolabrepository/server/php-kolab/Kolab_Filter/Filter
In directory doto:/tmp/cvs-serv31872/php-kolab/Kolab_Filter/Filter

Modified Files:
	Incoming.php 
Log Message:
Added new configuration variable to choose local delivery backend.
Added entries to release-notes for the new Dovecot LDA backend.


Index: Incoming.php
===================================================================
RCS file: /kolabrepository/server/php-kolab/Kolab_Filter/Filter/Incoming.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Incoming.php	11 Feb 2008 17:34:43 -0000	1.9
+++ Incoming.php	4 Aug 2008 16:37:12 -0000	1.10
@@ -41,8 +41,14 @@
 
     var $_add_headers;
 
-    function Filter_Incoming($transport = 'LMTP', $debug = false)
+    function Filter_Incoming($transport = false, $debug = false)
     {
+        global $conf;
+        if ($transport == false)
+            if (isset($conf['filter']['delivery_backend']))
+                $transport = $conf['filter']['delivery_backend'];
+            else
+                $transport = 'LMTP';
         Filter::Filter($transport, $debug);
     }
 





More information about the commits mailing list