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

CSS3濾鏡Filter的十種特效

CSS3濾鏡Filter的十...

CSS 濾鏡效果 Filters 主要是運用在圖片上,以實現一些特效。 grayscale 灰階 s...

使用手機將網址分享到 Line時,如何強制使用預設(外部)瀏覽器開啟?

使用手機將網址分享到 Lin...

如標題,當厭惡了每次在line上面分享demo網址給客戶時點選網址就會使用line的瀏覽器開啟。 還...

PHP如何移除 x-powered-by 資訊

PHP如何移除 x-powe...

xpoweredby 主動披露使用程式版本訊息,增加資安風險。 可透過以下方式隱藏 xpowered...

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