Difference between revisions of "Sendmail-wrapper"

From SME Server
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
=== Version ===
 
=== Version ===
{{ #smeversion: smeserver-sendmail-wrapper}}
+
{{#smeversion: smeserver-sendmail-wrapper}}
  
 
===Overview===
 
===Overview===
This contribs allow you to redirect php generated emails to qpsmtpd instead of qmail. Doing so, you will be bale 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.
+
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 ===
 
=== Install ===
Line 16: Line 16:
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
  
if you have smeserver-php-scl installed, just do :
+
if you have smeserver-php-scl installed (with php54 php56 php70 php71 php72...) , just do :
 
  signal-event php-update
 
  signal-event php-update
 
  config set UnsavedChanges no
 
  config set UnsavedChanges no
  
 
=== Configuration ===
 
=== Configuration ===
if you want to disable the sendmail wrapper for the core php :
+
if you want to disable the sendmail wrapper for the core php :
 
  config setprop php sendmail disabled
 
  config setprop php sendmail disabled
 
  expand-template /etc/php.ini
 
  expand-template /etc/php.ini
Line 34: Line 34:
 
  config setprop php70 sendmail disabled
 
  config setprop php70 sendmail disabled
 
  signal-event php-update
 
  signal-event php-update
+
 
 
=== Remove ===
 
=== Remove ===
  
Line 48: Line 48:
 
Only versions released in smecontrib are listed here.
 
Only versions released in smecontrib are listed here.
  
{{ #smechangelog: smeserver-sendmail-wrapper}}
+
{{#smechangelog: smeserver-sendmail-wrapper}}
 
 
  
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category: Mail]]
 
[[Category: Mail]]

Latest revision as of 15:49, 10 February 2019

Author

Unnilennium

Version

Contrib 10:
Contrib 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

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 .

"No open bugs found."


Changelog

Only versions released in smecontrib are listed here.

smeserver-sendmail-wrapper 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