GFI AVG Anti-Virus Updates for GFI MailSecurity, RNW, 250-499u, DEU AVGREN250-499 User Manual

Product codes
AVGREN250-499
Page of 126
 
106 
 GFI MailSecurity 2011 
Miscellaneous 
when an email gets quarantined or modified. 
Templates 
There are two types of templates: 
Tag-based templates 
U
se tags (in the form "[TAGNAME]”) to indicate fields which need to be 
replaced with dynamic data. 
XSL-based templates 
An XSL style sheet, used in conjunction with dynamically created XML data to 
generate the notification message. 
Notification email messages are generated from templates stored in: 
<GFI MailSecurity installation path>\ContentSecurity\MailSecurity\Templates. 
The templates contain the text of notification messages, as well as field names that are 
replaced by dynamic values upon generation of the notification message. 
9.5.1  Customizing notification templates 
NOTE 1: Always take a backup of templates before modification. 
NOTE 2: Before modifying XSL-based templates, make sure you are proficient in XML and 
XSL. Incorrect code can cause GFI MailSecurity to not send notification emails. 
NOTE 3: Template folder names and template file names are predefined and should not be 
changed. 
To customize a notification template: 
1. Navigate to: <GFI MailSecurity installation path>\ContentSecurity\MailSecurity\Templates. 
2. Open the folder containing the template to modify. Each folder can contain any of the 
following files: 
html.txt 
An HTML-type body template 
text.txt 
A plain text body template 
subject.txt 
Subject template 
3. Take a backup of the template(s) to modify. 
4. Open the template to modify in a text editor (for example, Notepad) and customize 
accordingly. 
5. Save changes. 
NOTE: To check whether an XSL based template is well formed, save a copy of the 
template in .xml extension and load it in Microsoft Internet Explorer. If the template is well 
formed, the browser loads the code correctly. If it contains errors, the browser specifies the 
location/code where issues are located. 
Variables used in XSL-based notification templates 
Notify user and notify manager notifications (in notifyuser folder and notifymanager folder 
respectively).