Courseiva
Question 142 of 507
DNS, Web and Mail ServiceseasyMultiple ChoiceObjective-mapped

LPIC-2 DNS, Web and Mail Services Practice Question

Which Postfix configuration parameter specifies the domain that is appended to unqualified email addresses?

⚠ Common exam trap

A common mix-up: candidates confuse `myorigin` with `mydomain` or `myhostname`, assuming the domain appended comes from the server's hostname rather than the explicit parameter designed for address qualification.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

myorigin

The `myorigin` parameter in Postfix controls the domain that is appended to locally-originated mail from unqualified addresses (e.g., 'user' becomes 'user@example.com'). By default, it uses the value of `myhostname`, but it is commonly set to `$mydomain` to append the domain rather than the full hostname. This ensures that outbound mail has a consistent and clean sender domain.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • myhostname

    Why it's wrong here

    myhostname sets the server's hostname, not the domain for appending.

  • myorigin

    Why this is correct

    myorigin specifies the domain to append to unqualified addresses.

  • mydomain

    Why it's wrong here

    mydomain sets the local domain but does not automatically append it to unqualified addresses.

  • mydomainname

    Why it's wrong here

    mydomainname is not a valid Postfix parameter.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 25, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.