msys.dp_config.mail_from_domain_validate

March 26, 2020 Contributors

This table configures MAIL FROM domain validation.

Find below the sample excerpt included in the dp_config.lua file.

msys.dp_config.mail_from_domain_validate = {
  check = true,
  failure_code = 554,
  honor_whitelist = { "global" }
};

The elements of this configuration table are as follows:

check

Whether or not to use this configuration item.

failure_code

The SMTP code to use when validation fails. Typically this is 554.

honor_whitelist

A table listing any applicable whitelists set in the msys.dp_config.whitelist table.