Configuration for Adding YouMail Script to Routing Scripts
This article describes how to add youmail_spam_risk.rb script to any Routing scripts.
Last updated
Was this helpful?
This article describes how to add youmail_spam_risk.rb script to any Routing scripts.
Last updated
Was this helpful?
Devices must be installed with release 3.1.113 or later.
The management interface must have an external access to reach the YouMail server. All HTTPS requests will come from the management interface. tbchangeip command can be used from the console of the ProSBC or TMG devices to configure the DNS server.
Need to have an account at YouMail to get a Security ID (SID) and an API key. Trial accounts are available.
Download this file:
Then upload it in the system with these instructions: Import Customized Routing Script You can also copy/paste the content of the main file and create a new 'Main' Script using the Create New Script File menu
To set up a Filter, the main script needs to be modified. The main script can be either simple_routing.rb, simple_routing_sbc.rb, or any other script with the 'Main' type.
Go to the routing script section of the Web portal
Three things need to be added. At the start of the script:
In the main class:
The final 'Main' script will look like this:
There may be other scripts called by this 'Main' script. This is normal.
You need to add a new custom column to use this script. There is a default value created and it can be changed in each route afterwards.
Name: max_spam_risk_level Type attributes: integer Default: 0
The result will look like this: You can then go in each route and change this value. '2' will be accept all calls, no matter what. '0' will be to accept only calls validated by YouMail.