Solved

How to filter out messages that contain a particular attachment

Posted on 2003-11-07
8
467 Views
Last Modified: 2013-12-18
I'm using Notes version 5.0.11.  Every day, I receive about 50 spam messages that have different senders and different subject lines, but all contain the same attachment -- say, file.htm.

I'd like Notes to automatically delete all incoming messages that contain this file. I've toyed around with the Rules feature, but it doesn't seem to be able to target attachments.

I've heard it is possible to write code for Notes (similar to VBA in MS Office). Can Notes be programmed with this kind of behavior? I'm a software developer (primary exp. with Java, C#, C, etc.), so I can understand coding explanations.
0
Comment
Question by:smitty22
8 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9703276
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9703284
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 9704337
I simply use the rules.

1) All stuff that has my name in cc or bcc goes into 1 folder.

2) All stuff that is coming from *.com  goes into another folder.

3) All known addresses go into a 3rd folder .

This works well since 99% of my mail is internal NOTES, rather than SMTP.

I hope this helps !
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 9712089
If ur using TrendMicro as Anti virus for ur Notes server, then u can set those attachments blocking in the database.

Just name the attachment ext., like .zip, .exe then all the mails going out and coming in will be blocked.

Hope it helps.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 31

Accepted Solution

by:
qwaletee earned 250 total points
ID: 9712343
Not just Trend Micro.  All the e-Mail content scnners can do this.

The following delivery agent will do this as well:

constgoAwayFile = "deadly.pif"
Dim s as new notesSession
dim db as notesDatabase
Set db = s.currentDatabase
Dim docs as notesDocumentCollection
Set docs = db.unprocessedDocuments
Dim doc as notesDocument
set doc = docs.getFirstDocument
dim attachment as notesEmbeddedObject
do until doc is nothing
   set attachment = doc.getAttachment(goAwayFile)
   if not (attachment is nothing) then
      doc.putInFolder "SPAM"
   end if
   s.updateProcessedDoc doc
   set doc = docs.getNextDocument(docs)
Loop
0
 
LVL 2

Author Comment

by:smitty22
ID: 9717544
SysExpert>
I had thought of doing something like this but was stymied b/c for some reason none of the Rules I create have any effect. It has bothered me for some time now, so I think I will post another question on how to get the Rules to work.

Qwaletee>
I like where you're going with this. What would I need in order to implement this? I have only the Lotus Notes client. I've heard something about a "Designer" for lotus -- is that right?
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 9717918
smitty one that I provided are all FREE !
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9719419
Yes, you need Designer client.  Separate licensed product (though it is about 90% Notes client).

Note typo in first line:
const goAwayFile = "deadly.pif"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now