diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT --- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100 +++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3/env/MEMLIMIT 2012-07-07 05:41:57.000000000 +0100 @@ -3,5 +3,7 @@ my $MIN_MEMORY_LIMIT = 40000000; # The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT -$OUT = (not defined ($pop3{MemLimit})) || ($pop3{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3{MemLimit}; +my $limit = $pop3{MemLimit} || $MIN_MEMORY_LIMIT; +$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT; +$OUT = "$limit"; } diff -ruN e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT --- e-smith-pop3-2.2.0.old/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-06 07:15:28.000000000 +0100 +++ e-smith-pop3-2.2.0/root/etc/e-smith/templates/var/service/pop3s/env/MEMLIMIT 2012-07-07 05:41:39.000000000 +0100 @@ -3,5 +3,7 @@ my $MIN_MEMORY_LIMIT = 40000000; # The MIN_MEMORY_LIMIT is returned unless the DB variable is defined and greater than MIN_MEMORY_LIMIT -$OUT = (not defined ($pop3s{MemLimit})) || ($pop3s{MemLimit} < $MIN_MEMORY_LIMIT) ? $MIN_MEMORY_LIMIT : $pop3s{MemLimit}; +my $limit = $pop3s{MemLimit} || $MIN_MEMORY_LIMIT; +$limit = $MIN_MEMORY_LIMIT if $limit < $MIN_MEMORY_LIMIT; +$OUT = "$limit"; }