Freenas email alerts gmail

A great combination!

To set up email alerts from FreeNAS to Gmail, you'll need to follow these steps:

Step 1: Enable IMAP in your Gmail account

  1. Log in to your Gmail account.
  2. Click on the gear icon in the upper right corner and select "See all settings."
  3. Go to the "Forwarding and POP/IMAP" tab.
  4. Enable IMAP and save the changes.

Step 2: Configure FreeNAS to send email alerts

  1. Log in to your FreeNAS web interface.
  2. Go to "Settings" > "Notifications" > "Email".
  3. Select "Gmail" as the email provider.
  4. Enter your Gmail address and password.
  5. Set the "From" address to your Gmail address.
  6. Choose the email template you want to use for the alerts.
  7. Set the "SMTP Server" to "imap.gmail.com" and the "SMTP Port" to "993".
  8. Set the "Authentication" to "Username and Password".
  9. Save the changes.

Step 3: Configure the email alert triggers

  1. Go to "Settings" > "Notifications" > "Alerts".
  2. Click on the "Add Alert" button.
  3. Choose the event you want to trigger the alert (e.g., disk usage, disk errors, etc.).
  4. Set the alert threshold (e.g., 80% disk usage).
  5. Select the email template you created earlier.
  6. Save the changes.

Step 4: Test the email alerts

  1. Trigger the alert event (e.g., simulate a disk error).
  2. Check your Gmail account to see if you receive the email alert.

Tips:

By following these steps, you should be able to set up email alerts from FreeNAS to Gmail.