1 |
slords |
1.1 |
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 |
2 |
|
|
--- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 1970-01-01 10:00:00.000000000 +1000 |
3 |
|
|
+++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/control/1 2006-11-24 11:17:43.485081682 +1100 |
4 |
|
|
@@ -0,0 +1,26 @@ |
5 |
|
|
+#!/usr/bin/perl -w |
6 |
|
|
+#---------------------------------------------------------------------- |
7 |
|
|
+# copyright (C) 2005 Mitel Networks Corporation |
8 |
|
|
+# Copyright (C) 2006 Gordon Rowell <gordonr@gormand.com.au> |
9 |
|
|
+# |
10 |
|
|
+# This program is free software; you can redistribute it and/or modify |
11 |
|
|
+# it under the terms of the GNU General Public License as published by |
12 |
|
|
+# the Free Software Foundation; either version 2 of the License, or |
13 |
|
|
+# (at your option) any later version. |
14 |
|
|
+# |
15 |
|
|
+# This program is distributed in the hope that it will be useful, |
16 |
|
|
+# but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 |
|
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 |
|
|
+# GNU General Public License for more details. |
19 |
|
|
+# |
20 |
|
|
+# You should have received a copy of the GNU General Public License |
21 |
|
|
+# along with this program; if not, write to the Free Software |
22 |
|
|
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
|
|
+#---------------------------------------------------------------------- |
24 |
|
|
+ |
25 |
|
|
+use esmith::tcpsvd; |
26 |
|
|
+ |
27 |
|
|
+esmith::tcpsvd::configure_peers('qpsmtpd'); |
28 |
|
|
+esmith::tcpsvd::configure_peers('qpsmtpd', '/var/service/qpsmtpd/config/peers'); |
29 |
|
|
+ |
30 |
|
|
+exit(0); |
31 |
|
|
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 |
32 |
|
|
--- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2005-10-07 11:21:58.000000000 +1000 |
33 |
|
|
+++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/run 2006-11-24 11:17:32.042074747 +1100 |
34 |
|
|
@@ -1,7 +1,7 @@ |
35 |
|
|
#!/bin/sh |
36 |
|
|
#---------------------------------------------------------------------- |
37 |
|
|
# copyright (C) 1999-2005 Mitel Networks Corporation |
38 |
|
|
-# Copyright (C) 2005 Gordon Rowell <gordonr@gormand.com.au> |
39 |
|
|
+# Copyright (C) 2005-2006 Gordon Rowell <gordonr@gormand.com.au> |
40 |
|
|
# |
41 |
|
|
# This program is free software; you can redistribute it and/or modify |
42 |
|
|
# it under the terms of the GNU General Public License as published by |
43 |
|
|
@@ -16,15 +16,14 @@ |
44 |
|
|
# You should have received a copy of the GNU General Public License |
45 |
|
|
# along with this program; if not, write to the Free Software |
46 |
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
47 |
|
|
-# |
48 |
|
|
-# Technical support for this program is available from Mitel Networks |
49 |
|
|
-# Please visit our web site www.mitel.com/sme/ for details. |
50 |
|
|
#---------------------------------------------------------------------- |
51 |
|
|
|
52 |
|
|
[ -f ./runenv ] && . ./runenv |
53 |
|
|
|
54 |
|
|
export QPSMTPD_CONFIG=/var/service/qpsmtpd/config |
55 |
|
|
|
56 |
|
|
+./control/1 |
57 |
|
|
+ |
58 |
|
|
exec /usr/local/bin/softlimit -d 25000000 -s 25000000 -l 25000000 \ |
59 |
|
|
/usr/bin/qpsmtpd-forkserver \ |
60 |
|
|
-u qpsmtpd \ |