Problems with the latest 4.80.7-1 MS

Jules Field MailScanner at ecs.soton.ac.uk
Sun Jun 20 11:05:25 IST 2010


All fixed.

Either apply this patch to /usr/lib/MailScanner/MailScanner/Config.pm or 
else download and install the new beta release I'm just about to put out 
(4.80.9).

You can apply the patch by saving the text below into a text file (for 
example /tmp/patch.txt) and then do this:
cd /usr/lib/MailScanner/MailScanner
patch < /tmp/patch.txt

That's it. Then restart MailScanner.

******* PATCH STARTS (remove this line) *******
--- Config.pm    2010-06-02 09:17:22.000000000 +0100
+++ Config.pm.new    2010-06-20 10:58:54.000000000 +0100
@@ -2158,7 +2158,12 @@
        unless ($nodefaults) {
          # Override with values from SQL
          MailScanner::ConfigSQL::ReadConfBasic($filename,\%File);
-        %PercentVars = %MailScanner::ConfigSQL::PercentVars;
+        my($k,$v);
+        # Override existing %vars% with ones from SQL
+        while (($k,$v) = each %MailScanner::ConfigSQL::PercentVars) {
+          $PercentVars{$k} = $v;
+        }
+        # %PercentVars = %MailScanner::ConfigSQL::PercentVars;

          # Setup LDAP Connection
          ($LDAP, $LDAPserver, $LDAPbase, $LDAPsite) = ConnectLDAP();
******* PATCH ENDS (remove this line) *******

On 20/06/2010 10:06, Julian Field wrote:
> Yes, that was my guess too. I'll have to check on this, it may have been introduced by a change in the config compiler that had to be introduced in 4.80 to resolve a problem with the DB config code.
>
> I'll take another look and see if I can find it for you.
>
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list