From 1a41e34bc8c254f691aa39faf2bf38f5a5b58c6c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 29 Jul 2014 16:53:05 +0200 Subject: [PATCH] Move queue settings to it's own template file And disable queue throttling, qmail will handle it --- root/etc/e-smith/templates/etc/phplist/config.php/35Login | 5 ++--- root/etc/e-smith/templates/etc/phplist/config.php/40Tracking | 1 + root/etc/e-smith/templates/etc/phplist/config.php/45Queue | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 root/etc/e-smith/templates/etc/phplist/config.php/45Queue diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/35Login b/root/etc/e-smith/templates/etc/phplist/config.php/35Login index 03e1274..8e88b01 100644 --- a/root/etc/e-smith/templates/etc/phplist/config.php/35Login +++ b/root/etc/e-smith/templates/etc/phplist/config.php/35Login @@ -1,9 +1,8 @@ $require_login = {(($phplist{'Authentication'} || 'http') eq 'internal') ? '1':'0'}; define("REGISTER",0); -define("NOSTATSCOLLECTION",1); define("MANUALLY_PROCESS_QUEUE",0); define('MAILQUEUE_THROTTLE',0.5); define('USE_DOMAIN_THROTTLE',0); -define('DOMAIN_BATCH_SIZE',2); -define('DOMAIN_BATCH_PERIOD',30); +define('DOMAIN_BATCH_SIZE',30); +define('DOMAIN_BATCH_PERIOD',300); define('MAX_PROCESSQUEUE_TIME',900); diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking b/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking index 8435c9a..4d2f670 100644 --- a/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking +++ b/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking @@ -8,3 +8,4 @@ EOF else{ $OUT .= '# Tracking is disabled'; } +define("NOSTATSCOLLECTION",1); diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/45Queue b/root/etc/e-smith/templates/etc/phplist/config.php/45Queue new file mode 100644 index 0000000..3f7a373 --- /dev/null +++ b/root/etc/e-smith/templates/etc/phplist/config.php/45Queue @@ -0,0 +1,3 @@ +define("MANUALLY_PROCESS_QUEUE",0); +define('MAILQUEUE_THROTTLE',0); +define('USE_DOMAIN_THROTTLE',0);