On Sat, Jan 22, 2022 at 05:11:02PM -0500, Joe Acquisto-j4 wrote:

> > Therefore your master.cf file needs to have an least one additional
> > smtp-based transport, with either SASL disabled entirely, and/or 
> > sender-dependent authentication disabled, or perhaps a variant
> > password table...  Below all three are set to "discourage" use
> > of SASL:
> > 
> >     noauth     unix  -       -       n       -       -       smtp
> >         -o smtp_sasl_enable=no
> >         -o smtp_sender_dependent_authentication=no
> >         -o smtp_sasl_password_maps=
> 
> My initial attempts did not produce the desired result.   Do I need to
> set all three options or just the first?

Any one of the three is logically sufficient, but the smtp(8) delivery
agent will be unhappy with SASL enabled and no password map, so the last
alone won't work.

> When I use all three log show invalid comment for smtp

You need to as quickly as possible get out of the habit of
non-substantive problem reports.  If you post no logs and/or
no associated configuration data (postconf -nf/postconf -Mf)
it didn't happen, and nobody can help you.

> >     internal.example  noauth:[gateway.example]
> 
> This I took to be an entry in /etc/postfix/transport.  Is that correct?

Naturally.

-- 
    Viktor.

Reply via email to