Courseiva
DNS, Web and Mail ServiceshardMultiple SelectObjective-mapped

LPIC-2 DNS, Web and Mail Services Practice Question

A mail administrator is configuring Postfix to use SASL authentication for incoming connections. Which THREE parameters must be set in main.cf?

⚠ Common exam trap

Many candidates confuse `smtpd_sasl_auth_enable` (server-side) with `smtp_sasl_auth_enable` (client-side), leading candidates to select the wrong parameter for incoming authentication.

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

smtpd_sasl_security_options

B is correct because `smtpd_sasl_security_options` controls which SASL security mechanisms are allowed for the Postfix SMTP server (e.g., `noanonymous` to reject anonymous logins). This parameter is essential for enforcing authentication policy when SASL is enabled.

Answer analysis

Option-by-option breakdown

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

  • smtpd_tls_auth_only

    Why it's wrong here

    This parameter forces authentication only over TLS but is not required for SASL.

  • smtpd_sasl_security_options

    Why this is correct

    Specifies security options like noanonymous to reject anonymous logins.

  • smtpd_sasl_auth_enable

    Why this is correct

    Enables SASL authentication for the SMTP server (incoming).

  • smtp_sasl_auth_enable

    Why it's wrong here

    This parameter enables SASL for outgoing mail, not incoming.

  • broken_sasl_auth_clients

    Why this is correct

    Enables support for clients that use outdated SASL mechanisms.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.