Oh, as I read this just now:

On 23.01.22 05:05, Ruben Safir wrote:
I want it to authenticate on submition only
---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

you should remove all

smtpd_sasl_*

from /etc/postfix/main.cf, including the smtpd_sasl_path = private/auth from my former mail.

Instead you should put all that in /etc/postfix/master.cf and have something like this:


submission inet n       -       y       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_sasl_security_options=noanonymous
  -o broken_sasl_auth_clients=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o smtpd_relay_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
  -o smtpd_helo_required=no
  -o smtpd_helo_restrictions=


If it still doesn't work, then please provide the output of

- postconf -n
- postconf -M


Regards,
Markus

Reply via email to