Patch for 3.22-14

Julian Field mailscanner at ecs.soton.ac.uk
Fri Sep 20 12:14:45 IST 2002


There's a little bug in the "Archive Mail" feature when you want to archive
mail for an email address that contains a "." before the "@". If this is a
problem for you, please apply this patch to config.pl

--- config.pl.old       Fri Sep 20 11:52:18 2002
+++ config.pl   Fri Sep 20 11:52:23 2002
@@ -559,6 +559,7 @@
      s/^\s*//g; # and leading and
      s/\s*$//g; # trailing spaces
      next if /^$/; # and blank lines
+    s/^([^@]+@([-a-z0-9]+(\.[-a-z0-9+]+)+)).*$/$1/i or
      s/^([-a-z0-9]+(\.[-a-z0-9]+)+).*$/$1/i; # Use the 1st domain name
      #s/\s.*$//g; # Just use the first word
      # Store wildcards separately for speed
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list