[精讚] [會員登入]
928

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

你可能感興趣的文章

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

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

JIRA instance migration phase1 how to migrate JIRA from centos6 to centos7

logrotate執行權限問題 logrotate will failed to execute if selinux policy not setup correctly

IIS10設定url rewrite to https if you setup url rewrite function in IIS10, might cause api callback failed

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

我有話要說

>>

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

訪客留言

[無留言]

隨機好文

debian安裝drupal細節 設定apache2的細節

setup jira using ssl on apache reverse proxy 設定jira使用https連線

安裝netbeans9遇到的小狀況 how to show netbeans9 program onto ubuntu desktop

新增IDP程式使用google防機器人的驗證功能 身份認證程式新增google防機器人v2

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