Ja
Server-Betriebssystem + Version
Debian 11
Eingesetzte Server-Virtualisierung-Technologie
ProxMox KVM
KeyHelp-Version + Build-Nummer
24.0 (Build 3220)
Problembeschreibung / Fehlermeldungen
PHP5.6 CLI besitzt kein sendmail_path
Erwartetes Ergebnis
/opt/keyhelp/php/5.6/bin/php -i | grep sendmail_path
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
Tatsächliches Ergebnis
Code: Select all
/opt/keyhelp/php/5.6/bin/php -i | grep sendmail_path
sendmail_path => -t -i => -t -i
Schritte zur Reproduktion
Auf der Console eingeben:
Code: Select all
/opt/keyhelp/php/5.6/bin/php -i | grep sendmail_path
Ich bin darauf aufmerksam geworden, aweil immer mal wieder ein Shopware CronJob mir eine Email gesendet hat
Unter PHPInfo sieht das alles gut aus. Auch bei PHP7.1 ist das gleiche Problem. PHP 8.1 und 8.2 zeigen es dann richtig mit der CLI an./dev/null
sh: 1: -t: not found
[Zend_Mail_Transport_Exception]
Unable to send mail.
sw:cron:run [-f|--force] [--] [<cronjob>]
Muss ich irgendwas im Panel setzen was ich bis jetzt übersehen habe, oder ist es ein Problem der kompilierten PHP Version.
Gruß
Sascha