On Sat, Mar 25, 2023 at 02:43:35PM -0400, Wietse Venema via Postfix-users wrote:

> postfix--- via Postfix-users:
> > smtp_tls_security_level = may/encrypt sets global policy for the
> > server. Is there a way to override that on a per user basis when
> > delivering mail to another public server? For example if the server
> > default is "may" can email being sent from a_select_u...@example.com
> > behave as if smtp_tls_security_level = encrypt?
> 
> Use sender_dependent_default_transport_maps to choose a delivery
> agent from:
> 
> /etc/postfix/master.cf:
>     smtp-may      unix  ..  ..  ..  ..  ..  smtp
>         -o { smtp_tls_security_level = may }
>     smtp-encrypt      unix  ..  ..  ..  ..  ..  smtp
>         -o { smtp_tls_security_level = encrypt }
>     smtp-whatever     unix  ..  ..  ..  ..  ..  smtp
>         -o { smtp_tls_security_level = whatever }

If we're to support something like this systematically, it should be
<https://datatracker.ietf.org/doc/html/rfc8689>.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to