4.39.2 Error on startup (FreeBSD 4.11, Perl 5.6.2)

Julian Field MailScanner at ecs.soton.ac.uk
Mon Feb 21 18:14:06 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Replace the line with this and let me know what happens:
  $alarm = 1 if $linkurl =~ s/[\x00-\x1f[:^ascii:]]/_BAD_/g;


Karl M. Joch wrote:

>Starting MailScanner...
>Invalid [] range "\x80-\x" before HERE mark in regex m/[\x00-\x1f\x80-\x <<
>HERE {ffff}]/
>Compilation failed in require at /opt/MailScanner/bin/MailScanner line 74.
>BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line
>74.
>Drücken Sie eine Taste zum Fortfahren...
>
>I found the "alarm = 1 if .." line in Message.pm, not sure how to change it.
>
>Many thanks for any hint.
>
>Regards,
>Karl
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>
>  
>

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list