On 09.02.26 15:58, Alex via Postfix-users wrote:
What would that look like?
submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_recipient_restrictions={check_policy_service inet:127.0.0.1:10031
,permit_sasl_authenticated,reject}
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
-o receive_override_options=$submission_overrides
-o syslog_name=postfix/submission
-o sender_dependent_default_transport_maps=
-o sender_canonical_maps=
-o sender_canonical_classes=
-o recipient_canonical_maps=
-o recipient_canonical_classes=
-o smtpd_milters=
-o non_smtpd_milters=
-o milter_default_action=tempfail
note that if your intent is to filter spam, you should better implement
policy filter in
smtp_data_restrictions
- to find out number of recipients
and/or
smtpd_end_of_data_restrictions
- to know the total size of mail sent
I have implemented postfwd, and use it on both of those, counting total
number of recipients/mails per unit in the first and total size of mail send
in the latter
(can provide details if needed)
--
Matus UHLAR - fantomas, [email protected] ; 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.
My mind is like a steel trap - rusty and illegal in 37 states.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]