Specific email headers

The following email headers are added once the email is processed by MetaDefender Email Gateway Security. These headers can be used for example for custom rules on mail servers such as spam rules using X-Metadefender-Core-Result.

Identification header

X-MD-Email-Security-Id

This header contains the unique identifier of this email within MetaDefender Email Gateway Security.

Scan information headers

X-Metadefender-Core-Url

This header contains the MetaDefender Core REST API URL used in scanning operations for this email.

Example

Server profile setting

X-Metadefender-Core-URL: http://127.0.0.1:8008

X-Metadefender-Core-Result

This header value will contain the MetaDefender Core process result. For Blocked results, the reason is also displayed (separated by a / character).

Examples

X-Metadefender-EmailSecurity-Sanitized

This header is added to all emails indicating whether the email have been sanitized by the Email Gateway Security or not (header value: True or False ).

X-Metadefender-EmailSecurity-OriginalCopy

This header is added to all original copies of blocked or sanitized emails (header value: True).

X-Metadefender-Core-Rule

This header value will contain the name (or the value Automatic) of the MetaDefender Core rule that was configured to be used to scan this email. For details see $link[page,133116,Configuration/Server profiles].

Examples

Server profile setting

Header

X-Metadefender-Core-Rule: File scan

Server profile setting

Header

X-Metadefender-Core-Rule: Automatic

External quarantine header

X-Metadefender-To-Quarantine

If external quarantining is configured then this header is added to every email that is to be quarantined. For details see $link[page,133119,Configuration/Quarantine configuration].

Custom headers

In addition to the above headers, Email Gateway Security can also add custom headers to every email processed. These headers are configured in the security policy.

For details see $link[page,133114,Configuration/Policy].

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page