aboutsummaryrefslogtreecommitdiffstats
path: root/config/postfix/postfix_queue.php
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-15 12:16:54 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-05-15 12:16:54 -0300
commita569c2e5256e12beabf81c756513fee70a119a5b (patch)
tree17d7d1a87391239b3c855deb7764f42351b487ba /config/postfix/postfix_queue.php
parentc54b1eb082de236cabfae77cb8968dd66fdb8d18 (diff)
downloadpfsense-packages-a569c2e5256e12beabf81c756513fee70a119a5b.tar.gz
pfsense-packages-a569c2e5256e12beabf81c756513fee70a119a5b.tar.bz2
pfsense-packages-a569c2e5256e12beabf81c756513fee70a119a5b.zip
postfix - fixes on schedule check and sender_client_permissions
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);