- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Dear Check Point Support,
We are trying to create a script that automatically checks our encryption certificates (IKE Certificates) on our Gaia system and sends an email report detailing their status—expiration date, days left, whether certificates are expired or about to expire.
However, we are experiencing an issue with the sendmail command on Gaia. Sometimes the command returns exit code 1 and no email is sent. Other times, it returns exit code 0 (indicating success), but the email still does not arrive at the recipient.
We have verified the following:
SMTP relay is correctly configured.
The sendmail binary has correct permissions.
Manual attempts to send emails using sendmail yield the same inconsistent results.
SMTP port 25 is reachable from the Gaia system.
No relevant error logs are found beyond the exit codes.
We request assistance to diagnose and resolve why the sendmail command behaves inconsistently and why emails are not reliably sent.
Thank you for your support
@Netanel, for the record, this is a community site, not an official support channel. If you need our TAC help, please open a support request via https://help.checkpoint.com
That said, I hope our community members could give you some advice.
Can you send an example of what you created? Please blur out sensitive data. Here is an sk about it.
Andy
https://support.checkpoint.com/results/sk/sk25941
1) To verify that the DNS is properly configured, you can use tools like "nslookup" to check if domain names are correctly resolving to their respective IP addresses. For example, running "nslookup mail_destination.com" and nslookup $(hostname -i) should return a valid IP address if the DNS is set up correctly.
2) If you're using a relay (e.g., mail_destination.com), run this manual test using telnet:
# telnet mail_destination.com 25
3) Check TLS connection:
# cpopenssl s_client -starttls smtp -connect mail_destination.com:25
4) Check sendmail with -v verbose logging:
# (echo "Subject: Test mail"; echo; echo "Body text") | sendmail -v recipient@mail_destination.com
Make sure you use complete path where sendmail binary file is located.
use "/usr/sbin/sendmail" instead of just "sendmail" within the script itself.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 20 | |
| 19 | |
| 18 | |
| 8 | |
| 7 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY