Applicable Products
QuTS MEGA 1.0.0 and later
Scenario
When configuring SMTP settings in a QuTS MEGA cluster, you may choose Gmail as the SMTP server to send system notifications. However, using your regular Gmail address and password for authentication will cause the connection test to fail, and email alerts will not be sent.
Gmail enforces security measures such as two-factor authentication (2FA) and blocks sign-in attempts from apps it considers less secure. As a result, QuTS MEGA cannot authenticate using your standard Gmail password.
Procedure
To successfully use Gmail with your QuTS MEGA SMTP configuration, you must generate a Gmail password. This is a unique 16-character password designed to allow applications like your NAS to authenticate securely without compromising your Google account.
1. Access your Gmail account
- Open your web browser.
- Go to https://mail.google.com.
- Sign in to your Gmail account.
2. Open your Google account security settings
- Click your profile picture in the top-right corner of the interface.
- Click Manage your Google Account.

- Click Security in the left-hand menu.
3. Enable two-step verification
- Scroll to the Signing in to Google section.
- Check the status of 2-Step Verification.

- Click 2-Step Verification if it is not enabled.
- Follow the on-screen instructions to complete the setup.
4. Generate an app password
- Return to the Security page.
- Click the search bar at the top of the page.
- Type App passwords in the search bar.

- Select App passwords from the search results.
- Enter your Google account password when prompted.
- Click the Select app dropdown menu.
- Select Other (Custom name).
- Enter a name like
QuTS MEGA
or NAS SMTP
.
- Click Create.
- Copy the 16-character app password shown on the screen.
5. Configure the SMTP settings in QuTS MEGA
- Log in to QCommander.
- Click a cluster.
The QuTS MEGA interface appears and displays the Overview page. - Go to Settings > Alerts.
- Click SMTP Settings.
The SMTP Settings window appears.Note
The fields for SMTP server address and port number are prefilled with the Gmail SMTP configuration.
- Specify the Gmail email address.
- Paste the 16-character app password you copied earlier.
- Select the encryption protocol.
- TLS (Transport Layer Security): A widely adopted protocol that secures data transmission over networks. TLS is the modern standard and offers stronger security than SSL.
- SSL (Secure Sockets Layer): An earlier encryption protocol used to protect network traffic. SSL is now considered outdated and has been replaced by TLS in most applications.
- Click Test Connection to verify the SMTP server settings.
- Click OK.
QuTS MEGA saves the SMTP settings.
Further Reading
For more details on signing in with Google app passwords, see https://support.google.com/accounts/answer/185833.
適用產品
QuTS MEGA 1.0.0 及更高版本
情境
在 QuTS MEGA 叢集中配置 SMTP 設定時,您可以選擇 Gmail 作為 SMTP 伺服器來發送系統通知。然而,使用您的一般 Gmail 地址和密碼進行驗證將導致連線測試失敗,且電子郵件警報將無法發送。
Gmail 強制執行安全措施,例如雙重驗證 (2FA),並阻止其認為安全性較低的應用程式的登入嘗試。因此,QuTS MEGA 無法使用您的標準 Gmail 密碼進行驗證。
程式
要成功使用 Gmail 配置 QuTS MEGA 的 SMTP,您必須生成一個 Gmail 密碼。這是一個獨特的 16 字元密碼,旨在允許像您的 NAS 這樣的應用程式安全地進行驗證,而不會危及您的 Google 帳戶。
1. 訪問您的 Gmail 帳戶
- 開啟您的網頁瀏覽器。
- 前往 https://mail.google.com。
- 登入您的 Gmail 帳戶。
2. 開啟您的 Google 帳戶安全設定
- 點選介面右上角的個人資料圖片。
- 點選管理您的 Google 帳戶。

- 點選安全性在左側選單中。
3. 啟用兩步驟驗證
- 滾動到登入 Google部分。
- 檢查兩步驟驗證的狀態。

- 點選兩步驟驗證如果尚未啟用。
- 按照螢幕上的指示完成設定。
4. 生成應用程式密碼
- 返回安全性頁面。
- 點選頁面頂部的搜尋欄。
- 輸入應用程式密碼在搜尋欄中。

- 選擇應用程式密碼從搜尋結果中。
- 當系統提示時,輸入您的 Google 帳戶密碼。
- 按一下選擇應用程式下拉選單。
- 選擇其他(自訂名稱)。
- 輸入一個名稱,例如
QuTS MEGA 或
NAS SMTP。

- 按一下建立。
- 複製螢幕上顯示的 16 字元應用程式密碼。
5. 在 QuTS MEGA 中配置 SMTP 設定
- 登入 QCommander。
- 按一下叢集。
QuTS MEGA 介面顯示並顯示 總覽 頁面。 - 前往設定>警示。
- 按一下 SMTP 設定。
SMTP 設定 視窗顯示。注意
SMTP 伺服器地址和埠號的欄位已填入 Gmail SMTP 設定。
- 指定 Gmail 電子郵件地址。
- 貼上您先前複製的 16 字元應用程式密碼。
- 選擇加密協定。
- TLS (傳輸層安全性):一種廣泛採用的協定,用於保護網路上的資料傳輸。TLS 是現代標準,提供比 SSL 更強的安全性。
- SSL (安全套接層):一種早期的加密協定,用於保護網路流量。SSL 現已被認為過時,並在大多數應用中被 TLS 取代。
- 按一下測試連線以驗證 SMTP 伺服器設定。
- 按一下 確定。
QuTS MEGA 儲存 SMTP 設定。
進一步閱讀
如需更多有關使用 Google 應用程式密碼登入的詳細資訊,請參閱 https://support.google.com/accounts/answer/185833。