Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a newbie in managing and development for Domino. Recently, I have request from other teams at work to set up a filter or agent for incoming mail.

This is the requirement for the request:

  1. Look for Incoming Mail addressed to #CRITICAL (mutlipurpose, internal group containing a list of engineers)
  2. For mail matching Point 1, append "For Immediate Action: " to the front of the Subject

Some restrictions I have:

  1. Only the Domino server is under my charge, not to touch on network-side or other servers
  2. No 3rd party software to be installed

I have gone through the configurations in the Domino server and the closest thing I have to filtering Email is the Router/SMTP > Restrictions... > Rules. But this is not able to fulfill Point 2 in any way.

Is this even possible using just Domino server settings, or through agents?

share|improve this question

You couldn´t modifize the subject from a email out of the box. But maybe I can show you another ways.

Some questions:

1.) Did you have a Lotus Domino Developer at Hand or did you maybe have Developer knowledge (i didn´t think thats the case, but asking wouldn´t hurt anyway)

2.) Would it be possible that you change the design from the user mailfiles?

share|improve this answer

First I would suggest by not modifying the subject line at all.

While it is possible there are implications in doing this. For example if the mails are signed, you will end up erasing that signature and replacing it with the user running the code (which could be user, server or agent ID depending who runs it).

The easiest way is to create a mail rule. Have it that if it detects the subject you are looking for, then mark it as high priority. You can also have it copy to a folder called "For immediate attention" that the user can click on.

That option allows you to do this "out of the box".

The next option is to modify the view of the inbox to flag the subject line in question. This requires coding knowledge.

share|improve this answer
Thank you for your response! I never knew about the 'signature being erase', thanks for bringing it to my attention. Currently I sort of implemented it by having incoming go to a mail-in db and have an agent sort out the processing. The guys seem to be happy with it now, but I'll take note of your suggestion if improvements/future implementations require something like that. :) – Void Sep 12 '12 at 8:12
up vote 0 down vote accepted

Used my Google-fu and managed to find some important stuff like notesSession.DocumentContext, 'Before new mail arrives' agents.

Finally implemented it in this way:

  1. Create a new database and use Mail Template on it.
  2. Assign the new database as a Mail-In DB.
  3. Create a 'Before new mail arrives' agent to process incoming mail (append text to maildoc.Subject, maildoc.Importance etc...) and forward them to the engineers
  4. Inform all involved parties about this new address that they should only send 'Critical' requests and alerts
  5. Let the agent work it's magic.

I got the 'template' from here in case anyone is interested.

share|improve this answer
If you implement a "Before new mail arrives" please make sure you understand the notes.ini tag AMgr_DisableMailLookup and the IBM Document "Caveats with 'After new mail has arrived' triggered agents on Domino servers" – BastianW Sep 12 '12 at 14:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.