services.postfix.settings.main.mynetworks
NixOS option
List of trusted remote SMTP clients, that are allowed to relay mail. Leave unset to let Postfix populate this list based on the mynetworks_style setting. https://www.postfix.org/postconf.5.html#mynetworks
type: null or (list of string)Default
null
Example
declared in: nixos/modules/services/mail/postfix.nixView source on NixOS/nixpkgs →[ "127.0.0.0/8" "::1" ]