# netqmail configuration for SMTP servers. # Most of the configuration for qmail is done in /var/qmail/control. # Please read the documentation of qmail-control(5) and # and adjust the files in /var/qmail/control according to your needs. # In particular, that's where options for *routing* and *sending* # mail are set. # The file you're viewing is about *receiving* mail. # List the IP addresses (v4 or v6) where a SMTP daemon should # be listening. v4 and v6 are handled separately (if you have # one interface, you need to list both its IPv4 and its IPv6 # address). # 0.0.0.0 means all v4 addresses. Remove it if you want to # list v4 addresses explicitly. # :: means all v6 addresses. Remove it if you want to # list v6 addresses explicitly. IPS="0.0.0.0 ::" # TLS configuration. # If you want to enable STARTTLS, the KEYFILE variable # should point to your private key, and the CERTFILE variable # should point to your certificate. # Leave them empty if you don't want STARTTLS support. KEYFILE= CERTFILE= # Relaying configuration. # If you want qmail to act as a relay for some subnets, declare # the subnets here: for instance 1.2.3.0/24, 1.2.3.4/30, # 0001:0002:0003:0004::/64. A single IP is a subnet with a netmask # of 32 (for IPv4) or 128 (for IPv6). # DO NOT ADD PUBLIC IP ADDRESSES THAT YOU DO NOT OWN. Doing this # would make you an open relay and get you blacklisted by spam cops. RELAY_SUBNETS=""