system replacemsg nntp
Use this command to change the net news transfer protocol (NNTP) download pages.
These are HTML messages with HTTP headers.
config system replacemsg nntp edit {msg-type} # Replacement messages. set msg-type {string} Message type. size[28] set buffer {string} Message string. size[32768] set header {none | http | 8bit} Header flag. none No header type. http HTTP 8bit 8 bit. set format {none | text | html | wml} Format flag. none No format type. text Text format. html HTML format. wml WML format next end
Additional information
The following section is for those options that require additional explanation.
buffer <message>
Type a new replacement message to replace the current replacement message. Maximum length 32,768 characters.
nntp message types
nntp-dl-blocked
Antivirus File Filter is enabled for NNTP blocks a file attached to an NNTP message that matches an entry in the selected file filter list. The FortiGate unit sends the nntp-dl-blocked message to the FTP client.
nntp-dl-filesize
Antivirus Oversized File/Email is set to Block for NNTP. The FortiGate unit removes an oversized file from an NNTP message and replaces the file with the nntp-dl-filesize message.
nntp-dlp-ban
In a DLP sensor, a rule with action set to Ban replaces a blocked NNTP message with this message. The nntp-dlp-ban message also replaces any additional NNTP messages that the banned user sends until they are removed from the banned user list.
nntp-dlp-subject
The nntp-dlp-subject message is added to the subject field of all NNTP messages replaced by the DLP sensor Block, Ban, Quarantine IP address, and Quarantine interface actions.
Replacement message tags
Replacement messages can include replacement message tags. When users receive the replacement message, the replacement message tag is replaced with content relevant to the message.
%%FILE%%
The name of a file that has been removed from a content stream. This could be a file that contained a virus or was blocked by antivirus file blocking. The file may have been quarantined if a virus was detected. %%FILE%% can be used in virus and file block messages.
%%QUARFILENAME%%
The name of a file that has been removed from a content stream and added to the quarantine. This could be a file that contained a virus or was blocked by antivirus file blocking. %%QUARFILENAME%% can be used in virus and file block messages.
%%VIRUS%%
The name of a virus that was found in a file by the antivirus system. %%VIRUS%% can be used in virus messages.