Ben j'ai pareil :
koffee@koffee-X406UAR:~$ ls -al /usr/sbin/sendmail
lrwxrwxrwx 1 root root 12 nov. 28 2016 /usr/sbin/sendmail -> ../bin/msmtp
C'est à n'y rien comprendre... :/
Toujours est-il que ma fonction mail() ne fonctionne plus...
Et je viens de remarquer aussi que dans mon php.ini j'ai bien ça :
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost:1025
; http://php.net/smtp-port
smtp_port = 1025
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "sendmail -t -i"
Par contre, si je fais un phpinfo() j'ai ça :
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision -1 -1
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
Je devrais avoir au moins a ligne smtp_port : 1025 1025
Ou je me trompe?