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

Linux下查詢已安裝的PHP版本

Linux下查詢已安裝的PH...

紀錄PHP在Linux底下版本查詢方式 以Ubuntu為例 root@ubuntu:~# php –...

解決iphone 不能使用colorbox 滑動的方式

解決iphone 不能使用c...

pexelsphotoiphone #cboxLoadedContent, #cboxContent...

使用jQuery阻止input直接按Enter就送出表單

使用jQuery阻止inpu...

使用表單是傳送資料裡經常會用到的方式。 這時當使用者輸入表單後習慣上按下Enter,則會將表單內容送...

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