aboutsummaryrefslogtreecommitdiffstats
path: root/config/postfix/postfix_queue.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/postfix/postfix_queue.php')
-rwxr-xr-xconfig/postfix/postfix_queue.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/postfix/postfix_queue.php b/config/postfix/postfix_queue.php
index ce4d6cc6..914ad88e 100755
--- a/config/postfix/postfix_queue.php
+++ b/config/postfix/postfix_queue.php
@@ -29,6 +29,11 @@
*/
require("guiconfig.inc");
+
+$uname=posix_uname();
+if ($uname['machine']=='amd64')
+ ini_set('memory_limit', '250M');
+
function get_cmd(){
if ($_REQUEST['cmd'] =='mailq'){
#exec("/usr/local/bin/mailq" . escapeshellarg('^'.$m.$j." ".$hour.".*".$grep)." /var/log/maillog", $lists);