Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Send Emails with Gmail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Send Emails with Gmail

L0 Member

Hello friends, I'm trying to setup my home firewall with the Gmail (or any other free SMTP server) but the test failed with both Gmail SMTP and SMTP relay. The firewall is able to ping and resolve the dns name of the SMTP server.

 

Connection to: smtp.gmail.com:465 failed: Failure when receiving data from the peer
Connection to: smtp.gmail.com:465 failed: Failure when receiving data from the peer
 
Connection to: smtp-relay.gmail.com:587 failed: Failed sending data to the peer
Connection to: smtp-relay.gmail.com:465 failed: Failed sending data to the peer
 
 

Do you know if there are some steps need to follow in order to resolve this issue ?

 

 

1 accepted solution

Accepted Solutions

L6 Presenter

Hi @Jon_Palo92 

I have tested this personally using smtp.gmail.com in my LAB and it works well. Configuration is more on your GMAIL account side where you need to generate app password. This app password generated for your GMAIL account will be used to configure on your firewall under SMTP server profile configuration. For gmail side configuration, there are so many videos available on youtube which you can refer. I had personally referred same and I was able to get this work.

 

Apart from this, just make sure Palo Alto is able to communicate on required ports.

 

Hope it helps!

M

Check out my YouTube channel - https://www.youtube.com/@NetworkTalks

View solution in original post

3 REPLIES 3

L6 Presenter

Hi @Jon_Palo92 

I have tested this personally using smtp.gmail.com in my LAB and it works well. Configuration is more on your GMAIL account side where you need to generate app password. This app password generated for your GMAIL account will be used to configure on your firewall under SMTP server profile configuration. For gmail side configuration, there are so many videos available on youtube which you can refer. I had personally referred same and I was able to get this work.

 

Apart from this, just make sure Palo Alto is able to communicate on required ports.

 

Hope it helps!

M

Check out my YouTube channel - https://www.youtube.com/@NetworkTalks

Cyber Elite
Cyber Elite

@Jon_Palo92,

Just to extend on the tail end of @SutareMayur's correct answer, I'd verify that the traffic is actually being identified properly and being allowed in your traffic logs. If you don't already have a logged catch-all entry at the bottom of your rulebase, enable logging on your interzone-default rule at least temporarily so you can see potentially denied traffic.

Yup,  that worked. I needed to do the Gmail stuff. Thank you very much my friend!.

  • 1 accepted solution
  • 747 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!