# vim: ts=2 {...}: { networking.firewall = { allowedTCPPorts = [ # for mail protocols: 465 # SMTP SSL 995 # POP3 SSL 993 # IMAP SSL ]; }; }