Req #67136 [Nab]: Please make mta optional
Edit report at https://bugs.php.net/bug.php?id=67136&edit=1
ID: 67136
Updated by: rasmus@php.net
Reported by: cj dot wijtmans at gmail dot com
Summary: Please make mta optional
Status: Not a bug
Type: Feature/Change Request
Package: *Mail Related
Operating System: Gentoo
PHP Version: 5.5.11
Block user comment: N
Private report: N
New Comment:
Well, since there is no dependency in PHP on an MTA, the fact that Gentoo has made sendmail a
dependency is their problem, not ours. There is simply nothing we can fix on our end since there is
no build-time dependency we can remove here. Absolutely nothing during the PHP build depends on
sendmail or any other MTA.
Previous Comments:
------------------------------------------------------------------------
[2014-04-29 08:30:34] cj dot wijtmans at gmail dot com
Gentoo has something called useflags that allow control over how the package is build. Auto
configured sendmail in this case is a nightmare to maintain. Right now the devs simply wont remove
the MTA hard dependency or replace it with a MTA use flag for that reason since turning on or off an
MTA useflag right now wont gaurentee control over how PHP is compiled with or without sendmail
support.
I hope you understand the issue at hand now.
------------------------------------------------------------------------
[2014-04-28 22:12:45] rasmus@php.net
Just set the sendmail_path ini to whatever you want. Set it to the empty string "" and
mail() will obviously not work or set it to whatever mail delivery mechanism you want. Either way,
there is no hard dependency on an MTA so the bug as stated is invalid.
------------------------------------------------------------------------
[2014-04-28 14:13:42] cj dot wijtmans at gmail dot com
there is no sendmail config flag as far as i know. valid bug.
------------------------------------------------------------------------
[2014-04-27 21:43:15] rasmus@php.net
This is a bug reporting system, not a support channel. But no, PHP has no dependency in any sort of
MTA.
------------------------------------------------------------------------
[2014-04-27 13:47:24] cj dot wijtmans at gmail dot com
Description:
------------
is mta a requirement or optional for building php?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67136&edit=1
Thread (6 messages)