$DNSBLSite & Agent "Before new mail arrives"

Hello!

I have a problem with my agent. I want to move messages with $DNSBLSite into a “junk” folder. This is my formula :

@If(@IsAvailable($DNSBLSite);@AddToFolder(“Junk”;“($Inbox)”);“”)

I have selected “Before new mail arrives”. It seems to work when I run it manually on selected documents. I have server access to run personal & restricted agents.

Pls. help or if anybody can share a formula. I do not know any lotuscript.

Thanks,

Sarah

Subject: $DNSBLSite & Agent “Before new mail arrives”

Agent FAQ has an article which has an agent that you can “borrrow” that does exactly what you need: based on match of a string moves the message into a folder. The article is called something like “out of the inbox”. Agent FAQ is under Forum FAQs on the left, if you are not familiar with it. Hope this helps!