-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Missing Sendmail binary error is displayed when using occ user:resetpassword #32564
Comments
I was able to reproduce this issue. How to reproduce:
After debugging the code, it has been found that we use swiftmailer version |
need to retry on master as we just upgraded swiftmailer here #29943 |
I was unable to reproduce this on my system. Here is the PR verifying it #33385 |
@paurakhsharma the issue reported seems to be for when the system-under-test is actually missing the |
@phil-davis When we change the value of |
That's a good question! The "randomword" program would be missing. |
@phil-davis, so in #33385, I have set |
@settermjd @sharidas could you retests if the issue still exist and close the issue if not |
taking this issue out of the QA sprint for now because I cannot see what QA can do here currently |
Steps to reproduce
sudo -u www-data php occ user:resetpassword --send-email user1
Expected behaviour
Should display only console output from the command. If an error occurs, it should be handled, or displayed to the user in an intentional/professional way.
Actual behaviour
If the Sendmail binary (or a replacement) is not installed, an error message is output, saying that it was not found, as in the example below.
sh: 1: /usr/sbin/sendmail: not found
Server configuration
Operating system: Ubuntu 18.04 LTS
Web server: Apache/2.4.29
Database: SQLite 3.22.0-1
PHP version: 7.2.7-0ubuntu0.18.04.2
ownCloud version: 10.1.0 prealpha
Updated from an older ownCloud or fresh install: updated (using git)
Where did you install ownCloud from: Cloned the official repository.
The content of config/config.php:
List of activated apps:
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: none
The text was updated successfully, but these errors were encountered: