熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Oracle >> 正文

如何在撥號環境下使用postfix

2022-06-13   來源: Oracle 

  有台撥號上網的機器如何在它上面設置postfix使之在撥號成功後可以發送隊列中的信件?
  在postfix站點上有個討論主題解決方法是在maincf中做如下設置
  # your ISPs SMTP server name or IP address goes here
  relayhost = smtpre
  #
  # this line disables spontaneous PPP connections
  defer_transports = smtp
  #
  # this line disables dns lookups for mail As you are using a relay you really dont need DNS If you use this you should use an ip address for $relayhost
  disable_dns_lookups = yes
  並在撥號腳本中加入
  /usr/sbin/sendmail q
From:http://tw.wingwit.com/Article/program/Oracle/201311/16644.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.