On 07/07/2024 13:09, Victoriano Giralt via Postfix-users wrote:
El dom, 07-07-2024 a las 12:51 +0200, John Fawcett via Postfix-users
escribió:
On 07/07/2024 06:18, Nick Edwards via Postfix-users wrote:
...
I haven't personally used the $ syntax you're using so I can't say much
about it, and the following comment may not be totally relevant, but just
in case I'll mention that in my configuration I have no $ in front of my
restriction classes. As mentioned by Allen in that case you'll need to
use the smtpd_restriction_classes configuration to tell postfix which
custom restriction classes you're defining.
The $ syntax is the right thing to do in order to keep different
restrictions for different services in main.cf and reference them in the
corresponding service in master.cf as Nik has done.
Ok, I had suspected that it might be a valid alternative. However, the
reason I mentioned it was because my configuration without $ seems to be
working fine:
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o stress=
-o smtpd_sasl_auth_enable=yes
-o rbl_reply_maps=texthash:/etc/postfix/dnsbl_reply
-o smtpd_delay_reject=no
-o smtpd_etrn_restrictions=reject
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=submission_client_checks
-o smtpd_sender_restrictions=submission_sender_checks
-o smtpd_recipient_restrictions=submission_recipient_checks
-o smtpd_relay_restrictions=submission_relay_checks
-o smtpd_tls_security_level=encrypt
-o content_filter=smtp-amavis:[127.0.0.1]:10026
-o cleanup_service_name=ascleanup
John
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org