All'interno del php.ini trovo:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = "root@dominio.com"

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
Ora, ho un server linux e voglio impostare un server smtp esterno. Sembra che un utente windows deve porre semplicemente SMTP = smtp.dominio.com e basta. E io che sono utente linux e devo specificargli il path che ci scrivo?

Grazie per l'aiuto