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 }

Keep in mind that SMTP is not HTTP. A destination can have multiple
MXes, and you have no contol over TLS usage between them.

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

Reply via email to