On Tue, Jan 18, 2022 at 04:50:11PM +0100, Matus UHLAR - fantomas wrote:
don't use grep for master.cf, there are usuallu options on next lines
# postconf -M smtps submission
submission inet n - y - - smtpd -o
syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o
smtpd_sasl_auth_enable=yes -o smtpd_tls_auth_only=yes -o
smtpd_client_restrictions=$mua_client_restrictions -o
smtpd_helo_restrictions=$mua_helo_restrictions -o
smtpd_relay_restrictions=permit_sasl_authenticated,reject -o
milter_macro_daemon_name=ORIGINATING
smtps inet n - y - - smtpd -o
syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o
smtpd_sasl_auth_enable=yes -o
smtpd_client_restrictions=$mua_client_restrictions -o
smtpd_helo_restrictions=$mua_helo_restrictions -o
smtpd_relay_restrictions=permit_sasl_authenticated,reject -o
milter_macro_daemon_name=ORIGINATING
On 18.01.22 11:14, Ruben Safir wrote:
www2:~ # postconf -M submission
submission inet n - n - - smtpd -o
syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o
smtpd_sasl_auth_enable=yes -o smtpd_sasl_auth_enable=yes -o
smtpd_recipient_restrictions=permit_sasl_authenticated,reject
so you apparently have in master.cf
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
the smtpd_sasl_auth_enable is there two times, but that's not a problem.
you may need to override:
smtpd_client_restrictions
smtpd_helo_restrictions
smtpd_sender_restrictions
smtpd_recipient_restrictions
otherwise those from main.cf are used. according to:
https://marc.info/?l=postfix-users&m=164252079029931&w=2
you have set up smtpd_recipient_restrictions to do dnsbl checking
www2:~ # postconf -M smtp
"smtps" is not "smtp".
smtps should be mostly the same than submission, with added
smtpd_tls_wrappermode.
smtp inet n - n - - smtpd
smtp unix - - n - - smtp
although this doesn't really say what the files say or which files are
being edited.
nothing is edited yet. We are trying to explain what/how/where to put.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.