Req #63891 [Opn]: Compile --without-sendmail
| From: | yohgaki@php.net | Date: | Thu, 24 Oct 2013 06:41:15 +0000 |
| Subject: | Req #63891 [Opn]: Compile --without-sendmail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-182424@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63891&edit=1
ID: 63891
Updated by: yohgaki@php.net
Reported by: anthonyryan1 at gmail dot com
Summary: Compile --without-sendmail
Status: Open
Type: Feature/Change Request
Package: Mail related
Operating System: Linux
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I think sendmail check should be removed and always build mail().
Isn't it enough display warning while executing ./configure?
Previous Comments:
------------------------------------------------------------------------
[2013-01-08 04:51:53] anthonyryan1 at gmail dot com
The use case is purely aimed at dependency cleanup in Linux distributions. Currently, when
installing PHP on virtually all distros a mail program must be installed with it to satisfy this
dependency.
An example: A source distribution such as Gentoo, could implement a compile flag to state whether or
not it will be compiled with mail support, passing this configuration option to PHP accordingly.
This would then reduce the number of packages that are required in order to achieve a minimal PHP
installation.
This is part of a larger personal effort. I've been filing bug reports and patches for a number
of programs that depend on a mail package when email isn't relevant to their core function. My
ultimate goal is to make it possible to have a Linux system without any mail program installed,
seeing as the vast majority of desktops and servers don't send mail themselves (usually handing
it through a dedicated mail server, or a 3rd party mail service).
------------------------------------------------------------------------
[2013-01-08 04:03:15] aharvey@php.net
What would be the use case for this that disable_functions=mail wouldn't solve?
------------------------------------------------------------------------
[2013-01-03 03:27:14] anthonyryan1 at gmail dot com
Description:
------------
I would like to put in a request for a configuration option that would prevent
PHP from using sendmail or other MTAs even if available.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63891&edit=1