You are hardening a Postfix SMTP service on a small-office Linux server. The server may receive mail from anywhere, but it must relay outbound messages only for clients on the 192.168.10.0/24 subnet (plus localhost). Which single parameter in /etc/postfix/main.cf specifies the list of trusted client networks that are allowed to relay through the server?
The Postfix parameter that lists the "trusted" remote SMTP clients is mynetworks. Any IP address or subnet that appears in this list is permitted to relay mail through the Postfix SMTP daemon without further authentication. Setting
mynetworks = 192.168.10.0/24, 127.0.0.0/8
therefore limits relay privileges to hosts on the office subnet and the local loopback interface.
mydestination controls the domains that are delivered locally and has no effect on who may relay.
relayhost defines an optional smart-host that Postfix should forward non-local mail to; it does not grant relay permission.
inet_interfaces tells Postfix which interface addresses it should listen on (for example, all vs. loopback-only) but does not determine relay eligibility.
Because only mynetworks governs the set of clients that can relay, it is the correct choice.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does the 'mynetworks' parameter do in Postfix?
Open an interactive chat with Bash
How is 'mydestination' different from 'mynetworks'?
Open an interactive chat with Bash
What is the role of the 'relayhost' parameter in Postfix?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .