[精讚] [會員登入]
1175

JIRA using gmail as smtp outgoing mail sender

如何設定jira使用gmail信箱送信

分享此文連結 //n.sfs.tw/12102

分享連結 JIRA using gmail as smtp outgoing mail sender@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-24 11:52:53 最後編修
2018-01-04 11:09:46 By jung
 

###最新發現,gmail似乎不再允許外部程式使用它當作open relay mail server,所以只好乖乖回去設定postfix了@@

為了管理開發中的專案,選擇了JIRA software作為管理工具

但是由於自架jira有防火牆限制,即使已經設定本機開啟postfix server

可是25 port for smtp出不去

只好改用gmail,找了一些文件都沒有完整的做法

所以特別紀錄一下

這次設定使用的是具有gsuite網域的gmail帳號

一般的gmail如@gmail.com的帳號目前似乎無法設定用來當作smtp

首先要進入gsuit管理介面->應用程式->G Suite->Gmail設定->進階設定

在網域根目錄設定下開啟"郵件委派"功能

這項設定可以到各使用者群組的子目錄去設定,限定只有某些群組的使用者可以委派信箱存取權

 

繼續設定G suite拉到下方有SMTP轉發服務的設定

編輯smtp轉發服務

設定tls加密服務->安全傳輸TLS規範

G suite最後設定要允許"低安全性應用程式"可存取gmail服務

要登入個人帳戶進到https://myaccount.google.com/lesssecureapps開啟選項

到這邊基本上Gmail帳號可以讓jira連線了

接下來進到jira設定

在system的設定下面

有關於outgoing mail的設定

第一次設定要新增add smtp server

按照google的指示設定個人帳戶開啟IMAP

smtps連接埠及smtp伺服器名稱必須正確

完成後像這樣,重點是server detail的項目必須正確

上面的name or description都是寄信時使用的信件標頭而已

 

完成後選擇

出現就成功了

在operation使用send a test email

如果沒有報錯就是完成了

END

你可能感興趣的文章

wireguard vpn setup and implementation 在UBUNTU20.04LTS server架設wireguard vpn讓ios及android裝置使用

installation and implementation of k8s clusters on CentOS8 k8s入坑

在windows server建立radius服務使用active directory帳號驗證 setup windows server to add radius service using active directory accounts for authentication

在家設定openvpn server on pfsense 在家設定openvpn server on pfsense

nginx+ssl+certbot安裝設定雜記 using certbot on nginx to setup https connection

proxmox5.x using duplicati as cloud backup strategy install duplicati program on Proxmox host for remote backup using google drive account

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

回應 修正pom.xml,

縣市IDP更換SSL憑證及修改servername+wildfly等設定 縣市IDP更換SSL

在debian9使用apt-key add gpg key from ubuntu keyserver

在apache http server停用TLS 1.0/1.1 and SSL 2.0/3.0 How to disable outdated versions of SSL/TLS on Apache

在ubuntu18.04桌面版安裝中文注音輸入法 如何在ubuntu桌面使用新酷音注音輸入法