[opensuse] Postfix and accepting multiple networks
Hello, Using an internal access only postfix mail server to relay mail, however after adding new subnets to our network I'll need to add those network address ranges and, also, a single host on yet another subnet. Where in postfix or in the main.cf can I add the new address ranges and what is the correct syntax? Thank you, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James D. Parra wrote:
Hello,
Using an internal access only postfix mail server to relay mail, however after adding new subnets to our network I'll need to add those network address ranges and, also, a single host on yet another subnet. Where in postfix or in the main.cf can I add the new address ranges and what is the correct syntax?
Your question is unclear. What is the role of these networks? If they are to be allowed to use the server to relay mails, then they have to appear in a check that permits the relaying before reject_unauth_destination is called. example: /etc/postfix/main.cf: mynetworks = 192.168.1.0/24, 10.10.0.0/16, 192.168.2.1 smtpd_recipient_restrictions = permit_mynetworks check_client_access cidr:/etc/postfix/clients_allowed_relay reject_unauth_destination /etc/postfix/clients_allowed_relay: 1.2.3.4 OK All of the mentioned ip addresses are allowed to relay. If you want Postfix to listen on these networks then you need to define inet_interfaces. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 07 February 2008 20:54:53 James D. Parra wrote:
Hello,
Using an internal access only postfix mail server to relay mail, however after adding new subnets to our network I'll need to add those network address ranges and, also, a single host on yet another subnet. Where in postfix or in the main.cf can I add the new address ranges and what is the correct syntax?
mynetworks = 192.168.0.0/24, 192.168.1.0/24, 10.0.0.0/8 and so on Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anders Johansson
-
James D. Parra
-
Sandy Drobic