Sendmail-wrapper

From SME Server
Jump to navigationJump to search







sendmail-wrapper
NeedImage.svg
sendmail-wrapper logo
MaintainerUnnilennium
Source: smeserver-sendmail-wrapper
Licenceopen source
Category

Mail

Tags Mail wrapper



Author

Unnilennium

Version

smecontribs 11:
smecontribs 10:
smecontribs 9:
smeserver-sendmail-wrapper
The latest version of smeserver-sendmail-wrapper is available in the SME repository, click on the version number(s) for more information.


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


IDProductVersionStatusSummary (2 tasks)
13674SME Contribs11.0RESOLVEDfew errors in /etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX
13673SME Contribs11.0IN_PROGRESSsendmail-wrapper seems to prevent PHP from sending email in 11.0rc1

Changelog

Only versions released in smecontrib are listed here.

smeserver-sendmail-wrapper-0.1-9.el8.sme Changelog: SME 11 (smecontribs)

2026/07/31 Jean-Philippe Pialasse 0.1-9.sme
- simplify php.ini template [SME: 13674]
- fix failure for username recipient [SME: 13673]

add support for cc and bcc
2024/09/08 fix-e-smith-pkg.sh by Trevor Batley 0.1-8.sme
- Fix e-smith references in smeserver-sendmail-wrapper [SME: 12732]
2024/09/07 cvs2git.sh aka Brian Read 0.1-7.sme
- Roll up patches and move to git repo [SME: 12338]

2024/09/07 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,

by assuming the date is correct and changing the weekday.
2024/02/28 Jean-Philippe Pialasse 0.1-6.sme
- fix missing su for logrotate [SME: 12495]
smeserver-sendmail-wrapper-0.1-9.el8.sme Changelog: SME 10 (smecontribs)
2024/02/28 Jean-Philippe Pialasse 0.1-6.sme
- fix missing su for logrotate [SME: 12495]
2021/11/06 Jean-Philippe Pialasse 0.1-5.sme
- import to SME10 [SME: 11739]

2020/04/07 Jean-Philipe Pialasse 0.1-4.sme
- add php73 support [SME: 10737]

fix typo for php72
2018/03/07 Jean-Philipe Pialasse 0.1-3.sme
- 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