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

> >> >     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.
> 
> Apologies.   While I am remiss in not posting that particular error, I
> did post the configuration you mention back on 1/18/2022 1:27:39 PM
> in this same thread. I assumed you had seen them.   Easy enough to 
> miss from that far back.
> 
> The error I mentioned happened when I attempted to set all three options above
> with all three options set as shown.  It is pasted here:
> 
> Jan 22 17:07:18 aux postfix/smtp[32115]: fatal: specify a password table via 
> the `smtp_sasl_password_maps' configuration parameter

That's because I typo'd the first parameter name, always check
postconf(5) and look at warnings, ...  The right setting is:

    -o smtp_sasl_auth_enable=no

> I can generate new config dumps if you like, or reference the previous
> ones, which except for the changes above are IIRC virtually unchanged.

Yes, whenever you change your settings and observe a new issue, post the
new settings. 

-- 
    Viktor.

Reply via email to