[精讚] [會員登入]
1512

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裝置使用

how to resolve memory allocation issue on proxmox when creating vm, sometimes the log shows fail message of Cannot_allocate_memory

installation and implementation of k8s clusters on CentOS8 k8s入坑

how to add physical disks into HP smart array through esxi interface 如何在磁碟陣列卡上加入新的硬碟-未完待續

JIRA using gmail as smtp outgoing mail sender 如何設定jira使用gmail信箱送信

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

隨機好文

設定win10開機自動執行openvpn連接vpn server how to make win10 connecting to a vpn server automactically after booting up

在新版谷歌協作平台嵌入edimax或lass空氣盒子讀取數值並視覺化 embeeded javascript to read and visualized lass json value on new google site

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

如何用git log功能產生有固定格式的commit紀錄 how to create a git commit history log file with custom format

系統不正常關機導致mongodb啟動失敗 重新安裝mongodb使用mongorestore