Different rules for files within archives

Mark Sapiro mark at msapiro.net
Tue Mar 31 20:02:44 IST 2009


Scott Silva wrote:

>on 3-31-2009 9:56 AM Mark Sapiro spake the following:
>> 
>> Now for the problem. Starting MailScanner gives:
>> 
>> Starting MailScanner:       Syntax error(s) in configuration file: at
>> /usr/lib/MailScanner/MailScanner/Config.pm line 1962
>> Unrecognised keyword "unpackmicrosoftdocuments" at line 498 at
>> /usr/lib/MailScanner/MailScanner/Config.pm line 1965
>> Warning: syntax errors in /etc/MailScanner/MailScanner.conf. at
>> /usr/lib/MailScanner/MailScanner/Config.pm line 1970
>> 
>> Apparently this version doesn't like
>> 
>> Unpack Microsoft Documents = yes
>> 
>Did you check if you needed to upgrade the languages.conf file?


Thanks for the reminder. I did find two items in en/languages.conf that
weren't in local/languages.conf (I hadn't checked this for a long
time) and added them, but I still have the above error. This time, I
just uncommented the line in MailScanner.conf that I had temporarily
commented and ran MailScanner --lint and got

Syntax error(s) in configuration file: at
/usr/lib/MailScanner/MailScanner/Config.pm line 1962
Unrecognised keyword "unpackmicrosoftdocuments" at line 498 at
/usr/lib/MailScanner/MailScanner/Config.pm line 1965
Warning: syntax errors in /etc/MailScanner/MailScanner.conf. at
/usr/lib/MailScanner/MailScanner/Config.pm line 1970


Just as before.

The problem appears to my naive eye to be that between 4.75.9-2 (the
version I upgraded from) and 4.76.1-1 an "unpackmicrosoftdocuments"
entry disappeared from /usr/lib/MailScanner/MailScanner/ConfigDefs.pl

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list