Loading...

設定Postfix使用SMTP Server當作relay主機

Temperature: 0 °C

Mark ChangMark Chang
author_tools

在/etc/postfix/main.cf 裡修改relayhost
將#relayhost = [an.ip.add.ress]修改為以下內容

relayhost = relay SMTP主機的IP或Domain Name


設定Postfix使用SMTP Server當作relay主機
另外,如果遇到有SPAM設定的環境,可同步將#myorigin = $mydomain修改為真實domain
myorigin = relay Domain Name

myorigin為發信時所顯示的『發信源主機』項目

設定Postfix使用SMTP Server當作relay主機
然後重新啟動postfix即可
service postfix restart

參考來源:鳥哥的 Linux 私房菜 二十二章、郵件伺服器: Postfix Url link

#故事  #postfix  #SMTP設定  #郵件伺服器  
https://innstory.com/story-設定Postfix使用SMTP_Server當作relay主機-2700
Linux

Prev
 使用CSS_讓ul_li_橫向水平

Next
PHP如何設定HTTP安全標頭 

About the Author

Mark Chang

離不開電腦的宅男

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

在PHP中如何將NAN轉換為0

在PHP中如何將NAN轉換為...

首先我會得到NAN是因為我有一個計算結果為的值然後我讓他除以,結果就得到了NAN 首先甚麼是NAN?...

使用CSS讓Youtube自動適應寬度跟高度

使用CSS讓Youtube自...

pexelsphotomedia 在播放Youtube影音的時候,常使用 iframe 的方式崁入網...

.htaccess 使用gzip壓縮網站加快加載速度並節省頻寬

.htaccess 使用gz...

modgziphttp://schroepl.net/pro...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format