Palo Alto Networks Knowledgebase: How to Send a Test Email to Verify Email Profile Settings

How to Send a Test Email to Verify Email Profile Settings

17047
Created On 02/07/19 23:57 PM - Last Updated 02/07/19 23:57 PM
Device Management Initial Configuration Installation QoS Zone and DoS Protection
Resolution

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

 

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)
  3. 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

 

Note1:  For a more complete SMTP troubleshooting document, please refer to: Not authorized to view the specified document 1065

Note2:  SMTP Authentication is not currently supported.

 

owner: mivaldi



Attachments
Actions
  • Print
  • Copy Link

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

Attachments
Choose Language