Netgate SG-1000 microFirewall

Author Topic: HOWTO: Notifications with GMAIL SMTP  (Read 2326 times)

0 Members and 1 Guest are viewing this topic.

Offline Eddie55

  • Newbie
  • *
  • Posts: 15
  • Karma: +6/-0
    • View Profile
HOWTO: Notifications with GMAIL SMTP
« on: February 12, 2017, 11:40:08 pm »
This was supposed to be a question but i ended up figuring out my problem

I kept getting "Error: 530-5.5.1 Authentication Required"

SOLUTION --> I had to click SAVE at the bottom of the screen PRIOR to clicking Test SMTP Settings for this to work

Thought i would go ahead and type it out to maybe help someone else out.

go here to setup a password for pfSense
Select App --> Other Custom Name --> Type in pfSense --> click Generate
Copy this new password and use it below.

Email Server:

SMTP Port 465

Secure SMTP Connection --> check Enable SMTP over SSl/TLS

From e-mail address <username>

Notification E-Mail address <username>

Notification E-Mail auth username (optional) <username>

Notification E-Mail auth password --> USE THE NEW PASSWORD CREATED USING

Notification E-Mail auth mechanism --> PLAIN


CLICK --> test  SMTP settings
« Last Edit: February 13, 2017, 02:56:03 pm by Eddie55 »

Offline Maxburn

  • Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: HOWTO: Notifications with GMAIL SMTP
« Reply #1 on: January 21, 2018, 01:21:26 pm »
It appears google app passwords are a part of the paid google services (as of Jan 2018). If you try to use the above URL's to get an app password you will see "The setting you are looking for is not available for your account. GO TO MY ACCOUNT".

What you must do is set up the page as shown in OP, with your regular gmail password. Click test a couple times and it will fail. Then go log into that account and look for the security messages saying account access was blocked. You must click "this was me" and allow the connection. Further test email in pfsense should work then.

Probably a good idea to not use your main gmail account to send from due to this, just register a secondary.

Offline Jailer

  • Sr. Member
  • ****
  • Posts: 415
  • Karma: +55/-2
    • View Profile
    • Bored Guy Blog
Re: HOWTO: Notifications with GMAIL SMTP
« Reply #2 on: January 21, 2018, 02:29:07 pm »
It's still working on my gmail account. I've got passwords set up for a couple different things and they work just fine. Make sure you have 2FA enabled on your account and you shouldn't have any issues.

Offline Eboman

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: HOWTO: Notifications with GMAIL SMTP
« Reply #3 on: February 17, 2018, 01:07:07 pm »
I just wanted to say Thank You for doing this.   I know it's easy enough to figure out on my own.  But sometimes finding stuff in the Google settings is a PITA.
Plus, not actually having to figure stuff out is a nice change of pace.

Great post.  Quick, easy, and to the point. 
Thank you again for taking the time to do this. 


Offline johnpoz

  • Hero Member
  • *****
  • Posts: 15511
  • Karma: +1439/-207
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: HOWTO: Notifications with GMAIL SMTP
« Reply #4 on: February 18, 2018, 12:40:21 am »
Yeah app passwords still work.. Not sure where you read that you need paid account from Jan 2018?
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or
1x SG-2440 2.4.2-RELEASE-p1 (work)
1x SG-3100 Delivered 3/19 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)