/[smeserver]/rpms/e-smith-pop3/sme7/e-smith-pop3-2.0.0-PopSoftlimit.patch
ViewVC logotype

Contents of /rpms/e-smith-pop3/sme7/e-smith-pop3-2.0.0-PopSoftlimit.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jul 4 01:13:35 2012 UTC (11 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-pop3-2_0_0-2_el4_sme, HEAD
Softlimit is now a database variable for pop3 and pop3s [SME: 7021]

1 diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/db/configuration/defaults/pop3/Softlimit e-smith-pop3-2.2.0/root/etc/e-smith/db/configuration/defaults/pop3/Softlimit
2 --- e-smith-pop3-2.2.0.old/root/etc/e-smith/db/configuration/defaults/pop3/Softlimit 1970-01-01 01:00:00.000000000 +0100
3 +++ e-smith-pop3-2.2.0/root/etc/e-smith/db/configuration/defaults/pop3/Softlimit 2012-07-03 04:18:05.000000000 +0100
4 @@ -0,0 +1 @@
5 +40000000
6 diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/db/configuration/defaults/pop3s/Softlimit e-smith-pop3-2.2.0/root/etc/e-smith/db/configuration/defaults/pop3s/Softlimit
7 --- e-smith-pop3-2.2.0.old/root/etc/e-smith/db/configuration/defaults/pop3s/Softlimit 1970-01-01 01:00:00.000000000 +0100
8 +++ e-smith-pop3-2.2.0/root/etc/e-smith/db/configuration/defaults/pop3s/Softlimit 2012-07-03 04:18:05.000000000 +0100
9 @@ -0,0 +1 @@
10 +40000000
11 diff -ruN e-smith-pop3-2.2.0.old/root/var/service/pop3/run e-smith-pop3-2.2.0/root/var/service/pop3/run
12 --- e-smith-pop3-2.2.0.old/root/var/service/pop3/run 2012-07-03 03:56:22.000000000 +0100
13 +++ e-smith-pop3-2.2.0/root/var/service/pop3/run 2012-07-03 04:16:08.000000000 +0100
14 @@ -3,11 +3,12 @@
15 hostname=$(/sbin/e-smith/config get SystemName)
16 domain=$(/sbin/e-smith/config get DomainName)
17 fqdn="$hostname.$domain"
18 +Softlimit=$(/sbin/e-smith/config getprop pop3 Softlimit)
19
20 exec 2>&1
21 # Generate ACL files in ./peers
22 ./control/1
23 -exec /usr/local/bin/softlimit -m 5000000 \
24 +exec /usr/local/bin/softlimit -m $Softlimit \
25 tcpsvd \
26 -v \
27 -i ./peers \
28 diff -ruN e-smith-pop3-2.2.0.old/root/var/service/pop3s/run e-smith-pop3-2.2.0/root/var/service/pop3s/run
29 --- e-smith-pop3-2.2.0.old/root/var/service/pop3s/run 2012-07-03 03:56:22.000000000 +0100
30 +++ e-smith-pop3-2.2.0/root/var/service/pop3s/run 2012-07-03 04:16:07.000000000 +0100
31 @@ -3,9 +3,10 @@
32 hostname=$(/sbin/e-smith/config get SystemName)
33 domain=$(/sbin/e-smith/config get DomainName)
34 fqdn="$hostname.$domain"
35 +Softlimit=$(/sbin/e-smith/config getprop pop3s Softlimit)
36
37 exec 2>&1
38 -exec /usr/local/bin/softlimit -m 5000000 \
39 +exec /usr/local/bin/softlimit -m $Softlimit \
40 tcpsvd \
41 -v \
42 -i ./peers \

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed