MyNixOS website logo
option

services.parsedmarc.settings

Configuration parameters to set in parsedmarc.ini. For a full list of available parameters, see https://domainaware.github.io/parsedmarc/#configuration-file.

Settings containing secret data should be set to an attribute set containing the attribute _secret - a string pointing to a file containing the value the option should be set to. See the example to get a better picture of this: in the resulting parsedmarc.ini file, the splunk_hec.token key will be set to the contents of the /run/keys/splunk_token file.

Declarations
Type
attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))
Example
{
  imap = {
    host = "imap.example.com";
    user = "[email protected]";
    password = { _secret = "/run/keys/imap_password" };
  };
  mailbox = {
    watch = true;
    batch_size = 30;
  };
  splunk_hec = {
    url = "https://splunkhec.example.com";
    token = { _secret = "/run/keys/splunk_token" };
    index = "email";
  };
}