SMTP+Postfix configuration example

ESETS can be configured in two ways. In this example, we will demonstrate how to use both when configuring the SMTP module, leaving you the choice of your preferred configuration method:

Using the ESETS configuration file:

agent_enabled = yes
listen_addr = "localhost"
listen_port = 2526
server_addr = "localhost"
server_port = 2525

Using the web interface:

Figure 6-3. ESETS - Configuration > SMTP Agent.


Always remember to save your new configuration by clicking Save changes. To apply your new changes, click the Apply changes button in the Configuration sections panel.

There are various scanner options you can use to customize the scanning environment: actions, limits, modification masks, targets. Here is an example of a two-way filter based on a spam subject prefix:

action_as = "defer"
as_eml_subject_template = "[%asstatus%]"

See handle object policy for more information.

Figure 6-4. SMTP Scanner options.