- Products
- Learn
- Local User Groups
- Partners
- More
Call For Papers
Your Expertise, Our Stage
The Great Exposure Reset
AI Security Masters E4:
Introducing Cyata - Securing the Agenic AI Era
AI Security Masters E3:
AI-Generated Malware
CheckMates Go:
CheckMates Fest
Hello Team,
Can someone tell me how I can run a command on Checkpoint firewalls/management server and get the command output in an email (like a text or csv file)?
I was able to find some alerts for theresholds but not for custom command outputs.
Thanks in advance!
Hello,
It did not receive an email when I tried this: "$FWDIR/bin/sendmail -t <IP_ADDRESS_of_SMTP_SERVER> -s <Subject> -f <FROM_ADDRESS> <TO_ADDRESS>" or "internal_sendmail -s 'SmartView' -t MAILSERVER -f SENDER_EMAIL_ADDRESS RECEIVER_EMAIL_ADDRESS"
But following SK127192, I did receive an email.
Can someone help me understand what was missing in my other approach?
Thanks.
What output when you ran the Sendmail command? Maybe a tcpdump will also provide a clue as to how the mailserver is responding.
Are you using this inside a script? If so you need to use the proper directory, you probably do not have an include for the Check Point variables in the script to take care of $FWDIR?
To make sure it works try /opt/CPsuite-R80.20/fw1/bin/sendmail (set the proper version in the PCsuite part).
We use this every day in our MDS backup and log clean scripts, works like a charm.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 42 | |
| 25 | |
| 14 | |
| 12 | |
| 8 | |
| 8 | |
| 7 | |
| 7 | |
| 6 | |
| 6 |
Thu 26 Feb 2026 @ 05:00 PM (CET)
AI Security Masters Session 4: Introducing Cyata, Securing the Agentic AI EraTue 03 Mar 2026 @ 04:00 PM (CET)
Maestro Masters EMEA: Introduction to Maestro Hyperscale FirewallsTue 03 Mar 2026 @ 03:00 PM (EST)
Maestro Masters Americas: Introduction to Maestro Hyperscale FirewallsThu 26 Feb 2026 @ 05:00 PM (CET)
AI Security Masters Session 4: Introducing Cyata, Securing the Agentic AI EraTue 03 Mar 2026 @ 04:00 PM (CET)
Maestro Masters EMEA: Introduction to Maestro Hyperscale FirewallsTue 03 Mar 2026 @ 03:00 PM (EST)
Maestro Masters Americas: Introduction to Maestro Hyperscale FirewallsFri 06 Mar 2026 @ 08:00 AM (COT)
Check Point R82 Hands‑On Bootcamp – Comunidad DOJO PanamáAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY