ftimme
2013-06-08 5eab700304cfca51a0f33a5cfac8457ba52b1d58
- Fixed FS#2969 - Getmail config on Wheezy.
2 files modified
10 ■■■■ changed files
server/conf/getmail.conf.master 2 ●●● patch | view | raw | blame | history
server/plugins-available/getmail_plugin.inc.php 8 ●●●● patch | view | raw | blame | history
server/conf/getmail.conf.master
@@ -1,6 +1,6 @@
[options]
# message_log = /var/log/getmail.log
message_log_syslog = 1
message_log_syslog = true
delete = {DELETE}
read_all = {READ_ALL}
server/plugins-available/getmail_plugin.inc.php
@@ -104,15 +104,15 @@
            
                // Shall emails be deleted after retrieval
                if($data["new"]["source_delete"] == 'y') {
                    $tpl = str_replace('{DELETE}','1',$tpl);
                    $tpl = str_replace('{DELETE}','true',$tpl);
                } else {
                    $tpl = str_replace('{DELETE}','0',$tpl);
                    $tpl = str_replace('{DELETE}','false',$tpl);
                }
                if($data["new"]["read_all"] == 'y') {
                    $tpl = str_replace('{READ_ALL}', '1', $tpl);
                    $tpl = str_replace('{READ_ALL}', 'true', $tpl);
                } else {
                    $tpl = str_replace('{READ_ALL}', '0', $tpl);
                    $tpl = str_replace('{READ_ALL}', 'false', $tpl);
                }
                
                // Set the data retriever