User Guide
Appendix A 99
The task may be accomplished through addition into the configuration file
(in any location) of a line that looks like:
!include <file_name>
where <file_name> stands for an absolute path to the specified external
configuration file; the file must exist and be available for reading.
The opportunity may be used, e.g., for definition of parameters for a
certain group of users in a separate file. In that case, modification of
settings for that group would require modification of that file only. You will
not have to change the main configuration file.
• Using a record of the form: file:file_name as the parameter value.
E.g.:
Senders=file:<file_name>
RelayRule=deny from file:<file_name> to *
where <file_name> stands for an absolute path to file; the file must exist
and be available for reading.
In that case, the application will substitute the contents of the external file
line by line instead of the file: construction; the result of the substitution
will be identical to assigning the same number of values to that
parameter.
The application also substitutes empty strings, which an external file
may contain. Therefore, it is recommended to avoid such strings in a
file, because they may cause syntax errors in the application
configuration file.
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]










