services.postfix.submissionsOptions

Options for the submission config via smtps in master.cf.

smtpd_tls_security_level will be set to encrypt, if it is missing or has one of the values "may" or "none".

smtpd_tls_wrappermode with value "yes" will be added automatically.

Type
attribute set of string
Default
{
  milter_macro_daemon_name = "ORIGINATING";
  smtpd_client_restrictions = "permit_sasl_authenticated,reject";
  smtpd_sasl_auth_enable = "yes";
}
Example
{
  milter_macro_daemon_name = "ORIGINATING";
  smtpd_client_restrictions = "permit_sasl_authenticated,reject";
  smtpd_sasl_auth_enable = "yes";
  smtpd_sasl_type = "dovecot";
}
Declared
<nixpkgs/nixos/modules/services/mail/postfix.nix>