User Guide
9-74
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Actions
Related Topics
• Replace URL with Text, Based on URL Reputation, page 9-75
• Defang URL, Based on URL Reputation, page 9-76
• Redirect URL to Cisco Security Proxy, Based on URL Reputation, page 9-76
URL Category Actions
Use the categories of URLs in messages to modify the URLs or their behavior. For important details, see
Modifying URLs in Messages: Using URL Reputation and URL Category Actions in Filters, page 15-8
in Chapter 15, “URL Filtering.”
No rule is needed with these actions.
In all URL Category actions:
• msg_filter_name: is the name of the message filter.
• category-name is the URL category. Separate multiple categories with commas. To obtain correct
category names, look at a URL Category condition or action in a Content Filter. For descriptions and
examples of the categories, see About URL Categories, page 15-13.
• url_white_list is the name of a defined URL list (via the urllistconfig command.)
• unsigned-only: Enter 0 or 1.
–
1 - Apply this action to unsigned messages only
–
0 - Apply this action to all messages
Related Topics
• Replace URL with Text, Based on URL Category, page 9-74
• Defang URL, Based on URL Category, page 9-75
• Redirect URL to Cisco Security Proxy, Based on URL Category, page 9-75
Replace URL with Text, Based on URL Category
The syntax of a filter using the url-category-replace action is
<msg_filter_name>:
if <condition>
{
url-category-replace([‘<category-name1>’,’<category-name2>’,…,
‘<category-name3>’],’<replacement-text>’, ’<url_white_list>’, <unsigned-only>);
}
Where replacement-text is the text that you want to use to replace the URL.
bounce();
}