Title: RE: Catching attachments.

Bob, and all,

I'm just after a simple solution to my question, which I will re-iterate:

Can I catch incoming messages which contain file attachments with the extentions scr, exe, pif, etc using a RegEx?

Now, I assume that the answer is YES, so my next question is:

Please show me by way of an example, how to do the above as a rule.

Please, I just want to know how to test attachment filenames using rules in SA.




Regards,

Julian Milano
IT Manager


Davenport Group
79-81 Coppin Street (PO Box 12) Richmond Victoria 3121
Ph : (613) 8416 6666

Limits of Liability and Disclaimer - Davenport Industries is not liable for any loss, damages, claims, cost demand and expense whatsoever and howsoever arising in connection with this email transmission. The receiver of this transmission shall ascertain the accuracy and suitability of this data for their purposes. Although computer virus scanning software is used by Davenport Industries, the receiver shall be responsible for their own virus protection and Davenport Industries shall not be held liable for and subsequent loss, damage, cost or expense.

This email and any attachment is confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error you are prohibited from disclosing, copying or using the information contained in it and please inform us by reply email and delete.



-----Original Message-----
From: Bob George [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 12, 2004 3:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Catching attachments.


[This came to me directly but I assume was meant for the list]

[EMAIL PROTECTED] wrote:

> But CAN it be done? If so- how?

Yes, you could run something on a box in front of the exchange box to
filter. Many on this list have done exactly this, though I have not as yet.

> I'm running Exchange V5.5 on WinNT4 and as an EXTRA protection level,
> want to class any emails that come in as SPAM if they have the file
> extentions I'm looking for.

If you simply want to flag all messages with attachments as spam, you
certainly don't need spamassassin. Procmail can do that just fine.
However, keep in mind that you're likely to flag NON-INFECTED messages
with attachments as spam. If your company policy allows attachments,
you're very likely to annoy a LOT of people.

I'm sure there are ways to do all of this with commercial software on
Windows working directly with Exchange, but I do not have the financial
resources to investigate. I'm limited to effective, open solutions.

- Bob

Reply via email to