TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

P17 - Email Alert Configuration TrueNas (SMTP Alert Levels Explained)

🚀 TrueNAS – P17: Email Alert Configuration (SMTP & Alert Levels Explained)

Email alerts are a critical component of monitoring any TrueNAS storage system. Without proper alert configuration, serious issues like disk failures or pool degradation may go unnoticed until it is too late.

In this tutorial, we walk through the complete Email Alert Configuration TrueNAS process step by step. You will learn:

  • How to configure SMTP correctly

  • How to test email delivery

  • How TrueNAS alert levels work

  • How to reduce unnecessary email spam

  • How to receive only meaningful system alerts

This guide applies to:

  • ✅ TrueNAS CORE

  • ✅ TrueNAS SCALE

  • ✅ Home labs

  • ✅ SMB environments

  • ✅ Production NAS deployments

By the end of this guide, your TrueNAS system will send reliable and properly categorized email alerts.


🔎 Why Email Alerts Matter in TrueNAS

A NAS system runs 24/7. Problems can occur at any time:

  • Disk nearing failure

  • Pool degradation

  • Network disconnection

  • System resource overload

Without proper Email Alert Configuration TrueNAS, you may not detect these issues early.

Correct alert configuration ensures:

  • 📩 Immediate notification of serious issues

  • 🔕 Reduced noise from minor events

  • 📊 Better operational visibility

  • 🔒 Safer production storage


🧩 1️⃣ Understanding Alert Levels in TrueNAS

Before configuring email, it is important to understand how alert severity works.

🔹 INFO

This is the lowest alert level.

  • Used for informational notifications

  • Does not indicate system problems

  • Usually related to configuration changes

Example:

  • Configuration updates

  • Routine system activity

These alerts are not critical but may help track system changes.


🔹 WARNING

This level indicates potential issues.

  • May affect performance or stability

  • Requires monitoring or adjustment

Examples:

  • Disk space nearly full

  • CPU utilization very high

Warnings should not be ignored, but they are not immediate failures.


🔹 CRITICAL

This is a high-severity alert.

  • Indicates serious system problems

  • Requires immediate attention

Examples:

  • Drive failure

  • RAID failure

  • Network connection loss

Critical alerts should always trigger email notifications.


🔹 EMERGENCY

This is the highest alert level.

  • Severe system-wide problems

  • Immediate action required

Examples:

  • System fails to boot

  • Primary drive failure

  • Data loss detected

Emergency alerts must always be delivered.


📧 2️⃣ Email Alert Configuration TrueNAS

Now we configure SMTP for sending notifications.


🔹 Step 1: Configure Email for Sending Notifications

Navigate to the Email configuration section in TrueNAS.

Enter the following:

Outgoing Mail Server:

 
 
smtp.office365.com
 

(For Microsoft 365 environments)

⚠️ Important:
For MS365, you must enable SMTP Authentication for the sending email account in the Microsoft 365 Admin Portal.

Port:

 
 
587
 

Security:

 
 
TLS
 

Tick:

 
 
SMTP Authentication
 

Enter:

  • Username (email account used for sending alerts)

  • Password

This allows TrueNAS to authenticate and send email notifications successfully.


🔹 Step 2: Configure Email for Receiving Notifications

Next, configure who will receive alerts.

You can:

  • Edit existing service alerts

  • Add new alert recipients

Set:

 
 
Level: The level from which you will receive alerts
 

This setting determines the minimum severity that triggers email notifications.

For example:

  • Select WARNING → Receive WARNING, CRITICAL, and EMERGENCY

  • Select CRITICAL → Receive only CRITICAL and EMERGENCY

This helps reduce unnecessary email spam.


🧪 Testing Email Delivery

After completing the Email Alert Configuration TrueNAS process:

  • Send a test email

  • Verify successful delivery

  • Check spam folder if not received

If email fails:

  • Verify SMTP authentication is enabled

  • Confirm correct port (587)

  • Ensure TLS is selected

  • Double-check username and password


⚙️ Best Practices for Production Environments

To maintain a reliable monitoring system:

  • ✅ Always enable CRITICAL and EMERGENCY alerts

  • ✅ Avoid enabling INFO in production (reduces spam)

  • ✅ Use a dedicated email account for alerts

  • ✅ Periodically test SMTP configuration

  • ✅ Monitor disk SMART alongside email alerts

A properly configured Email Alert Configuration TrueNAS setup prevents silent failures.


❌ Common Mistakes

1️⃣ SMTP Authentication Not Enabled (MS365)

Result: Email sending fails.

2️⃣ Wrong Port Configuration

Port 587 must be used with TLS.

3️⃣ Alert Level Set Too Low

Receiving too many INFO alerts → inbox flooding.

4️⃣ Alert Level Set Too High

Only EMERGENCY selected → missing early warnings.

Balancing alert severity is essential.


🏁 Final Result

After completing this guide:

  • ✔️ TrueNAS sends reliable email notifications

  • ✔️ Alert levels are clearly understood

  • ✔️ SMTP is properly configured

  • ✔️ Critical events are never missed

  • ✔️ Inbox spam is minimized

This is the professional way to implement Email Alert Configuration TrueNAS for both CORE and SCALE environments.

See also related articles

P21 – Effortless WordPress TrueNAS Setup Guide

P21 – Effortless WordPress TrueNAS Setup Guide 🚀 TrueNAS P21 – WordPress TrueNAS Apps Demo Deploy WordPress Easily (No Docker Skills Needed) Deploying WordPress on a NAS no longer requires deep Docker knowledge or complex manual configurations. With WordPress TrueNAS Apps, you can launch a fully functional WordPress instance directly...

Read More

P20 – Essential ZFS Disk Scrubbing Best Practices Guide

P20 – Essential ZFS Disk Scrubbing Best Practices Guide 🚀 TrueNAS – P20: ZFS Disk Scrubbing – Step-by-Step Configuration & Best Practices Maintaining data integrity is one of the most important responsibilities of any storage administrator. Even enterprise-grade disks can develop silent data corruption over time. This is where ZFS...

Read More

P18 – Ultimate MFA TrueNAS Security Setup Guide

P18 – Ultimate MFA TrueNAS Security Setup Guide 🚀 TrueNAS – P18: Secure TrueNAS with MFA (Google Authenticator) – Full Configuration Tutorial Security is critical for any production storage system. A strong password alone is no longer enough. If credentials are leaked, brute-forced, or reused elsewhere, your entire NAS infrastructure...

Read More