Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sh: 1: /usr/sbin/sendmail: not found #4

Open
edbrk opened this issue Dec 3, 2022 · 5 comments
Open

sh: 1: /usr/sbin/sendmail: not found #4

edbrk opened this issue Dec 3, 2022 · 5 comments

Comments

@edbrk
Copy link

edbrk commented Dec 3, 2022

Hello,

Recently had some issues with cron. Turned on Error logging, and ran the cron manually. Recieved an error
sh: 1: /usr/sbin/sendmail: not found
When attempting to send the Domain Status Synchronisation and the Daily cron email digest. I wonder why i have never seen this emails.
Tried adding it to the PHP-FPM Docker file and rebuilding but no luck. Unsure please advise.

Thanks.

@EdyTheCow
Copy link
Owner

Weird, I've never had such an issue. Are the other crons working as they supposed to? Also, are you attempting to send emails directly from your server or are you using something like aws ses?

@edbrk
Copy link
Author

edbrk commented Dec 5, 2022

Well in WHMCS we have SMTP Setup, Works fine for sending normal WHMCS emails. Just not the CRON ones.

The WHMCS cron runs fine, sending the emails is the last step which it errors out on. What other Crons?

@EdyTheCow
Copy link
Owner

Okay I see, I've never ended up using the daily cron emails which might be why I never came across this issue. By "other crons" I just meant if the crons were working at all, was just me not fully understanding the issue. I'll attempt to set this up on my own installation and see if I can solve it.

@edbrk
Copy link
Author

edbrk commented Dec 20, 2022

Seems to be working on some of my installs but not on others! Strange.

@scop
Copy link

scop commented Oct 28, 2024

This error also still occurs on a fresh install when first going to the admin config area and entering invalid credentials (it tries to send an email about that login attempt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants