Welcome to the Linux Foundation Forum!

Lab 9.4 - Postfix SASL

Options
CarloMartini
CarloMartini Posts: 16
edited February 2019 in LFS211 Class Forum

Hello,
Could there maybe be a typo in the PDF for this Lab (point 3 of the solution)?

# postconf -e "smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination",
reject

What is that "reject" outside the quote? The error I see:

postconf: fatal: missing '=' after attribute name: "reject"

Comments

  • lee42x
    lee42x Posts: 380
    Options

    The reject outside the quote is a typo.
    The quote (") goes after the reject. Thank you for pointing that out, it will be corrected in the next update.

    It should be:
    postconf -e "smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject"

    You can check it by using:
    postconf smtpd_recipient_restrictions

    Thanks lee

Categories

Upcoming Training