MIF_E31222691/config
Rob Lister 68a0dbed64
[8.x] Add option to set sendmail path. Fix default (#5741)
* Add option to set sendmail path. Fix default

Testing this in an application, it would seem that sendmail -bs is the wrong option for this case?

What Laravel appears to do is pipe an RFC-2822 formatted message on STDIN and requires the sendmail emulation to deal with it,
rather than -bs which initiates an SMTP session.

if Exim is the default MTA then -t would seem to be the correct option.

If you have an alternative installed instead of sendmail/exim, then there's no way to set the path, so I added MAIL_SENDMAIL_PATH
so you can do, e.g.:

MAIL_SENDMAIL_PATH="/usr/bin/msmtp -t --tls=off --from=${MAIL_FROM_ADDRESS} --auto-from=off"

msmtp doesn't support -bs at all

* Update mail.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-06 08:24:41 -06:00
..
app.php add facade 2021-11-09 09:56:25 -06:00
auth.php [8.x] Sanctum (#5663) 2021-08-11 13:44:34 -05:00
broadcasting.php add "ably" in comment as a broadcast connection (#5531) 2021-02-06 18:35:22 -06:00
cache.php wip 2021-05-14 10:09:46 -05:00
cors.php add sanctum cookie endpoint to default cors paths 2020-11-10 14:18:52 -06:00
database.php Fix types consistency in database config (#5191) 2019-12-25 09:05:29 -06:00
filesystems.php update skeleton for filesystem tweaks to make sail usage easier 2021-05-18 17:01:26 -05:00
hashing.php Revert "According to PHP Bug 78516 Argon2 requires at least 8KB (#5097)" (#5102) 2019-09-11 14:10:18 +02:00
logging.php [8.x] Logs deprecations instead of treating them as exceptions (#5711) 2021-10-19 08:42:24 -05:00
mail.php [8.x] Add option to set sendmail path. Fix default (#5741) 2021-12-06 08:24:41 -06:00
queue.php Add missing 'after_commit' attribute (#5554) 2021-03-09 08:51:56 -06:00
sanctum.php Update sanctum.php (#5725) 2021-11-15 15:10:04 -06:00
services.php formatting 2019-08-14 09:19:31 -05:00
session.php [8.x] Fixed grammar mistake (#5611) 2021-05-17 08:15:26 -05:00
view.php remove config entry 2020-03-06 07:57:18 -06:00