Kaspersky Lab kaspersky mail gateway 5.5 Mode D'Emploi

Page de 154
Anti-virus protection and spam filtration
 45
 
 
Users may set up their mail clients to transfer the labeled 
messages to corresponding directories. 
•  blocking of delivery for messages identified as spam or probable spam 
•  saving of messages identified as spam or probable spam in the 
quarantine directory. 
5.2.1. Marking of messages containing 
spam 
 
Task: 
•  Filter spam; specify the standard degree of filtering intensity. 
•  Modify the Keywords header of messages identified as spam or 
probable spam for users in the managers group. 
•  Modify the Subject header of messages identified as spam or 
probable spam for all other users. 
 
Solution: to perform the above task, do the following: 
1.  Specify the level of filtering intensity. To do so, specify the following 
parameter value in the [smtpgw.antispam] section of the 
configuration file: 
SpamDetection=standard 
2. Create 
the 
[smtpgw.group:managers] section, which should 
define the rules of mail processing for users included into the 
managers group: 
[smtpgw.group:managers] 
Recipients=*@managers.mycompany.com 
CheckSpam=true 
ActionSpam=keywords 
Mail processing rules for all other users will be defined by the 
[smtpgw.policy] section: 
[smtpgw.policy] 
CheckSpam=true 
ActionSpam=subject