-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Postfix/sendmail replacement #126
Comments
More Infos about sendmail and php: |
We intentionally do not provide a drop-in replacement for the Injection of mail from the local system can be achieved using other tools that speak SMTP (we like Swaks for ad-hoc CLI injection), or, if you are willing to write a little bit of code, that speak our HTTP REST Injection API. For PHP, I do not recommend using the |
Is it fair to assume that what you really want to do is use KumoMTA to send email from PHP? If so, Wez's suggestion above to use PHPMailer is a very good one. if not, please expand on your question. |
Hi, we want to replace postfix by KumoMTA for our server infrastructure. PHP was only an example for the need of sendmail wrapper. We have no influence on the PHP scripts, so the mail() feature cannot be replaced by libraries. |
I found a useful wrapper: |
That really just adds a processing layer that eventually just calls the Python SMTP library instead of the PHP one. |
I found a much simpler alternative to that wrapper in https://stackoverflow.com/a/43146560/149111 Building out a full-fledged drop-in replacement for the |
I found a stable solution. Called msmtp. perhaps you can add the hint to the docu. |
What Operating System are you seeing this problem on?
Ubuntu 20.04
What Hardware is this system running?
AMD EPYC
KumoMTA version
2023.12.28-63cde9c7
Did you try the latest release to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version that I tried
Describe the bug
Hi,
we want to replace our servers from postfix to kumo. But there is an importing missing feature.
PHP mail Function is using under Linux the "sendmail" command to send mails to the local mta.
How it is possible to tell sendmail to use kumo?
To Reproduce
No response
Configuration
default
Expected Behavior
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: