Out of Office Agent and Inox

We have a new request from the end users. Currently we are using a Spam filter with Lotus Notes. Anything that is marked as spam is moved to a specific folder and the spam never shows up in the end users Inbox. This is fine.

The problem is the Out of Office agent. It runs against all new email. Even the ones that have been marked as spam.

I wanted to know if I can have the agent only run against emails in the Inbox folder? If so then how would I go about changing the agent to accomplish this?

Thanks,

E

Subject: Out of Office Agent and Inox

I’m not sure you can change the existing out of office agent, but you could create a new one and change the enable action to run your custom agent.

It can be fairly simple; just use the document selection area in the programmers pane. Click the Add Condition button, and choose In Folder. Then use Inbox as the folder. You can use a simple action agent with Reply To Sender as the action.

Subject: Out of Office Agent and Inox

You could - cusotmize the ooo agent to ignore messages tagged as spam

  • customize the “put in spam folder” process to set $AutoForward=“1” on the spam message

If you are using the $DNSBLSite filed then you could change the ooo agent code as follows:

Old:

'// if the note has been sent by an agent…

If doc.HasItem(“$AutoForward”) Or doc.SentByAgent Then

  	Exit Function

End If

New:

'// if the note has been sent by an agent…

If doc.HasItem(“$AutoForward”) Or (doc.SentByAgent) or (doc.~$DNSBLSite<>“”) Then

  	Exit Function

End If

Subject: RE: Out of Office Agent and Inox

Everyone thanks for your input.

Guido I think this will be a good place to start. I will test it out next Wednesday and post my results.

In the mean time, is the way the OOO agent coding a typical object oriented coding?

Thanks,

E

Subject: Out of Office Agent and Inox

There is an option on the exceptions tab that says “Do not automatically reply to emails from internet addresses” or something similar. Have your users go there and make sure they click on it, then no emails will be replied to from outside. You can also go into the template and mark that as always being marked.

But then again. You may want them to go to other outside emails, if not, this can work for you.