Error:
An unexpected error occurred. Please click Reload to try again.
Error:
An unexpected error occurred. Please click Reload to try again.
How to Send a Test Email to Verify Email Profile Settings - Knowledge Base - Palo Alto Networks

How to Send a Test Email to Verify Email Profile Settings

112050
Created On 09/25/18 19:10 PM - Last Modified 06/08/23 05:51 AM


Symptom


Overview

When configuring an Email Server Profile (Device > Server Profiles > Email), the steps described in this document show how to test if the:

  • SMTP settings are correct
  • Server is reachable
    Screen Shot 2014-06-16 at 4.51.04 PM copy.jpg

 



Environment


  • Palo Alto Networks Firewall
  • Email Server


Resolution


Steps

  1. Go to Monitor > PDF Reports > Report Groups and Add a Predefined Report, for this example 'risky-users' was selected:
    Screen Shot 2014-06-16 at 4.52.48 PM copy.jpg
  2. Go to Monitor > PDF Reports > Email Scheduler , click Add and enter a name. Select the created Report Group and select the Email Profile to test. (Choose an existing Email Profile or click "New Email Profile" to create one new)
 
  1. Click on "Send test email" to verify the SMTP settings.
    Screen Shot 2014-06-16 at 4.55.12 PM.png
 
An email is sent verifying the SMTP settings:
Screen Shot 2014-06-16 at 4.58.48 PM copy.jpg

 

Invalid Recipient

In the event that the test email fails without an error indication, this can happen if the RCPT TO is an email address outside your organization. Many SMTP servers are configured so that they will not relay emails from unauthenticated sources.

 

Follow the procedure below to verify if one of the recipients is not supported:

  1. From your terminal (Linux, Mac) or cmd (Windows) window, telnet to the target SMTP server. Since telnet is not available on PAN-OS, this test should be initiated from your computer and not the Firewall.
    $ telnet <server_ip_or_fwdn> 25


    Note: If the connection is rejected, either the server is not listening for connections on port 25 or there is a security device preventing the connection from your workstation.
  2. If the connection succeeds, use the following commands:
HELO <server_ip_or_fwdn>      (250 - Hello messages and subsequent 250 messages expected)
MAIL FROM: <you@yourcompany.com>      (250 2.1.0 Sender OK expected)
RCPT TO: <recipient1@yourcompany.com>       (250 2.1.5 Recipient OK expected)
RCPT TO: <recipient2@othercompany.com>      (550 5.7.1 Unable to relay expected)

 

For example:

Screen Shot 2015-02-27 at 8.51.06 AM.png

 

NOTE:
SMTP Authentication is not currently supported.

 

owner: mivaldi



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClUiCAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language