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

修改apache設定

修改apache設定

pexelsphotolock5 進入apache資料夾,找到conf資料夾(預設是C:\AppSe...

使用JavaScript的split函式完成字串切割

使用JavaScript的s...

使用JavaScript的split 函式可以用來切割字串。 根據設定的切割點執行切開的動作。 以下...

PHP清空陣列函數

PHP清空陣列函數

pexelsphoto5555 unset(arrar) 將整個陣列清空,但之後如果再加入元素,其 ...

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