[[fester112:email]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fester112:email [2016/06/11 13:59]
A User Not Logged in external edit
fester112:email [2019/05/27 00:09] (current)
dan Update images for 11.2 GUI
Line 1: Line 1:
 ====== Email Notifications ====== ====== Email Notifications ======
  
-The FreeNAS OS and the IPMI monitor ​(I think, but I have not figured this out yet) can give you warnings and other types of useful information delivered straight to your email account. This is an incredibly useful feature (not to mention important to the security of your data--it'​s how the system will warn you of problems) and does not take long to setup.+The FreeNAS OS and the IPMI monitor can give you warnings and other types of useful information delivered straight to your email account. This is an incredibly useful feature (not to mention important to the security of your data--it'​s how the system will warn you of problems) and does not take long to setup.
  
 ===== Setting Up Email Notifications From The FreeNAS Web GUI ===== ===== Setting Up Email Notifications From The FreeNAS Web GUI =====
  
-Start by deciding which User from the “Accounts” → “Users” page you wish to use for this facilityIncidentallyyou do not need to restrict yourself to just one user you can utilise as many as you like.+You'll first need to set an email address ​for the root user Click "​Accounts"​ in the left columnthen "​Users"​. ​ Click the three vertical dots to the right of the root user, then click "​Edit"​ on the pop-up menu.
  
-Fester uses the **root** account for this so go to the “Accounts” page (1) and click on the “Users” button (2).+{{:​fester112:​pasted:​20190526-235536.png}}
  
-{{:​fester:​c11b1b19753d68c2b0cde4ad20af2c0d.png}}+In the “Email” text box type in the email account you want to use to receive the messages from your server (Fester uses a Gmail account for this e.g. Festerservermail@gmail.com).
  
-Now select the “root” account (1) by clicking on it (it should turn blue when you do) and then click on the “Modify User” button (2).+{{:​fester112:​pasted:​20190526-235745.png}}
  
-{{:​fester:​8bc86ff92bf99548156bb4d0c1b1f985.png}}+Now scroll down this window and click on the “Save” button.
  
-In the “E-mail:” text box type in the email account you want to use to receive the messages from your server (Fester uses a Gmail account for this e.g. Festerservermail@gmail.com).+{{:​fester112:​pasted:​20190526-235811.png}}
  
-{{:​fester:​44e162e152c360cbfde64adc7ded5893.png}}+Now click "​System"​ in the left column, then "​Email"​.
  
-Now scroll down this window and click on the “OK” button. +{{:fester112:pasted:20190527-000026.png}}
- +
-{{:fester:c130eb4b9186ea4c5101ece667f556e0.png}} +
- +
-Now go to the “System” page (1) and click on the “Email” button (2). +
- +
-{{:fester:3575ea3231c7b273b2020da6db1a4195.png}}+
  
 To setup email notifications we must use an email address for one of the user accounts on the FreeNAS server (not your actual external email address e.g. Festerservermail@gmail.com). This is an internal email address (i.e. for the server only) and it follows a specific syntax. Here is how it works. To setup email notifications we must use an email address for one of the user accounts on the FreeNAS server (not your actual external email address e.g. Festerservermail@gmail.com). This is an internal email address (i.e. for the server only) and it follows a specific syntax. Here is how it works.
Line 31: Line 25:
 **user@hostname.local** **user@hostname.local**
  
-The hostname of your server can be found in the “System” → “Information” page and looks something like this.+The hostname of your server can be found in the “Dashboard” page and looks something like this.
  
-{{:fester:bc71d8a78875a148d5de553acd327f86.png}}+{{:fester112:pasted:​20190527-000306.png}}
  
 Here is an example hostname. Here is an example hostname.
  
-{{:fester:9e5c640ded950660055deef0d5cb12f1.png}}+{{:fester112:pasted:​20190527-000324.png}}
  
 So in Fester’s case the internal email address would take this form. So in Fester’s case the internal email address would take this form.
  
-**root@TestNAS1.local**+**root@freenas.local**
  
 So armed with this information we can now go ahead and start configuring the “Email” page. So armed with this information we can now go ahead and start configuring the “Email” page.
  
-In the “From email:” text box (1) type the internal email address you want (Fester’s is root@TestNAS1.local).+In the “From email:” text box type the internal email address you want (Fester’s is root@freenas.local).
  
-In the “Outgoing mail server:” text box (2) type in the mail server of the email service you use. If you don’t know it you can usually get it from looking on the mail service provider’s website (Fester uses Gmail so this would be set to **smtp.gmail.com**).+In the “Outgoing mail server:” text box type in the mail server of the email service you use. If you don’t know it you can usually get it from looking on the mail service provider’s website (Fester uses Gmail so this would be set to **smtp.gmail.com**).
  
 The Gmail service uses port 25 for plain text email, port 465 for SSL encrypted email and port 587 for TLS encrypted email. The Gmail service uses port 25 for plain text email, port 465 for SSL encrypted email and port 587 for TLS encrypted email.
  
-In the “Port to connect to:” text box (3) type in the port you need, again if you don’t know it you can usually get it from the mail service provider’s website (Fester uses SSL encryption therefore the port number is 465). +In the “Port to connect to:” text box type in the port you need, again if you don’t know it you can usually get it from the mail service provider’s website (Fester uses SSL encryption therefore the port number is 465).
- +
-In the “TLS/​SSL:​” drop down selection box (4) chose if you want encryption or not, and which type (your mail service provider must support your choices).+
  
-Put a tick in the “Use SMTP Authentication:” tick box (5if this is required.+In the “TLS/SSL:” drop down selection ​box chose if you want encryption or not, and which type (your mail service provider must support your choices).
  
-In the “Username:” text box (6) type in the user name only (not the complete email address) of the external email address you want to use for notifications (in Fester’s case this is **Festerservermail**).+Put a tick in the “Use SMTP Authentication:” tick box if this is required. ​ If this box is ticked, fill in the fields below.
  
-Next type in the password for your external email account ​(not the internal server user accountin the “Password:​” text box and then retype your password again to confirm it in the “Password confirmation:​” text box (7).+In the “Username:​” text box type in the user name only (not the complete email addressof the external email address you want to use for notifications (in Fester’s case this is **Festerservermail**).
  
-Now click the “Save” button ​(8).+Next type in the password for your external email account ​(not the internal server user accountin the “Password:​” text box and then retype your password again to confirm it in the “Password confirmation:​” text box.
  
-Do not click on the “Send Test Mail” button ​(9) yet as there is a little more work to be done.+Now click the “Save” button.
  
-{{:​fester:​516e4add05e70c22465a798a52d877bb.png}}+Do not click on the “Send Test Mail” button yet as there is a little more work to be done.
  
 The next part applies specifically to Gmail. If you are using a different mail service provider I can’t help you. The next part applies specifically to Gmail. If you are using a different mail service provider I can’t help you.
  • fester112/email.txt
  • Last modified: 2019/05/27 00:09
  • by dan