Skip to content

Commit

Permalink
Set default sendmail path
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Apr 2, 2024
1 parent a9041d2 commit 524d5dd
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 98 deletions.
2 changes: 1 addition & 1 deletion 8/templates/docker-php-8.1.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ phar.require_hash = {{ getenv "PHP_PHAR_REQUIRE_HASH" "1" }}
phar.cache_list = {{ getenv "PHP_PHAR_CACHE_LIST" "" }}

[mail function]
sendmail_path = {{ getenv "PHP_SENDMAIL_PATH" "/bin/true" }}
sendmail_path = "{{ getenv "PHP_SENDMAIL_PATH" "/usr/bin/dos2unix -u | /usr/bin/msmtp -t -i" }}"

[MySQLi]
mysqli.cache_size = {{ getenv "PHP_MYSQLI_CACHE_SIZE" "2000" }}
Expand Down
2 changes: 1 addition & 1 deletion 8/templates/docker-php-8.2.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ phar.require_hash = {{ getenv "PHP_PHAR_REQUIRE_HASH" "1" }}
phar.cache_list = {{ getenv "PHP_PHAR_CACHE_LIST" "" }}

[mail function]
sendmail_path = {{ getenv "PHP_SENDMAIL_PATH" "/bin/true" }}
sendmail_path = {{ getenv "PHP_SENDMAIL_PATH" "/usr/bin/msmtp -t -i" }}
mail.mixed_lf_and_crlf = {{ getenv "PHP_MAIL_MIXED_LF_AND_CRLF" "Off" }}

[MySQLi]
Expand Down
2 changes: 1 addition & 1 deletion 8/templates/docker-php-8.3.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ phar.require_hash = {{ getenv "PHP_PHAR_REQUIRE_HASH" "1" }}
phar.cache_list = {{ getenv "PHP_PHAR_CACHE_LIST" "" }}

[mail function]
sendmail_path = {{ getenv "PHP_SENDMAIL_PATH" "/bin/true" }}
sendmail_path = {{ getenv "PHP_SENDMAIL_PATH" "/usr/bin/msmtp -t -i" }}
mail.mixed_lf_and_crlf = {{ getenv "PHP_MAIL_MIXED_LF_AND_CRLF" "Off" }}

[MySQLi]
Expand Down
Loading

0 comments on commit 524d5dd

Please sign in to comment.