Req #63891 [Ana->Sus]: Compile --without-sendmail
| From: | cmb@php.net | Date: | Tue, 13 Apr 2021 11:42:53 +0000 |
| Subject: | Req #63891 [Ana->Sus]: Compile --without-sendmail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-233385@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: cmb@php.net
Reported by: anthonyryan1 at gmail dot com
Summary: Compile --without-sendmail
-Status: Analyzed
+Status: Suspended
Type: Feature/Change Request
Package: Mail related
Operating System: Linux
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Apparently, this feature request didn't get much traction. If
you're still interested in this feature, please pursue the RFC
process[1]. For the time being, I suspend this ticket.
[1] <https://wiki.php.net/rfc/howto>
Previous Comments:
------------------------------------------------------------------------
[2013-10-25 00:55:50] anthonyryan1 at gmail dot com
I would like to remove mail() completely from PHP even if 'configure' detected
/usr/bin/sendmail.
------------------------------------------------------------------------
[2013-10-24 09:52:00] yohgaki@php.net
Opposite?
So you would like to remove mail() completely from PHP even if 'configure' detected
/usr/bin/sendmail? I thought you would like to build mail() regardless of sendmail binary existence.
It does not make sense to me.
------------------------------------------------------------------------
[2013-10-24 09:37:01] anthonyryan1 at gmail dot com
That is actually the exact opposite of what I'm proposing. I'm proposing for an additional
way to *disable* the use of sendmail within PHP. The end goal, as stated already is to improve
dependency management in various linux distributions that are trying to make MTA's optional.
------------------------------------------------------------------------
[2013-10-24 06:41:15] yohgaki@php.net
I think sendmail check should be removed and always build mail().
Isn't it enough display warning while executing ./configure?
------------------------------------------------------------------------
[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).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63891
--
Edit this bug report at https://bugs.php.net/bug.php?id=63891&edit=1