[精讚] [會員登入]
1219

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

你可能感興趣的文章

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

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

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

bitbucket repository control application setup 安裝完bitbucket服務後,須設定bitbucket.properties

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

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

隨機好文

[NetBeans]如何從git下載專案改建為自己的專案 修改git專案

intellij IDEA git設定說明 whenever using git push fuction in the intellij IDEA

更新程式環境到wildfly18+openjdk11-phase1: upgrade mongodb server 更新程式環境到wildfly18+openjdk11-phase1: upgrade mongodb server to version 3.6

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

using google Appscript to send messages through LINE NOTIFY 使用google app script傳送LINE NOTIFY