On Mon, Dec 11, 2006 at 11:53:06PM +0100, Jakob Curdes wrote:
> Clifton Royston schrieb:
> >>  For what it's worth, I also got a banned message warning - which is
> >>how I've got my setup configured - on your forwarded email to the list. 
> >>I can't see what's triggering it either.  Very odd.
> >>
> >>    
> >>
> >  Ah, I just saw Noel's comment confirming this theory.  It's been a
> >long time since I did anything with "lharc" - which I think is what
> >used this format - but if I remember right, one of the things it could
> >do was create an LZ-compressed self-extracting DOS executable.  This
> >may be why file classifies it as "executable", in order to err on the
> >side of safety.

  Hah.  I was entirely wrong as to the specifics.  I went browsing in my 
/usr/share/misc/magic and found:

# .COM formats (Daniel Quinlan, [EMAIL PROTECTED])
# Uncommenting only the first two lines will cover about 2/3 of COM files,
# but it isn't feasible to match all COM files since there must be at least
# two dozen different one-byte "magics".
#0      byte            0xe9            MS-DOS executable (COM)
#0      byte            0x8c            MS-DOS executable (COM)
# 0xeb conflicts with "sequent" magic
#0      byte            0xeb            MS-DOS executable (COM)
#0      byte            0xb8            MS-DOS executable (COM)

# miscellaneous formats
0       string          LZ              MS-DOS executable (built-in)
#0      byte            0xf0            MS-DOS program library data

  So it's a built-in for variant DOS .COM executables.

> Sadly, "LZ" in german  is a common acronym for "estimated delivery time" 
> ..... "Lieferzeit"

  Ouch!  Those are exactly the emails one doesn't want to miss.

  I would suggest the crudest but simplest solution is to patch your
"magic" strings configuration file for the file executable - just hunt
down and remove the part that matches the initial 'LZ'.  Hopefully you
are using a well-documented OS distribution where it will not be too
hard to find the location of the "magic" file, or enough info to edit
the format.  (Try "man magic" as a starting point.)
 
  -- Clifton

-- 
    Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to