Unhandled exception: sendmail returned with exit code: 75

Hello
I set notification mail for checkmk
in console , using this command

echo "Test de message" | mail -s "Essai Postfix" XXXXXX , i can receive the mail, and checkmk can send mail
but in some case, checkmk is unable to send the notification

This is my notification rules settings :

in /var/log/maillog , i don’t see errors

Some one have a idea please ?

Hi @JoeDuog

with the Power of ChatGPT this is the explaination of exitcode 75:

Sendmail is a popular mail transfer agent (MTA) used on Unix and Linux systems. It is responsible for routing email messages between mail servers and delivering them to their intended recipients.

When Sendmail encounters an error condition, it returns an exit code that indicates the nature of the error. Exit code 75 is one such error code, which indicates that Sendmail encountered an error related to the configuration of the mail server.

More specifically, exit code 75 indicates that Sendmail was unable to open its configuration file for reading. This could be due to various reasons, such as a missing or corrupted configuration file, insufficient permissions to access the file, or incorrect path to the configuration file.

In general, any non-zero exit code from Sendmail indicates that an error has occurred. System administrators can use these exit codes to diagnose and troubleshoot issues with the mail server.

TLDR:

exit code 75 indicates that Sendmail was unable to open its configuration file for reading

Please check your sendmail config file. Maybe your filesystem permissions are wrong. :slight_smile:

Regards
Norm

Ok , i will check my postfix config file, but checkmk is able to send notification for some vm , and for some author vm , isn’t it

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.