[Mimedefang] [PATCH] use -mime with Sophos Sweep

Dirk Mueller dmuell at gmx.net
Mon Mar 8 17:17:45 EST 2004


Hi, 

not that anyone is usually using the commandline scanner.. anyway. BTW, there 
is a problem with most virus scanners (I've verified this problem with Sophos 
and ClamAV), that they don't always detect the raw message as given in 
Work/ENTIRE_MESSAGE when there is not a mbox marker ("From foo bar") in the 
first line. 

The code to fix this is roughly like:

    open(I, "<INPUTMSG");
    open(O, ">Work/COMPLETE_MSG");
    print O "From foo  Sun Jan 1 01:01:01 2004\n"; 
    print O <I>;
    close(I);close(O);


Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mimedefang.diff
Type: text/x-diff
Size: 1083 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20040308/d889a4f8/attachment.bin>


More information about the MIMEDefang mailing list