Kaspersky Lab kaspersky mail gateway 5.5 Mode D'Emploi
![Kaspersky Lab](https://files.manualsbrain.com/attachments/6297ae902b815dbfefa39dfad6abb3e11a947bcf/common/fit/150/50/1d8636c29cd4d405860e4e56247e7bf0c11699ee24e447aad6093cb86324/brand_logo.png)
Appendix A
117
Task: enable the use of parameters specified in an external file for client
access control.
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
path>/my-recipients.list
RelayRule=deny from any to *
or, to enable transfer both of incoming and outgoing mail for those
addresses:
addresses:
[smtpgw.access]
RelayRule=allow from any to file:<absolute file
path>/my-recipients.list
path>/my-recipients.list
RelayRule=allow from file:<absolute file
path>/my-recipients.list to *
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.
[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.
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: