Skip to main content
cysaw
Staff & Editor
Staff & Editor
Dec 7, 2020 8:14 AM UTC

Technical Tip: Remove hyperlinks

  • Oct 12, 2026 10:54 AM UTC
  • 0 replies
  • 4732 views
  • Translate All

Description

 

This article describes how to remove all hyperlinks in any received email unless the URL matches the URL exempt list.

 

Scope

 

FortiMail.

Solution


From the GUI, go to Profile -> Content -> Content and create a new 'Content Profile'.

 

1.png


Go to Content Disarm and Reconstruction, enable the 'HTML content', and set 'Remove' for the URL.


2.png


 

Apply the new content profile to the recipient policy accordingly.

 

3.png

 

Go to Security -> Disarm & Reconstruction -> URL -> URL Removal -> Category and choose the URL filter profile 'all'.

 

4.png

 


Go to Security -> URL Filter -> Override Rating.

 

5.png

 

Create a new Override Rating. For this example, the URL www.fortinet.com is exempted as below.

 

 

6.png

 

In the URL Category Profile 'all', make sure the category for 'local' is disabled to exclude this category from being removed.

 

ALL_WEBFILTER.JPG

 

Result:

All the URLs are removed except the URL https://www.fortinet.com/ because it is matched to the URL exempt list.

 

kb_19475_4.png

 

kb_19475_5.png

 

kb_19475_6.png


FortiMail version 8.0.x: 

Office File Metadata and HTML Hidden Content Handling feature is added.

GUI:

397c5f5d.png


CLI:

The metadata-type-option can be configured and customized:

FML#config file content-disarm-reconstruct

FML(content-disarm~r) # set metadata-type-option 

  --- current value ---
metadata-type-option:  office-template office-property office-version office-comment office-track-change office-field office-hidden-text office-footnote office-watermark 

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024