On 02:45 PM 11/09/2000 +0100, it would appear that Rasmus Aaen wrote:
>Hi again.
>
>I have set up the following set of rules on some of the virtual hosts on
>our server.
>
>B~filename_=_.*\pexe:virusbox [underscore inserted so you'll see this message]
[snip]


>The rules catches these attachments allright, but it seems like they are
>catching EVERY attachment. 10 emails with .jpg files attached just
>turned up in my virusbox folder.....
>
>What am I doing wrong?


You have told IMAIL the following:
In the BODY find anything containing "filename_=" ANY NUMBER OF ANY TYPE OF 
CHARACTERS, ANY PUNCTUATION, and "exe".

When files are converted for mailing, they can easily contain punctuation + 
your target extension.  The combination of the period, which is an infinite 
wild card, and the punctuation escape is what is really killing 
you.  Change your rules like this:

B~\filename_=".*\._exe:virusbox [remove the underscores]

IOW, change the "p" to a period.  NOTE:  You *MUST* be running 6.04 or 
higher for this to work.  All previous versions do not respect the \. 
sequence and you are stuck.


Tyran Ormond
Programmer/LAN Technician
Central Valley Water
[EMAIL PROTECTED]

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to