This thread is archived
2,135 Views 5 Replies Last post: Jul 24, 2006 8:59 AM by Joel Rosinbum RSS
Neil Rodrigues Novice 10 posts since
May 11, 2006
Currently Being Moderated

Jul 20, 2006 1:07 PM

Out of Office Interceptor

Hello,

 

I am trying to create either a Global Interceptor or Message Interceptor to block incoming messages that have "Out of Office" or "Vacation Alert" in the subject field.  Is there a way to do this with any of the existing 5.0.4 interceptors?

 

Neil

Joel Rosinbum Jive Employee 680 posts since
Jan 26, 2002
Currently Being Moderated
Jul 20, 2006 3:24 PM in response to: Neil Rodrigues
Re: Out of Office Interceptor

Hi,

 

I am assuming that you are using an email gateway and trying to find a way to not place out of office messages into the forums.  You might want to find a way to intercept them on the email side of things.

 

You could use the keyword interceptor to trap these messages but I would recommend implementing a custom interceptor.  Look at the existing interceptors and the java docs located at http://www.jivesoftware.com/builds/docs/latest/documentation/ for a good place to start.

 

Cheers,

Joel

Joel Rosinbum Jive Employee 680 posts since
Jan 26, 2002
Currently Being Moderated
Jul 21, 2006 9:24 AM in response to: Neil Rodrigues
Re: Out of Office Interceptor

Hi Neil,

 

I would highly recommend the regex editor.  The keyword interceptor doesn't really work that well with strings.  It is designed to work with words only.  You might try escaping the quotes with /'s.  Again I would use the regex interceptor.

 

If you are having a hard time understanding regex syntax there are some great resources on the web. 

http://www.regular-expressions.info/

http://en.wikipedia.org/wiki/Regular_expression

just to name a few.

 

Cheers,

Joel

Joel Rosinbum Jive Employee 680 posts since
Jan 26, 2002
Currently Being Moderated
Jul 24, 2006 8:59 AM in response to: Neil Rodrigues
Re: Out of Office Interceptor

Neil,

I would recommend using the regular expression filter instead then.  Like I mentioned earlier the keyword filter is not designed to work on strings.  If that is not working right you should also be able to configure your mail server to drop/delete "out of office" messages from the forums inboxes.

 

Cheers,

Joel

More Like This

  • Retrieving data ...

Bookmarked By (0)