Henrique Martins:
> Redirection through google or dreamhost is handle through
> relayhost = [gmail-smtp.l.google.com]:587
> smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
> smtp_use_tls = yes
> smtp_tls_security_level = may
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options = noanonymous
> smtp_sasl_tls_security_options = noanonymous
> smtp_sender_dependent_authentication = yes
> sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
Use sender_dependent_default_transport_maps, and create SMTP delivery
transports in master.cf each with their own smtp_sasl_mechanism_filter
setting.
Wietse