Postfix 有冇人識set 唔同domain 用唔同 gmail?

現我個 main.cf

relayhost = [smtp.gmail.com]:587
smtp_connection_cache_destinations = smtp.gmail.com
relay_destination_concurrency_limit = 1
default_destination_concurrency_limit = 5
#Per user or domain auth map
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_map
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_use_tls = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
tls_random_source = dev:/dev/urandom
smtp_tls_scert_verifydepth = 5
smtp_tls_key_file=/etc/postfix/postfixclient.key
smtp_tls_cert_file=/etc/postfix/postfixclient.pem
smtp_tls_enforce_peername = no
smtpd_tls_req_ccert =no
smtpd_tls_ask_ccert = yes
soft_bounce = yes

relayhost_map 同 sasl_passwd 個 formart 應是點?

我用:
transport_maps = hash:/etc/postfix/transport
之後 transport 度係:
domain1.com smtp:smtp.domain1.com:25
.domain1.com smtp:smtp.domain1.com:25
domain2.com smtp:smtp.domain2.com:25
.domain2.com smtp:smtp.domain2.com:25

不過set咗好多年, 呢排好少用唔知仲得唔得.

TOP