內容目錄 Toggle用途: 避免被某些 Mail Server 擋信,當寄到特定的 Mail Server時, 使用 ISP ( 或任何能 Relay ) 的 Mail Server 幫轉寄。1、/etc/postfix/main.cf: # 開啟 smtp sasl auth。smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd transport_maps = hash:/etc/postfix/transport smtp_sasl_security_options=noanonymous2、/etc/postfix/transport: # 設定目的為 [email protected] 及 所有msa.hinet.net 的郵件都 # 經由 msa.hinet.net 的 Mail Server Relay。[email protected] smtp:[msa.hinet.net] msa.hinet.net smtp:[msa.hinet.net]3、/etc/postfix/sasl_passwd: # 設定經由 msa.hinet.net 的 Mail Server Relay 時認證的帳號密碼。[msa.hinet.net] username:password 用途: 避免被某些 Mail Server 擋信,當寄到特定的 Mail Server時, 使用 ISP ( 或任何能 Relay ) 的 Mail Server 幫轉寄。 1、/etc/postfix/main.cf: # 開啟 smtp sasl auth。 smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd transport_maps = hash:/etc/postfix/transport smtp_sasl_security_options=noanonymous 2、/etc/postfix/transport: # 設定目的為 [email protected] 及 所有msa.hinet.net 的郵件都 # 經由 msa.hinet.net 的 Mail Server Relay。 [email protected] smtp:[msa.hinet.net] msa.hinet.net smtp:[msa.hinet.net] 3、/etc/postfix/sasl_passwd: # 設定經由 msa.hinet.net 的 Mail Server Relay 時認證的帳號密碼。 [msa.hinet.net] username:password 文章導覽 Postfix Mail Gateway linux tcp參數說明