Saya telah bekerja dengan benar postfix dengan pengaturan ini:
main.cf
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_map
transport_maps = hash:/etc/postfix/transport
relayhost = [not.exist.dom]:555
relayhost_map
# postmap hash:/etc/postfix/relayhost_map
@my.sender.exemple1.com [my.reley.hos1]:7454
@my.sender.exemple2.com [my.reley.hos2]:7454
@my.sender.exemple3.com [my.reley.hos3]:7454
@my.sender.exemple4.com [my.reley.hos4]:7454
mengangkut
# postmap /etc/postfix/transport
[email protected] emailport4:
[email protected] emailsport2:
[email protected] emailtransport1:
# with this sender_dependent_relayhost_maps not work
# * newtransport:
Pertanyaan: Bagaimana mengganti tujuan relayhost = [not.exist.dom]: 555 ke tujuan baru newtransport ?