PrepAway - Latest Free Exam Questions & Answers

What postfix configuration setting defines the domains for which Postfix will deliver mail locally?

CORRECT TEXT
What postfix configuration setting defines the domains for which Postfix will deliver mail locally?
(Please provide only the configuration setting name with no other information)

PrepAway - Latest Free Exam Questions & Answers

Answer: mydomain

2 Comments on “What postfix configuration setting defines the domains for which Postfix will deliver mail locally?

  1. Ektoras says:

    Correct answer is mydestination

    1 /etc/postfix/main.cf:
    2 myhostname = hostname.example.com
    3 myorigin = $mydomain
    4 relayhost = $mydomain
    5 inet_interfaces = loopback-only
    6 mydestination =

    Translation:

    Line 2: Set myhostname to hostname.example.com, in case the machine name isn’t set to a fully-qualified domain name (use the command “postconf -d myhostname” to find out what the machine name is).

    Line 2: The myhostname value also provides the default value for the mydomain parameter (here, “mydomain = example.com”).

    Line 3: Send mail as “user@example.com” (instead of “user@hostname.example.com”), so that nothing ever has a reason to send mail to “user@hostname.example.com”.

    Line 4: Forward all mail to the mail server that is responsible for the “example.com” domain. This prevents mail from getting stuck on the null client if it is turned off while some remote destination is unreachable. Specify a real hostname here if your “example.com” domain has no MX record.

    Line 5: Do not accept mail from the network.

    Line 6: Disable local mail delivery. All mail goes to the mail server as specified in line 4.




    0



    0

Leave a Reply