diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 --- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 1970-01-01 10:00:00.000000000 +1000 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 2006-11-24 11:17:43.485081682 +1100 @@ -0,0 +1,26 @@ +#!/usr/bin/perl -w +#---------------------------------------------------------------------- +# copyright (C) 2005 Mitel Networks Corporation +# Copyright (C) 2006 Gordon Rowell +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#---------------------------------------------------------------------- + +use esmith::tcpsvd; + +esmith::tcpsvd::configure_peers('qpsmtpd'); +esmith::tcpsvd::configure_peers('qpsmtpd', '/var/service/qpsmtpd/config/peers'); + +exit(0); diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run --- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2005-10-07 11:21:58.000000000 +1000 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2006-11-24 11:17:32.042074747 +1100 @@ -1,7 +1,7 @@ #!/bin/sh #---------------------------------------------------------------------- # copyright (C) 1999-2005 Mitel Networks Corporation -# Copyright (C) 2005 Gordon Rowell +# Copyright (C) 2005-2006 Gordon Rowell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,15 +16,14 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# Technical support for this program is available from Mitel Networks -# Please visit our web site www.mitel.com/sme/ for details. #---------------------------------------------------------------------- [ -f ./runenv ] && . ./runenv export QPSMTPD_CONFIG=/var/service/qpsmtpd/config +./control/1 + exec /usr/local/bin/softlimit -d 25000000 -s 25000000 -l 25000000 \ /usr/bin/qpsmtpd-forkserver \ -u qpsmtpd \