Sendmail-wrapper
| sendmail-wrapper logo | |
| Maintainer | Unnilennium |
|---|---|
| Source: | smeserver-sendmail-wrapper |
| Licence | open source |
| Category | |
| Tags | Mail wrapper |
Author
Version
Overview
This contribs allow you to redirect php generated emails to qpsmtpd instead of qmail. Doing so, you will be able to filter those generated emails as those were generated by a regular SME user, and you will be able to have them DKIM signed if this is enabled.
Install
dnf install smeserver-sendmail-wrapper
by default it will be enabled for all php-fpm versions only phpmyadmin and roundcube are overriding this
yum install smeserver-sendmail-wrapper --enablerepo=smecontribs
yum install smeserver-sendmail-wrapper --enablerepo=smecontribs
then if you only have the base php
expand-template /etc/php.ini service httpd-e-smith restart config set UnsavedChanges no
if you have smeserver-php-scl installed (with php54 php56 php70 php71 php72...) , just do :
signal-event php-update config set UnsavedChanges no
Configuration
If you want to disable the sendmail wrapper for the core php :
config setprop php sendmail disabled expand-template /etc/php.ini service httpd-e-smith restart
to enable again
config delprop php sendmail expand-template /etc/php.ini service httpd-e-smith restart
You can do the same using the php scl version, e.g. for php70
config setprop php70 sendmail disabled signal-event php-update
Remove
yum remove smeserver-sendmail-wrapper
Bugs
Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-sendmail-wrapper component or use this link
| ID | Product | Version | Status | Summary (2 tasks) ⇒ |
|---|---|---|---|---|
| 13674 | SME Contribs | 11.0 | RESOLVED | few errors in /etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX |
| 13673 | SME Contribs | 11.0 | IN_PROGRESS | sendmail-wrapper seems to prevent PHP from sending email in 11.0rc1 |
Changelog
Only versions released in smecontrib are listed here.
2026/07/31 Jean-Philippe Pialasse 0.1-9.sme
- simplify php.ini template [SME: 13674]
- fix failure for username recipient [SME: 13673]
- Fix e-smith references in smeserver-sendmail-wrapper [SME: 12732]
- Roll up patches and move to git repo [SME: 12338]
2024/09/07 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
- fix missing su for logrotate [SME: 12495]
- fix missing su for logrotate [SME: 12495]
- import to SME10 [SME: 11739]
2020/04/07 Jean-Philipe Pialasse 0.1-4.sme
- add php73 support [SME: 10737]
- fix error on logrotate [SME: 10525]
2018/03/02 Jean-Philipe Pialasse 0.1-2.sme
- fix log not accessible [SME: 10525]
moved to a www writable directory, also a logrotate has been added- fix sendmail wrapper fails if not used by root