Kaspersky Lab kaspersky mail gateway 5.5 Mode D'Emploi

Page de 154
Appendix A
 
117
 
 
Task: enable the use of parameters specified in an external file for client 
access control. 
 
Solution: in order to perform the task, you should do the following: 
1. Create 
my-recipients.list  text file with the a list of addresses for 
users, who should receive the mail using the following format: 
localpart1@my.domain 
localpart2@my.domain 
... 
localpartN@my.domain 
2.  Assign the following value for the RelayRule parameter in the 
configuration file: 
[smtpgw.access] 
RelayRule=allow from any to file:<absolute file 
path>/my-recipients.list 
RelayRule=deny from any to * 
or, to enable transfer both of incoming and outgoing mail for those 
addresses: 
[smtpgw.access] 
RelayRule=allow from any to file:<absolute file 
path>/my-recipients.list 
RelayRule=allow from file:<absolute file 
path>/my-recipients.list to * 
RelayRule=deny from any to * 
 
External files cannot be used to define parameters specified in the 
[updater.*] sections and [path],  [locale] sections containing common 
parameters. 
 
In case of remote control via Webmin module, the use of external 
configuration files is not supported and may cause incorrect application 
behaviour. 
A.4. Control signals for the 
smtpgw
 
component 
You can manipulate the application using the following special control signals: